I've had to deal with this in the past. DIFX just unloads the driver from the 
device. DIF_REMOVE is only called when removing the entire device as happens in 
device manager when using the Remove option. I got around this with a CA that 
sent the DIF_REMOVE directly to the device class using the SetupDI* API's.

If the OS does not contain a driver for the device in-box then it usually gets 
moved the "Unknown devices" in device manager so appears to be a complete 
install. It's usually fine unless you've got code that must run during 
uninstall.


JohnG



-----Original Message-----
From: shane_cor...@selinc.com [mailto:shane_cor...@selinc.com] 
Sent: Thursday, June 20, 2013 5:35 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Uninstall does not uninstall my driver package

I'm using difx to install a handful of drivers in a single msi.  The 
installation works great.  However, when I uninstall the msi it appears to only 
remove my driver package and not issue a proper uninstall.  I can tell because 
my class installer that complements my driver is not getting called with a 
DIF_REMOVE install function the same way it does when I right-click on the 
device in device manager and uninstall.  What do I need to do in order to get 
my driver packages to actually uninstall rather than simply remove?
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to