a. This isn't trivial in the Windows Installer. You could condition the
execution of the RemoveFolders action but that *might* affect removal of other
normal folders (you'd want to test it to verify). Also, as you noted you'll
have to make sure the folders are empty by using RemoveFile elements (those
take wild cards).
b. Take a look at ARPNOMODIFY in the MSI SDK.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pierson Lee
(Volt)
Sent: Monday, June 18, 2007 4:50 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Uninstall forms -> removing folders dependent upon user
input
Another question:
I am attempting to remove a folder set that I created during install in the
uninstall process, but its two-fold.
1. I need to ask the user if they want to remove the folders during the
uninstall process (which I can do on a dialog window with a check box during
the remove process)
2. I need to then check and see if the box is checked and if it is,
remove the folders, regardless if they are empty.
Can this be done with WiX and if so, can someone point me in the right
direction?
I was looking at RemoveFolders but it looks like it only likes empty folders
(which are already getting removed).
Also, one other thing. If I go to add/remove programs and hit remove I just get
a quickie pop-up asking if I'm sure I want to uninstall, but if I double click
on the MSI I get more options. I remember reading somewhere that I can get the
modify/remove from the add/remove programs window also, but for the life of me
I can't find it again.
Thanks for helping a newbie out
--pierson
-------------------------------------------------------------------------
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