Re: [WiX-users] Problem calling .cmd file using CA
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 > > > > > ExeCommand="[INSTALLDIR]InstallService.cmd" BinaryKey="InstallService"/> > Execute="immediate" > ExeCommand="[INSTALLDIR]DeleteService.cmd" BinaryKey="DeleteService"/> > > > > > > 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/vse012070mrt/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/vse012070mrt/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/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Problem calling .cmd file using CA
Anidil wrote: > ExeCommand="[INSTALLDIR]InstallService.cmd" BinaryKey="InstallService"/> > ExeCommand="[INSTALLDIR]DeleteService.cmd" BinaryKey="DeleteService"/> > Services should be installed using the ServiceInstall element, not batch files. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Problem calling .cmd file using CA
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 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/vse012070mrt/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/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[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 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-tp15329805p15329805.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/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users