Re: [WiX-users] Install Sequence

2007-02-05 Thread Dana Gutride
cutable. I've tried c++ and VB scripts but they won't work properly for what I need. -- *From:* Dana Gutride [mailto:[EMAIL PROTECTED] *Sent:* Monday, February 05, 2007 3:43 PM *To:* Ian Couper; wix-users@lists.sourceforge.net *Subject:* Re: [WiX-users] Install

Re: [WiX-users] Install Sequence

2007-02-05 Thread Ian Couper
custom build C# application... From: Dana Gutride [mailto:[EMAIL PROTECTED] Sent: Monday, February 05, 2007 2:33 PM To: Ian Couper; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Install Sequence If it's a c++ custom action, return ERROR_INSTALL_FAILURE instead of ERROR_SUCCESS

Re: [WiX-users] Install Sequence

2007-02-05 Thread Dana Gutride
TECTED] *Sent:* Monday, February 05, 2007 2:33 PM *To:* Ian Couper; wix-users@lists.sourceforge.net *Subject:* Re: [WiX-users] Install Sequence If it's a c++ custom action, return ERROR_INSTALL_FAILURE instead of ERROR_SUCCESS. If it's a script-based action, returning 3 instead of 0 wi

Re: [WiX-users] Install Sequence

2007-02-05 Thread Ian Couper
The custom action is actually running a custom build C# application... From: Dana Gutride [mailto:[EMAIL PROTECTED] Sent: Monday, February 05, 2007 2:33 PM To: Ian Couper; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Install Sequence If it

Re: [WiX-users] Install Sequence

2007-02-05 Thread Dana Gutride
If it's a c++ custom action, return ERROR_INSTALL_FAILURE instead of ERROR_SUCCESS. If it's a script-based action, returning 3 instead of 0 will have the same result. In your WiX files, make sure you have set the custom action to check it's return code instead of ignoring it. Take a look at thi

Re: [WiX-users] Install Sequence

2007-02-05 Thread Ian Couper
Dana, Yes that would be easier to have the custom action exit with a failure. How do you accomplish that? Specifically having it receive a value from the script and triggering the rollback based on that response. Ian. PS. Could you reply to me directly as well as to the Mailing list? Ma

Re: [WiX-users] Install Sequence

2007-02-05 Thread Dana Gutride
At that point during the install, any file searches have already completed. You'd have to write a second custom action to search for the file, schedule it to run after the first one and then return an error triggering rollback if it finds it. Wouldn't it be easier to just have the first custom ac

[WiX-users] Install Sequence

2007-02-05 Thread Ian Couper
Someone else posted something along these lines a few days ago but didn't get any response, so I thought I'd post again... I've got a script that I trigger to run during my install and I'd like to have the MSI check if there was a file created by that script. If the file exists I'd like it to t