; Copyright (C) Microsoft Corporation. All rights reserved.


[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4d36e97d-e325-11ce-bfc1-08002be10318}
Provider=%MSFT%
CatalogFile=RoutePolicy.cat
DriverVer = 06/21/2006,10.0.22621.2506
PnpLockdown=1

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
RoutePolicy.sys = 3426

[DestinationDirs]
DefaultDestDir = 12 ; Windows\System32\Drivers

[ControlFlags]
ExcludeFromSelect=*

;***********************************************
; Route Policy driver Install Section
;***********************************************

[Manufacturer]
%MSFT%=Microsoft,NTamd64

[Microsoft.NTamd64]
%RoutePolicy.DeviceDesc%=RoutePolicy_Inst,Root\RoutePolicy

[RoutePolicy_Inst.NT]
Copyfiles = RoutePolicyCopyFiles

[RoutePolicy_Inst.NT.HW]
AddReg = RoutePolicySecurityAddReg

[RoutePolicyCopyFiles]
RoutePolicy.sys

[RoutePolicySecurityAddReg]
HKR,,DeviceCharacteristics,0x10001,0x100 

;-------------- Service installation
[RoutePolicy_Inst.NT.Services]
AddService = RoutePolicy,%SPSVCINST_ASSOCSERVICE%,RoutePolicy_Service_Inst

[RoutePolicy_Service_Inst]
DisplayName    = %RoutePolicy.SvcDesc%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\RoutePolicy.sys

;Security descriptor allows System, Administrators, and wcmsvc all rights. Refer to MSDN for details of SDDL syntax
Security       = "D:P(A;;GA;;;BA)(A;;GA;;;SY)(A;;GA;;;S-1-5-80-4155767994-3874329934-3800885181-2130851812-726865888)"

[Strings]
;Localizable Strings
MSFT                   = "Microsoft"
RoutePolicy.SvcDesc    = "Microsoft Route Policy Service"
RoutePolicy.DeviceDesc = "Route Policy Driver"

;Non-Localizable Strings
SPSVCINST_TAGTOFRONT   = 0x00000003
SPSVCINST_ASSOCSERVICE = 0x00000002
SERVICE_KERNEL_DRIVER  = 1
SERVICE_BOOT_START     = 0
SERVICE_SYSTEM_START   = 1
SERVICE_DEMAND_START   = 3
SERVICE_AUTO_START     = 2
SERVICE_ERROR_NORMAL   = 1
SERVICE_ERROR_IGNORE   = 0
SERVICE_ERROR_CRITICAL = 3
REG_EXPAND_SZ          = 0x00020000
REG_DWORD              = 0x00010001
REG_SZ                 = 0x00000000
