I don't know of any explicit setting to change this default behavior in
Windows Installer.

The best way to handle it would probably be to have the install manage
configuring the permissions on the directory.  There is some native
permissions options in Windows Installer but they are not very robust.  I
typically use custom actions to configure any permissions in installs.

Although not ideal, you could also force the directory to remain on
uninstall by installing a file to that directory that isn't managed by
Windows Installer by either adding a dummy file component with a null
component GUID or by creating a dummy file during the install via a custom
action.

-Mike
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-NOT-Delete-Application-Directory-on-Uninstall-tp5020438p5020595.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to