summaryrefslogtreecommitdiff
path: root/network/trans/WFPSampler/sys/WFPSamplerCalloutDriver.InX
diff options
context:
space:
mode:
Diffstat (limited to 'network/trans/WFPSampler/sys/WFPSamplerCalloutDriver.InX')
-rw-r--r--network/trans/WFPSampler/sys/WFPSamplerCalloutDriver.InX20
1 files changed, 16 insertions, 4 deletions
diff --git a/network/trans/WFPSampler/sys/WFPSamplerCalloutDriver.InX b/network/trans/WFPSampler/sys/WFPSamplerCalloutDriver.InX
index bb55b7ad..c6aad050 100644
--- a/network/trans/WFPSampler/sys/WFPSamplerCalloutDriver.InX
+++ b/network/trans/WFPSampler/sys/WFPSamplerCalloutDriver.InX
@@ -37,15 +37,24 @@
AddReg = WFPCalloutsClassReg
[DestinationDirs]
- WFPSamplerCalloutDriver.DriverFiles = 13 ;/// %WinDir%\System32\Drivers
+ WFPSamplerCalloutDriver.CopyFiles = 12 ;/// %WinDir%\System32\Drivers
+ WFPSamplerCalloutDriver.DelFiles = 12 ;/// %WinDir%\System32\Drivers
[DefaultInstall.nt$ARCH$]
OptionDesc = %WFPSamplerCalloutDriverDescription%
- CopyFiles = WFPSamplerCalloutDriver.DriverFiles
+ CopyFiles = WFPSamplerCalloutDriver.CopyFiles
[DefaultInstall.nt$ARCH$.Services]
AddService = %WFPSamplerCalloutDriverServiceName%,,WFPSamplerCalloutDriver.Service
+[DefaultUninstall.nt$ARCH$]
+ LegacyUninstall = 1
+ DelFiles = WFPSamplerCalloutDriver.DelFiles
+ DelReg = WFPCalloutsClassReg
+
+[DefaultUninstall.nt$ARCH$.Services]
+ DelService = %WFPSamplerCalloutDriverServiceName%,0x200 ;/// SPSVCINST_STOPSERVICE
+
[WFPCalloutsClassReg]
HKR,,,0
HKR,,Icon,,
@@ -53,16 +62,19 @@
HKR,,DeviceCharacteristics,0x10001,0x100 ;/// FLG_ADDREG_BINVALUETYPE | FLG_ADDREG_TYPE_MULTI_SZ, FILE_DEVICE_SECURE_OPEN
HKR,,Security,, ;/// Permit Generic All access to SYstem, Built-in Admin, and Local System.
-[WFPSamplerCalloutDriver.DriverFiles]
+[WFPSamplerCalloutDriver.CopyFiles]
WFPSamplerCalloutDriver.sys,,,0x00000040 ;/// COPYFLG_OVERWRITE_OLDER_ONLY
+[WFPSamplerCalloutDriver.DelFiles]
+ WFPSamplerCalloutDriver.sys
+
[WFPSamplerCalloutDriver.Service]
DisplayName = %WFPSamplerCalloutDriverServiceName%
Description = %WFPSamplerCalloutDriverServiceDescription%
ServiceType = 1 ;/// SERVICE_KERNEL_DRIVER
StartType = 0 ;/// SERVICE_BOOT_START
ErrorControl = 1 ;/// SERVICE_ERROR_NORMAL
- ServiceBinary = %13%\WFPSamplerCalloutDriver.sys ;/// %WinDir%\System32\Drivers\WFPSamplerCalloutDriver.sys
+ ServiceBinary = %12%\WFPSamplerCalloutDriver.sys ;/// %WinDir%\System32\Drivers\WFPSamplerCalloutDriver.sys
LoadOrderGroup = NDIS ;/// Load immediately after TCPIP.sys
Dependencies = TCPIP