Is there a way to prevent the removal of an entire virtual directory tree if a 
sibling directory exists at uninstall time?
 
My install requires a virtual directory structure X/Y/Z/WebServices and creates 
it as necessary.
The physical location for X is C:\X, Y is C:\X\Y, Z is C:\X\Y\Z and WebServices 
is C:\Program Files\X\Y\Z\WebServices.
 
Other applications share the X and Y virtual and physical directories, so it's 
likely that we also have X/Y/Z_2 and X/Y/Z_3 virtual directories.
 
On uninstall, I only want to remove the virtual directories that aren't being 
used by other applications, i.e. start from the leaf and delete only while 
there are no children.  If I install X/Y/Z/WebServices and another app is using 
X/Y/Z_1, when my app is uninstalled I only want to remove the X/Y/Z/WebServices 
and X/Y/Z virtual directories, leaving the X/Y/Z_1 intact.  
 
With my current package, the entire vdir tree is removed, obliterating the vdir 
of the other app that isn't being uninstalled.
 
My package uses WiX V2.
 
Thanks in advance for any help on this.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to