But DIFxAPP extension is executed after InstallFinalize and my custom action
needs to be executed after DIFxAPP.
So there is no way to rollback?
May be custom action can set some MSI property that is analyzed afterwards
in some condition tag?
Or maybe there is a way to make a manual rollback inside custom action with
some API call?

The situation is: service creation that performs DIFxAPP must be enclosed
with WdfPreInstallDevice and WdfPostInstallDevice calls of WdfCoInstaller. 
If error in WdfCoInstaller accrues the service is not installed and after
reboot bad things happen.


-----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 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 CA to execute.

-- 
sig://boB
http://joyofsetup.com/



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to