Forgot to mention that my custom actions are "deferred" and "check":
<CustomAction Id="InstallDreamWorld" Directory="DreamWorld" ExeCommand="setup.exe /install" Execute="deferred" Return="check"/> <CustomAction Id="UninstallDreamWorld" Directory="DreamWorld" ExeCommand="setup.exe /uninstall" Execute="deferred" Return="check"/> <CustomAction Id="InstallDreamUniverse" Directory="DreamUniverse" ExeCommand="setup.exe /install" Execute="deferred" Return="check"/> <CustomAction Id="UninstallDreamUniverse" Directory="DreamUniverse" ExeCommand="setup.exe /uninstall" Execute="deferred" Return="check"/> ----- Original Message ---- From: "Bisht, Pradeep" <pradeep_bi...@yahoo.com> To: wix-users@lists.sourceforge.net Sent: Thu, August 5, 2010 11:53:21 AM Subject: [WiX-users] reboot prompt appears before uninstall on Vista I have a set of custom actions and reboot scheduled at the end for both install and uninstall in non-silent mode. It works fine for install on all windows platform. Uninstall from Add/Remove program also works fine on all but Vista. On Vista "reboot" prompt pops even before the uninstall is actually complete (progress bar is still in progress). If I chose to click on "yes" I see problems on next boot. But if I click on "no" and wait for sometime before manually rebooting the system all is fine on next boot. Following is my WIX code. Ang suggestions what might me wrong ? Thank you. <InstallExecuteSequence> <!-- install --> <Custom Action="InstallDreamWorld" After="InstallFiles"> (NOT Installed) </Custom> <Custom Action="InstallDreamUniverse" After="InstallDreamWorld"> NOT Installed </Custom> <!-- uninstall --> <Custom Action="UninstallDreamUniverse" Before="UninstallDreamWorld"> Installed AND (REMOVE="ALL") AND (NOT UPGRADINGCODE) </Custom> <Custom Action="UninstallDreamWorld" Before="RemoveFiles"> Installed AND (REMOVE="ALL") AND (NOT UPGRADINGCODE) </Custom> <!-- schedule reboot in non-silent mode only --> <ScheduleReboot After="InstallFinalize"> <![CDATA[UILevel <> 2]]> </ScheduleReboot> </InstallExecuteSequence> ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users