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 <[EMAIL PROTECTED]>
To: Rob Mensching <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED] <[EMAIL PROTECTED]>; wix-users@lists.sourceforge.net
<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]
> 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. 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