This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- DIFxDriverPackageUninstall leaves trace in the registry
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 06, 2011
08:26 AM
DIFxDriverPackageUninstall leaves trace in the registry
Installscript Project
We have an application that install a number of drivers using DIFxDriverPackageInstall and DIFxDriverPackagePreInstall, this works fine.
The problem arises when we uninstall the drivers, for this we use DIFxDriverPackageUninstall: there are traces left in the registry.
Ex:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceClasses\{50dd5230-ba8a-11d1-bf5d-0000f805f530}\##?#....
When we uninstall the drivers manually from the device manager these registry values are removed.
So now to my question: Is this a known limitation of InstallShield or are there something wrong with our installscript code or inf files?
We have an application that install a number of drivers using DIFxDriverPackageInstall and DIFxDriverPackagePreInstall, this works fine.
The problem arises when we uninstall the drivers, for this we use DIFxDriverPackageUninstall: there are traces left in the registry.
Ex:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceClasses\{50dd5230-ba8a-11d1-bf5d-0000f805f530}\##?#....
When we uninstall the drivers manually from the device manager these registry values are removed.
So now to my question: Is this a known limitation of InstallShield or are there something wrong with our installscript code or inf files?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 06, 2011
12:13 PM
Hi There,
By 'Uninstalling Manually', how are you accomplishing this? DifXApp.exe?
DifX API's are what InstallShield consumes to handle this, which is based on Microsoft libraries (in this case, I think it's the DriverPackageUninstall() function: http://msdn.microsoft.com/en-us/library/windows/hardware/ff544822(v=vs.85).aspx).
If you've got a method that works better, there's probably some way to invoke that in installscript code. I suspect it will boil down to a function in SetupApi.dll:
http://msdn.microsoft.com/en-us/library/aa377446(v=VS.85).aspx
By 'Uninstalling Manually', how are you accomplishing this? DifXApp.exe?
DifX API's are what InstallShield consumes to handle this, which is based on Microsoft libraries (in this case, I think it's the DriverPackageUninstall() function: http://msdn.microsoft.com/en-us/library/windows/hardware/ff544822(v=vs.85).aspx).
If you've got a method that works better, there's probably some way to invoke that in installscript code. I suspect it will boil down to a function in SetupApi.dll:
http://msdn.microsoft.com/en-us/library/aa377446(v=VS.85).aspx