Re: [WiX-users] Response to error in CustomAction

2008-08-15 Thread Bob Arnson
Костиков Александр wrote: > But DIFxAPP extension is executed after InstallFinalize and my custom action > needs to be executed after DIFxAPP. > So there is no way to rollback? > No, the transaction is committed during InstallFinalize. See http://msdn.microsoft.com/en-us/library/aa369505(VS.85

Re: [WiX-users] Response to error in CustomAction

2008-08-15 Thread Костиков Александр
. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson Sent: Thursday, August 14, 2008 7:16 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Response to error in CustomAction Костиков Александр wrote: > My CustomAction

Re: [WiX-users] Response to error in CustomAction

2008-08-14 Thread Bob Arnson
Костиков Александр wrote: > My CustomAction is executed after InstallFinalize. > Desired behavior - installer rolls back. > After InstallFinalize, the setup transaction is committed, so rollback isn't possible. You need deferred and rollback CA pairs before InstallFinalize to get the rollback

Re: [WiX-users] Response to error in CustomAction

2008-08-14 Thread Костиков Александр
] Response to error in CustomAction How to cancel installation based on custom action return value? I thought returning ERROR_INSTALL_FAILURE from my custom action would be enough but installer ignores it and continues to install

[WiX-users] Response to error in CustomAction

2008-08-14 Thread Костиков Александр
How to cancel installation based on custom action return value? I thought returning ERROR_INSTALL_FAILURE from my custom action would be enough but installer ignores it and continues to install. - This SF.Net email is spon