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






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




Okay, I’ve been doing setup for about a  decade now and this one pretty much 
takes the cake.  You just made me smile.

 

Essentially what is going on here is that you’re using a build technology as an 
installation technology.  That isn’t completely insane because both 
technologies kinda’ look like workflow.  However, it’s kinda’ like using a 
hammer on a screw.

 

Now, taking a build system and shoving it into an installation system with the 
intent of having the build system do an installation (a hot fix none the less) 
and simply using the installation system as the invocation method puts you 
squarely in the world of insane.  Actually, I’d say really, truly crazy.

 

I say this with a big grin, so please don’t take it the wrong way.

 

 

My suggestion is don’t do what you’re doing.  It doesn’t make any sense and it 
won’t work well.  Either use MSI or use your 
“build-system-as-a-installation-system” but don’t try to mix them like this.  
Of course, going the other way, using a build system to create an MSI is 
totally expected.  <grin/>

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 31, 2007 12:12 PM
To: [EMAIL PROTECTED]
Cc: Rob Mensching; 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. 
> 





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