-
Notifications
You must be signed in to change notification settings - Fork 0
/
sov.inf
94 lines (76 loc) · 2.46 KB
/
sov.inf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
;
; sov.inf
; This install file doesnt seem to always work. I install it with System
; Informer instead, for my tests.
;
[Version]
Signature="$WINDOWS NT$"
Class=System ; TODO: specify appropriate Class
ClassGuid={4d36e97d-e325-11ce-bfc1-08002be10318} ; TODO: specify appropriate ClassGuid
Provider=%ManufacturerName%
CatalogFile=sov.cat
DriverVer= ; TODO: set DriverVer in stampinf property pages
PnpLockdown=1
[DestinationDirs]
DefaultDestDir = 12
sov_Device_CoInstaller_CopyFiles = 11
[SourceDisksNames]
1 = %DiskName%,,,""
[SourceDisksFiles]
sov.sys = 1,,
WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll=1 ; make sure the number matches with SourceDisksNames
;*****************************************
; Install Section
;*****************************************
[Manufacturer]
%ManufacturerName%=Standard,NT$ARCH$
[Standard.NT$ARCH$]
%sov.DeviceDesc%=sov_Device, Root\sov ; TODO: edit hw-id
[sov_Device.NT]
CopyFiles=Drivers_Dir
[Drivers_Dir]
sov.sys
;-------------- Service installation
[sov_Device.NT.Services]
AddService = sov,%SPSVCINST_ASSOCSERVICE%, sov_Service_Inst
; -------------- sov driver install sections
[sov_Service_Inst]
DisplayName = %sov.SVCDESC%
ServiceType = %SERVICE_KERNEL_DRIVER%
StartType = %SERVICE_SYSTEM_START%
ErrorControl = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\sov.sys
;
;--- sov_Device Coinstaller installation ------
;
[sov_Device.NT.CoInstallers]
AddReg=sov_Device_CoInstaller_AddReg
CopyFiles=sov_Device_CoInstaller_CopyFiles
[sov_Device_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll,WdfCoInstaller"
[sov_Device_CoInstaller_CopyFiles]
WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll
[sov_Device.NT.Wdf]
KmdfService = sov, sov_wdfsect
[sov_wdfsect]
KmdfLibraryVersion = $KMDFVERSION$
[Strings]
; These names/descriptions are from a long chain of word associations and
; inside jokes. Sorry that its kind of incomprehensible :)
ManufacturerName="bluesov throngler dev team"
sov.DeviceDesc = "N/A"
sov.SVCDESC = "sov"
DiskName = "disk"
; non-localizable
SPSVCINST_TAGTOFRONT = 0x00000001
SPSVCINST_ASSOCSERVICE= 0x00000002
SERVICE_KERNEL_DRIVER = 1
SERVICE_BOOT_START = 0
SERVICE_SYSTEM_START = 1
SERVICE_AUTO_START = 2
SERVICE_DEMAND_START = 3
SERVICE_ERROR_NORMAL = 1
SERVICE_ERROR_IGNORE = 0
REG_EXPAND_SZ = 0x00020000
REG_DWORD = 0x00010001
REG_SZ = 0x00000000