appreciate the help.What is the best way to schedule the .exe to run as part of windows startup?
Schrieken, Rene wrote: > > It fails because the Custom action expects the InstallService.cmd to be > an executable (it tries to call CreateProcess ) > > See http://wix.mindcapers.com/wiki/Category:Custom_Actions > > In the section "Relevant Examples" : Call a CMD Example > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Anidil > Sent: donderdag 7 februari 2008 10:06 > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Problem calling .cmd file using CA > > > While runnig the MSI, I get an error saying "..A Program required for > this > install to complete could not be run..." > > Here is the code snip of the CA > > <Binary Id="InstallService" src="InstallService.cmd"/> > <Binary Id="DeleteService" src="DeleteService.cmd"/> > > <CustomAction Id="InstallScript" Return="check" Execute="immediate" > ExeCommand="[INSTALLDIR]InstallService.cmd" BinaryKey="InstallService"/> > <CustomAction Id="UninstallScript" Return="check" > Execute="immediate" > ExeCommand="[INSTALLDIR]DeleteService.cmd" BinaryKey="DeleteService"/> > > <InstallExecuteSequence/> > <Custom Action='InstallScript' Sequence='7000'/> > <InstallExecuteSequence/> > > Can anybody give me some insight on what is going wrong here? > -- > View this message in context: > http://www.nabble.com/Problem-calling-.cmd-file-using-CA-tp15329805p1532 > 9805.html > Sent from the wix-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------ > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > This e-mail and any attachment is for authorised use by the intended > recipient(s) only. It may contain proprietary material, confidential > information and/or be subject to legal privilege. It should not be copied, > disclosed to, retained or used by, any other party. If you are not an > intended recipient then please promptly delete this e-mail and any > attachment and all copies and inform the sender. Thank you. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- View this message in context: http://www.nabble.com/Problem-calling-.cmd-file-using-CA-tp15329805p15539835.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users