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] ; wix-users@lists.sourceforge.net 
> 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]
<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 ; wix-users@lists.sourceforge.net 
> > 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]
<mailto:[EMAIL PROTECTED]> ] 
> > On Behalf Of mikebartlett 
> > Sent: Thursday, May 31, 2007 9:52 AM 
> > To: wix-users@lists.sourceforge.net 
> > 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-dele
te-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 
> > WiX-users@lists.sourceforge.net 
> > 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 
> > WiX-users@lists.sourceforge.net 
> > 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 <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