Re: [WiX-users] How to install files, run an action, then delete the files??

2007-06-06 Thread michaelbartlett
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 <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] CC: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; wix-users@lists.so

Re: [WiX-users] How to install files, run an action, then delete the files??

2007-06-05 Thread michaelbartlett
Hi there, No what I mean is: 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

Re: [WiX-users] How to install files, run an action, then delete the files??

2007-06-04 Thread michaelbartlett
Guys, I have finally got the CA working but when it fails the files (placed down by WiX) do not "roll back" as they are supposed to - i.e. they are still on the drive.  How do I get this to work? -Mike -Original Message- From: Mike Dimmick <[EMAIL PROTECTED]> To: [EMAIL PROTECTED

Re: [WiX-users] How to install files, run an action, then delete the files??

2007-06-02 Thread michaelbartlett
Hi All, Basically when we have detected what version is on the client, we copy over the existing application directory into a backup folder, run an SQL Server upgrade script, if this fails we copy the backup to where it came from, if it succeeds we copy over some new DLLs.  That's it as far

Re: [WiX-users] How to install files, run an action, then delete the files??

2007-06-01 Thread michaelbartlett
Hey Guys, I have spoken with my boss and he has given me the rationale for what we are doing: Basically when we took over our current company, there was no versioning on any of the software releases.  We are not in a position to be able to know what version is currently installed without

Re: [WiX-users] How to install files, run an action, then delete the files??

2007-05-31 Thread michaelbartlett
Hi Rob, No offence taken - I'm just following orders from my boss, and I don't really understand these technologies to such a level where I can make a call on what is good practice or truly insance. I do appreciate you taking the time to answer my questions, though :) Cheers, -Mike

Re: [WiX-users] How to install files, run an action, then delete the files??

2007-05-31 Thread michaelbartlett
Yes - the product is a hotfix MSI. All the hard work of moving files, copyin files, etc is done by Nant - we just want to use WiX as the main GUI.  My C# is pretty solid.  Do you have any examples or URLs that show what you are suggesting? Cheers, -Mike -Original Message-

Re: [WiX-users] How to install files, run an action, then delete the files??

2007-05-31 Thread michaelbartlett
My boss doesn't want to use a batch file as he wants it all to be done through an 'MSI' file to look slicker - so I suppose I have to ask - is there really no way to delete temporary files in WIX? Is there not a way you can create a file (in much the same way you would create a regular file ins

Re: [WiX-users] How to install files, run an action, then delete the files??

2007-05-31 Thread michaelbartlett
I agree The problem is that I can't be sure people will have Nant on their system, so I have to make sure it gets dropped.  Aaron mentioned I would need an additional custom action - any other suggestions or does that look like the main contender? -Mike Ps Thanks again for your help. -O

Re: [WiX-users] How to install files, run an action, then delete the files??

2007-05-31 Thread michaelbartlett
Hi Aaron, I have tried that but unfortunately because Nant has so many DLLs and files it uses through various directories, when I package the lot up in the BInary table I get an error. I guess I will need an additional custom action.  Thank you fory our help, I really appreciate it.