Thanks this helps. Any additional insights on what Execute="deferred" really
means. The wix doc's provide the following details which I'm not sure how to
interpret and given I'm using the provided CAQuietExec I understand I have to
use Execute="deferred" InstallExecuteSequence settings.
deferred
Indicates that the custom action runs in-script (possibly with elevated
privileges).
Interpreting your earlier response it sounds like the provided CAQuietExec can
also be safely used with Execute="rollback" InstallExecuteSequence setting
correct?
From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 27, 2008 4:23 PM
To: Robert O'Brien
Cc: 'wix-users@lists.sourceforge.net'
Subject: Re: [WiX-users] custom action condition to cover both rollback and
uninstall
Robert O'Brien wrote:
I have the following custom action condition in place intended to cover both
rollback and uninstall scenarios because its looking for the state of the
databases feature and database1 component to be installed and for the action of
the databases feature and database1 component to be remove in which case the
custom action should fire. Currently it appears to only fire during
uninstalls. Am I overlooking something about custom action condition settings
necessary to cover running desired uninstall steps during rollback scenarios?
Only custom actions with Execute="rollback" will be considered for rollback
execution. It's common, at least in C++ like the WiX CAs, to have the rollback
CA be the same function and smart enough to do the right things depending on
how it's being called. But it still requires a second CA with
Execute="rollback" to work.
--
sig://boB
http://joyofsetup.com/
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users