R
Robert Stankey
All,
I've created an INF file where I've defined a [DefaultUninstall]
section as follows:
; ===================================================================================
; Uninstall Section
; ===================================================================================
[DefaultUninstall]
DelReg = MyDriverUninstallDriverDelReg
DelFiles = MyDriver.DelFiles
[DefaultUninstall.Services]
DelService = mydriver
[MyDriverUninstallDriverDelReg]
HKLM, System\CurrentControlSet\Control\Class\{4D36E97B-E325-11CE-BFC1-08002BE10318},
UpperFilters, %REG_MULTI_SZ_DELETE%, mydriver
[MyDriver.DelFiles]
mydriver.sys,,,
When my driver is removed my installation/removal program calls
SetupInstallFromInfSection(), specifying the [DefaultUninstall]
section, and everything works beautifully on both W2K and WinNet --
except HCT's infChecker doesn't like it because the [DefaultUninstall]
section is not referenced anywhere (argh!!!).
So, does anyone have advice on whether I can create some kind of dummy
reference in a section that won't get called by the installation
process yet allow this to pass.
Regards,
Bob
I've created an INF file where I've defined a [DefaultUninstall]
section as follows:
; ===================================================================================
; Uninstall Section
; ===================================================================================
[DefaultUninstall]
DelReg = MyDriverUninstallDriverDelReg
DelFiles = MyDriver.DelFiles
[DefaultUninstall.Services]
DelService = mydriver
[MyDriverUninstallDriverDelReg]
HKLM, System\CurrentControlSet\Control\Class\{4D36E97B-E325-11CE-BFC1-08002BE10318},
UpperFilters, %REG_MULTI_SZ_DELETE%, mydriver
[MyDriver.DelFiles]
mydriver.sys,,,
When my driver is removed my installation/removal program calls
SetupInstallFromInfSection(), specifying the [DefaultUninstall]
section, and everything works beautifully on both W2K and WinNet --
except HCT's infChecker doesn't like it because the [DefaultUninstall]
section is not referenced anywhere (argh!!!).
So, does anyone have advice on whether I can create some kind of dummy
reference in a section that won't get called by the installation
process yet allow this to pass.
Regards,
Bob