Hi
During uninstall I need to remove the service key from registry for my driver.
I tried below and other combinations of DelService/DelReg, but my service key in registry stays put.
Below is my inf (relevant sections).
Let me know how to use those keys or achieve above
Thx
…
…
[SourceDisksFiles]
MyDrv.sys = 1,
[DestinationDirs]
DefaultDestDir = 12 ; DIRID_DRIVERS
;-------------------------------------------------------------------------
; Ndi installation support
;-------------------------------------------------------------------------
[Install.Ndi]
HKR, Ndi, Service, “MyDrv”
HKR, Ndi, HelpText, %MyDrv_Desc%
HKR, Ndi\Interfaces, “UpperRange”, noupper
HKR, “Ndi\Interfaces”, “LowerRange”, “ndis5,ndis6”
HKR, Ndi, ClsID, {9C38842E-F63A-426b-A707-40DC9EEEA178}
;-------------------------------------------------------------------------
; Service installation support
;-------------------------------------------------------------------------
[Install_2k8x64.Services]
AddService=MyDrv,Install_2k8x64.Service
[Install_2k8x64.Service]
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
ServiceBinary = %12%\MyDrv.sys
Description = %MyDrv_Desc%
DisplayName = %MyDrv_DisplayName%
;========================================
; MyDrv Interface and Service Remove
;========================================
[Install_2k8x64.Remove]
DelReg=Install.Remove.DelReg
;
[Install.Remove.DelReg]
HKLM,System\CurrentControlSet\Services\MyDrv
;
[Install_2k8x64.Remove.Services]
DelService=MyDrv
[Strings]