If the CA fails, you expect the entire installation to rollback, right?  If so, 
then the CA has to scheduled before InstallFinalize because InstallFinalize is 
the “commit” so a failure after that won’t rollback what happened before 
InstallFinalize.

 

I think your next problem is going to be that you can’t schedule your CA before 
InstallFinalize because the NAnt files aren’t available for use until after 
InstallFinalize.  

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, June 06, 2007 5:20 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; 
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to install files, run an action, then delete the 
files??

 

The custom action isn't the problem it is all the regular files put down by the 
installer that don't roll-back


-----Original Message-----
From: Bob Arnson 
To: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; 
wix-users@lists.sourceforge.net
Sent: Wed, 6 Jun 2007 6.01am
Subject: Re: [WiX-users] How to install files, run an action, then delete the 
files??

[EMAIL PROTECTED] wrote: 
> I have an MSI which installs files by dropping them in specific > 
> directories. It then runs a custom action which may mail. > > If it fails, 
> the MSI reports there has been a problems and the > progress bar goes 
> backwards. Normally this is the point where it will > remove all the files it 
> dropped onto the target system, but in this > case it doesn't remove them. 
 
When is the CA scheduled? MSI rolls back only during the installation 
transaction, so anything after InstallFinalize won't roll back, for example. 
 
-- sig://boB 
http://joyofsetup.com/ 
 

________________________________

Get a FREE AOL Email account with 2GB of storage. Plus, share and store photos 
and experience exclusively recorded live music Sessions from your favourite 
artists. Click Here <http://info.aol.co.uk/joinnow/?ncid=548>  for more 
information.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to