Or you could write the "NukeFolder" CustomAction and contribute it to the 
community the way Bob would (will?) when he had time.  <smile/>

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ryan O'Neill
Sent: Wednesday, April 16, 2008 08:34
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Recursive folder deletion

Looks like it is the dreaded vbscript for now then.

From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: 16 April 2008 16:29
To: Ryan O'Neill
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Recursive folder deletion

Ryan O'Neill wrote:
This means that I get a folder named MyApp_StrongName_657235673256732765 which 
changes each time I compile as the hash changes too.

I know the parent folder is mine so it is safe to delete all below that. Has 
anyone else come across deleting directory trees? I appreciate it is dangerous 
but I can't see an easy way around it.

MSI doesn't have anything like that. I designed a "NukeFolder" custom action 
that added temporary rows to the RemoveFile table but it hasn't bubbled up the 
todo list yet.

--

sig://boB

http://joyofsetup.com/
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to