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]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Sent: Fri, 1 Jun 2007 7.14pm
Subject: RE: [WiX-users] How to install files, run an action,then delete the 
files??





Windows Installer doesn’t work like that. You declare what files/versions you’d 
like to be installed, it installs them.

 

Now, if you need to know what the current SQL Server schema is in order to work 
out what changes to make, I can understand that. To work well with WiX, you 
would have to come up with a single SQL Server script that would check the 
version/presence of a given column or whatever and added the appropriate 
columns. You’d need to do the detection again after every GO command since that 
starts a new batch.

 

If you can tell us any more about what resources you need to install we could 
come up with more suggestions.

 

-- 

Mike Dimmick

 




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


 


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 reading a few XML files, running a few 
SQL Scripts and inspecting the answers.  Based on these results we then have a 
decison tree of what to do in order to get the target machine's version to be 
upgraded correctly.

My boss chose Nant as Wix can't do any of the things I have just mentioned.  
However if there are any alternative routes you would recommend it would really 
help?  Obviously we want to choose an architecturally efficient solution.

Please let me know your thoughts,

-Mike



-----Original Message-----
From: Matthew Janulewicz 
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Sent: Thu, 31 May 2007 8.21pm
Subject: RE: [WiX-users] How to install files, run an action,then delete the 
files??





I’m still not sure I understand what Nant can do in this context that the .msi 
itself can’t do. Plus, the msi will give you some semblance of upgrade tracking 
and all the cool stuff the Windows Installer API adds to the soup.



 



 



-Matt



 



 






From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Thursday, May 31, 2007 12:12 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to install files, run an action,then delete the 
files??




 




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-----
From: Aaron Shurts 
To: [EMAIL PROTECTED] 
CC: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Sent: Thu, 31 May 2007 7.01pm
Subject: Re: [WiX-users] How to install files, run an action, then delete the 
files??





Can you tell us exactly what you want this product to do? Is it 
actually leaving anything behind or is it only being used to run 
actions? How is your C#? You could write a wrapper instead of using 
a batch script that essentially accomplishes the same thing if you 
want a nice interface. 
 
Regards, 
//aj 
 
On 5/31/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: 
> 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 inside a directory) but mark it as 'temporary' so it 
> is then deleted when the MSI is run? That would be cool. Obviously my case 
> is exceptional but I can see people wanting to drop temp fiels and then 
> remove them. 
> 
> Thoughts? 
> 
> Cheers guys - I really appreciate your promprt replies. 
> 
> -Mike 
> 
> 
> -----Original Message----- 
> From: Aaron Shurts 
> To: Rob Mensching 
> CC: [EMAIL PROTECTED] ; [EMAIL PROTECTED]
> Sent: Thu, 31 May 2007 6.32pm 
> Subject: Re: [WiX-users] How to install files, run an action, then delete 
> the files?? 
> 
> 
> You definitely don't want to use an MSI for that. A simple batch file 
> should get the job done. 
> 
> Regards, 
> //aj 
> 
> On 5/31/07, Rob Mensching <[EMAIL PROTECTED]> wrote: 
> > 
> > 
> > 
> > 
> > [please keep wix-users on the thread so people know the answer] 
> > 
> > 
> > 
> > That isn't an install. It is *almost* an install and an uninstall with a 
> > bunch of work tossed in the middle. What it really sounds like you have 
> is 
> > a batch file: 
> > 
> > 
> > 
> > xcopy /chezy \\source\location C:\target\location\ 
> > 
> > pushd C:\target\location 
> > 
> > nant 
> > 
> > popd 
> > 
> > rd /s/q C:\target\location 
> > 
> > 
> > 
> > 
> > 
> > 
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, May 31, 2007 10:23 AM 
> > To: Rob Mensching 
> > Subject: Re: [WiX-users] How to install files, run an action, then delete 
> > the files?? 
> > 
> > 
> > 
> > 
> > Hi Rob, 
> > 
> > 
> > 
> > 
> > 
> > Yes that's right. 
> > 
> > 
> > 
> > 
> > 
> > I know it sounds weird. Basically my boss wants me to drop Nant onto the 
> > system and teh custom action executes Nant which takes care of a lot of 
> > stuff, and then at the end he wants Nant and its associated files to be 
> > deleted. 
> > 
> > 
> > 
> > 
> > 
> > Is this possible? 
> > 
> > 
> > 
> > 
> > 
> > Thanks for your reply, 
> > 
> > 
> > 
> > 
> > 
> > -Mike 
> > 
> > 
> > -----Original Message----- 
> > From: Rob Mensching 
> > To: mikebartlett ; [EMAIL PROTECTED]
> > Sent: Thu, 31 May 2007 6.18pm 
> > Subject: RE: [WiX-users] How to install files, run an action, then delete 
> > the files?? 
> > Uhh, I must be misunderstanding something. Do you really want to install 
> > something, run a CustomAction then delete everything you installed? 
> > 
> > -----Original Message----- 
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]
> > On Behalf Of mikebartlett 
> > Sent: Thursday, May 31, 2007 9:52 AM 
> > To: [EMAIL PROTECTED]
> > Subject: [WiX-users] How to install files, run an action, then delete the 
> > files?? 
> > 
> > 
> > Hi Guys, 
> > 
> > I am dropping Nant and a series of related files onto the target machine 
> and 
> > then executing Nant using a custom action (all works fine). My problem is 
> > that I need to clean all the files off afterwards. Is there a clean way 
> to 
> > do this without me having to resort to a custom action that executed a 
> > program which deletes all the files? 
> > 
> > I tried but alas this is not legal. 
> > 
> > Please help. 
> > 
> > -Mike Bartlett 
> > -- 
> > View this message in context: 
> > 
> http://www.nabble.com/How-to-install-files%2C-run-an-action%2C-then-delete-the-files---tf3847657.html#a10897723 
> > Sent from the wix-users mailing list archive at Nabble.com. 
> > 
> > 
> > 
> ------------------------------------------------------------------------- 
> > 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 
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/wix-users 
> > 
> > 
> > ________________________________ 
> > 
> > 
> > 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 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 
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/wix-users 
> > 
> > 
> 
> ________________________________ 
> 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 for more information. 
> 







size=3 width="100%" align=center> 



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 for more information.






size=2 width="100%" align=center> 

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 for more information.




________________________________________________________________________
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. Find out more at http://info.aol.co.uk/joinnow/?ncid=548.
-------------------------------------------------------------------------
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