There's a property called ARPNOMODIFY that shows/hides the modify button in
ARP. There's also ARPNOREMOVE and a bunch of other properties that may be
useful. (See the MSDN reference:
http://msdn2.microsoft.com/en-us/library/aa370905.aspx). As for removing
files/folders that weren't installed by you, I think that'll require a
custom action. You can fulfill #2 by conditionally calling your CA depending
on whether the property associated with the checkbox (you'll need to do
that) is set.

-Francis



On 6/18/07, Pierson Lee (Volt) <[EMAIL PROTECTED]> wrote:

 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


-------------------------------------------------------------------------
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

Reply via email to