-
Notifications
You must be signed in to change notification settings - Fork 1
/
KryptoGuard.inf_old
87 lines (67 loc) · 2.31 KB
/
KryptoGuard.inf_old
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
;
; KryptoGuard.inf
;
[Version]
Signature="$WINDOWS NT$"
Class=Sample ; TODO: edit Class
ClassGuid={78A1C341-4539-11d3-B88D-00C04FAD5171} ; TODO: edit ClassGuid
Provider=%ManufacturerName%
CatalogFile=KryptoGuard.cat
DriverVer= ; TODO: set DriverVer in stampinf property pages
PnpLockDown=1
[DestinationDirs]
DefaultDestDir = 12
KryptoGuard_Device_CoInstaller_CopyFiles = 11
; ================= Class section =====================
[ClassInstall32]
Addreg=SampleClassReg
[SampleClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,-5
[SourceDisksNames]
1 = %DiskName%,,,""
[SourceDisksFiles]
KryptoGuard.sys = 1,,
WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll=1 ; make sure the number matches with SourceDisksNames
;*****************************************
; Install Section
;*****************************************
[Manufacturer]
%ManufacturerName%=Standard,NT$ARCH$
[Standard.NT$ARCH$]
%KryptoGuard.DeviceDesc%=KryptoGuard_Device, Root\KryptoGuard ; TODO: edit hw-id
[KryptoGuard_Device.NT]
CopyFiles=Drivers_Dir
[Drivers_Dir]
KryptoGuard.sys
;-------------- Service installation
[KryptoGuard_Device.NT.Services]
AddService = KryptoGuard,%SPSVCINST_ASSOCSERVICE%, KryptoGuard_Service_Inst
; -------------- KryptoGuard driver install sections
[KryptoGuard_Service_Inst]
DisplayName = %KryptoGuard.SVCDESC%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\KryptoGuard.sys
;
;--- KryptoGuard_Device Coinstaller installation ------
;
[KryptoGuard_Device.NT.CoInstallers]
AddReg=KryptoGuard_Device_CoInstaller_AddReg
CopyFiles=KryptoGuard_Device_CoInstaller_CopyFiles
[KryptoGuard_Device_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll,WdfCoInstaller"
[KryptoGuard_Device_CoInstaller_CopyFiles]
WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll
[KryptoGuard_Device.NT.Wdf]
KmdfService = KryptoGuard, KryptoGuard_wdfsect
[KryptoGuard_wdfsect]
KmdfLibraryVersion = $KMDFVERSION$
[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
ManufacturerName="Kryptonia" ;TODO: Replace with your manufacturer name
ClassName="Samples" ; TODO: edit ClassName
DiskName = "KryptoGuard Installation Disk"
KryptoGuard.DeviceDesc = "KryptoGuard Device"
KryptoGuard.SVCDESC = "KryptoGuard Service"