[1EBC:1AD4][2013-06-26T17:18:24]i001: Burn v3.7.1224.0, Windows v6.1 (Build 7601: Service Pack 1), path: C:\Code\_swankmptfs1\Media Player\MAIN\Dmp.Setup.Bootstrapper\bin\Debug\Dmp.Setup.Bootstrapper.exe, cmdline: '' [1EBC:1AD4][2013-06-26T17:18:24]e000: Error 0x80070057: Failed to parse @Code value: -2 [1EBC:1AD4][2013-06-26T17:18:24]e000: Error 0x80070057: Failed to parse EXE package. [1EBC:1AD4][2013-06-26T17:18:24]e000: Error 0x80070057: Failed to parse packages. [1EBC:1AD4][2013-06-26T17:18:24]e000: Error 0x80070057: Failed to load manifest. [1EBC:1AD4][2013-06-26T17:18:24]e000: Error 0x80070057: Failed to initialize core.
________________________________ From: Rob Mensching <r...@robmensching.com> To: Steve Merckel <ssm1...@yahoo.com>; General discussion for Windows Installer XML toolset. <wix-users@lists.sourceforge.net> Sent: Wednesday, June 26, 2013 4:45 PM Subject: Re: [WiX-users] Handling Possible ExitCodes in ExePackage I think a log file would be necessary: https://support.firegiant.com/entries/24024218-Create-a-log-file- On Wed, Jun 26, 2013 at 11:23 AM, Steve Merckel <ssm1...@yahoo.com> wrote: 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 > > ------------------------------------------------------------------------------ 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