Hi everybody! I spent few hours to find anything but didn't succeed. I have .NET application installing/uninstalling driver. This application can return result meaning the system should be (or should not be) restarted. I want to use this exit code (a file? registry entry?) to schedule reboot. How can this be done? May be some work around like creating a file signaling to reboot?
Here is my current script: <InstallExecuteSequence> ... <Custom Action="InstallDriver" After="InstallFiles">Not Installed</Custom> <Custom Action="UninstallDriver" After="InstallInitialize">Installed</Custom> <ScheduleReboot Sequence="5" /> </InstallExecuteSequence> <CustomAction Id="InstallDriver" FileKey="DriverSetupHelper.exe" ExeCommand="/command:install" Impersonate="no" Execute="deferred" Return="check" /> <CustomAction Id="UninstallDriver" FileKey="DriverSetupHelper.exe" ExeCommand="/command:uninstall" Impersonate="no" Execute="deferred" Return="check" /> Thanks in advance! Taras -- View this message in context: http://n2.nabble.com/Reboot-based-on-application-exit-code--tp2606748p2606748.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users