Re: [WiX-users] Removing a Directory Tree on Uninstall

2010-08-23 Thread Pally Sandher
Yes you can use it to empty a directory  delete the directory itself but you 
need to specify the directory/directories to empty. It can't do the equivalent 
of DEL /S. If you will always know the directory structure then use 
RemoveFile table entries using the RemoveFile  RemoveFolder Elements in WiX. 
If you don't, you'll need to use a custom action which have been discussed 
extensively on this list in the last couple of months.

Also your app shouldn't be creating run time files in the installation 
directory as that will require unnecessary elevated rights  elevation prompts 
on UAC systems (that's all mostly for Kyle's benefit btw, I know you know this 
stuff Chris).

Palbinder Sandher 
Software Deployment  IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the Virtual Environment**
Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 
0SP
Email Disclaimer

-Original Message-
From: Christopher Painter [mailto:chr...@deploymentengineering.com] 
Sent: 21 August 2010 15:52
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Removing a Directory Tree on Uninstall

Has there been an MSI update that I haven't noticed?  Last time I checked  the 
RemoveFile table doesn't support recursive deletes as implied by Directory 
Tree.  It can at best do a [DIRPROP]\*.* and remove DIRPROP only if it's 
empty.   Correct?



- Original Message 
From: Bob Arnson b...@joyofsetup.com
To: wix-users@lists.sourceforge.net
Sent: Sat, August 21, 2010 9:36:02 AM
Subject: Re: [WiX-users] Removing a Directory Tree on Uninstall

  On 19-Aug-10 19:07, Kyle McClellan wrote:
 Is there a way to say 'Remove the entire directory tree on uninstall'?

RemoveFolder

--
sig://boB
http://joyofsetup.com/


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



  

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Removing a Directory Tree on Uninstall

2010-08-21 Thread Bob Arnson
  On 19-Aug-10 19:07, Kyle McClellan wrote:
 Is there a way to say 'Remove the entire directory tree on uninstall'?

RemoveFolder

-- 
sig://boB
http://joyofsetup.com/


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Removing a Directory Tree on Uninstall

2010-08-21 Thread Christopher Painter
Has there been an MSI update that I haven't noticed?  Last time I checked  the 
RemoveFile table doesn't support recursive deletes as implied by Directory 
Tree.  It can at best do a [DIRPROP]\*.* and remove DIRPROP only if it's 
empty.   Correct?



- Original Message 
From: Bob Arnson b...@joyofsetup.com
To: wix-users@lists.sourceforge.net
Sent: Sat, August 21, 2010 9:36:02 AM
Subject: Re: [WiX-users] Removing a Directory Tree on Uninstall

  On 19-Aug-10 19:07, Kyle McClellan wrote:
 Is there a way to say 'Remove the entire directory tree on uninstall'?

RemoveFolder

-- 
sig://boB
http://joyofsetup.com/


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



  

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Removing a Directory Tree on Uninstall

2010-08-19 Thread Kyle McClellan
Is there a way to say 'Remove the entire directory tree on uninstall'? 
Everything I install is removed, but other directories that are added 
programmatically are not. Thanks.
--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users