On 7/7/2010 12:54 PM, Samuel Larsen wrote:
> 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.

If your driver isn't stoppable, both SCM and InstallHinfSection will 
mark the driver as pending deleted and remove it during the next boot. 
You should prompt for a reboot at the end of an uninstall. You can use 
the WcaUtil functions WcaDeferredActionRequiresReboot and 
WcaDidDeferredActionRequireReboot to create and check for an atom to 
block install.

-- 
sig://boB
http://joyofsetup.com/


------------------------------------------------------------------------------
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

Reply via email to