I have an ExePackage defined, which can output a few different exit codes. What I would like to have happen, is to prompt for restart at the end of the bootstrapper's chain if a specific exit code was returned.
<ExePackage SourceFile="$(var.MyProject.TargetPath)" DisplayName="MyCustomDotNetExe" InstallCommand="true" Description="DescriptionGoesHere"> <ExitCode Value="-2" Behavior="error" /> <ExitCode Value="-1" Behavior="error" /> <ExitCode Value="0" Behavior="success" /> <ExitCode Value="1" Behavior="scheduleReboot" /> </ExePackage> Including the ExitCode nodes in the above package builds a Setup.EXE file that does not run. My goal is to have the bootstrapper consider that the ExePackage was run successfully if "0" or "1" is returned, but also schedule a reboot if "1" was returned. Thoughts? ------------------------------------------------------------------------------ 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