Re: [WiX-users] Rollback and uninstall sequences...

2009-11-14 Thread Bob Arnson
Blair wrote: > The idea being that since remove is the opposite of install, and the > rollback does the opposite of whatever transaction you were running, then > you write the minimal amount of custom action code to make it all work > (which is only two deferred routines in your CA dll). > Exce

Re: [WiX-users] Rollback and uninstall sequences...

2009-11-11 Thread Richard
In article <2ca537e1091016j30f5b672k13d256cece2ba...@mail.gmail.com>, Tony writes: > I know deferred actions only have access to CustomActionData property, > what about rollback actions? Do either have access to other session > data like features, etc? Rollback actions are deferred ac

Re: [WiX-users] Rollback and uninstall sequences...

2009-11-11 Thread Tony
I know deferred actions only have access to CustomActionData property, what about rollback actions? Do either have access to other session data like features, etc? On Wed, Nov 11, 2009 at 10:50 AM, Richard wrote: > > I have a slightly different take on this.  I don't like to put > deferred CAs a

Re: [WiX-users] Rollback and uninstall sequences...

2009-11-11 Thread Blair
users] Rollback and uninstall sequences... Thanks Blair/Richard. That helps. So, if I have these custom actions and sequence Will CAImmediate ever get called during Rollback? Uninstall? CARollback will only be called if rollback occurs in, or

Re: [WiX-users] Rollback and uninstall sequences...

2009-11-11 Thread Richard
In article , "Blair" writes: > To keep your own sanity and make sure that repairs, etc. don't mess things > up, it is best to do what the built-in standard actions effectively do and > have an immediate CA or two (the only one(s) you ever then explicitly > schedule in the InstallExecuteSequ

Re: [WiX-users] Rollback and uninstall sequences...

2009-11-11 Thread Tony
Thanks Blair/Richard. That helps. So, if I have these custom actions and sequence Will CAImmediate ever get called during Rollback? Uninstall? CARollback will only be called if rollback occurs in, or after, CADeferred is called, correct? On Wed,

Re: [WiX-users] Rollback and uninstall sequences...

2009-11-10 Thread Blair
al...@xmission.com] Sent: Tuesday, November 10, 2009 4:27 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Rollback and uninstall sequences... In article <2ca537e10911101230v21ed97e1sabffc232fc58b...@mail.gmail.com>, Tony writes: > During rollback, all actions execut

Re: [WiX-users] Rollback and uninstall sequences...

2009-11-10 Thread Richard
In article <2ca537e10911101230v21ed97e1sabffc232fc58b...@mail.gmail.com>, Tony writes: > During rollback, all actions executed since the InstallInitialize are > run again in reverse order (assuming conditions are met), correct? > And the Rollback property is set. Are actions after InstallF

[WiX-users] Rollback and uninstall sequences...

2009-11-10 Thread Tony
I'm trying to find documentation explaining the sequences followed during rollback and unisntall. Google has failed me, thus far. During uninstall all of the actions in the execute sequence run again (assuming conditions are met), correct? And the Remove property is now set. During rollback, al