Charles Wan-Calo wrote:
Let me elaborate what I am doing a little more. I need to display some custom dialogs durin uninstall. So, I followed the technique as described in http://www.pcreview.co.ui/forums/thread-1544595.php <http://www.pcreview.co.ui/forums/thread-1544595.php>. Basically I set ARP SYSTEMCOMPONENT to 1. And then I create new registry entry to specify my own UninstallString to "msiexec /x {ProductCode} /qf", which gives me full UI during uninstall.

The condition works for "normal" uninstall, which uses basic UI, and full-UI removal from the maintenance type dialog. Using "/x /qf" is a bit unusual, but please enter a feature request on SF so we can look at it for WiX v3. (It's too late for v2.)

One thing I can do is to make my own copy of ProgressDlg.wxs and fix the condition to TitleInstalling by removing Preselected out of the condition. But should I worry about Preselected having other uses in other parts of the uninstall process?

It's set because /x removes all features (i.e., sets REMOVE=ALL). The easiest way is probably to add

AND REMOVE ~<> "ALL"

to the condition:

NOT Installed OR (Installed AND (RESUME OR Preselected) AND NOT PATCH AND REMOVE ~<> "ALL")

At first glance, that will prevent it from being true during a full uninstall. If that works, please let me know.

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

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