Hi, Does the driver uninstall put an entry into PendingFileRenameOperations in the registry? http://technet.microsoft.com/en-us/library/cc960241.aspx
If so you could check this key is clean before running the install, I have implmemented this in the past. Dave -----Original Message----- From: Samuel Larsen [mailto:slar...@vmware.com] Sent: 07 July 2010 17:55 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Require reboot before re-installation Could someone suggest a method for forcing a reboot after an uninstall before another install is permitted? I have the following problem: My installer installs a device driver. An uninstall correctly removes the driver from the filesystem. If I re-install before rebooting, the re-installation seems to go smoothly and the driver is re-installed. On the next reboot, however, it looks like the driver is removed from the filesystem, which ultimately causes a crash. I don't understand the mechanism for this deletion. It seems that the uninstall marks the file for delete on the next boot and this 'flag' is not cleared when the file is replaced during the installation. One workaround would be to prevent re-installation after uninstall until there is a reboot. Can anyone offer any advice? thanks, - Sam ------------------------------------------------------------------------ ------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users </pre> <BR style="font-size:4px;"> <a href = "http://www.sdl.com"><img src="http://www.sdl.com/images/email logo_150dpi-01.png" alt="www.sdl.com" border="0"/></a> <BR> <font face="arial" size="2" "><a href = "http://www.sdl.com" style="color:005740; font-weight: bold">www.sdl.com</a> <BR> <BR> <font face="arial" size="1" color="#736F6E"> <b>SDL PLC confidential, all rights reserved.</b> If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us.<BR> SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207.<BR> Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. </font> ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users