Where in your sequences (and which sequences are they) that are you running your conditions?
Here is the primary page for information on removal condition testing: http://msdn.microsoft.com/library/aa368013.aspx Parts of two paragraphs from this page may help here: http://msdn.microsoft.com/library/aa371194.aspx "Note that if you use REMOVE=ALL on the command line, the installer removes all features having an install level greater than 0. In this case, the installer does not remove features having an install level of 0" "Note that if the product is removed by setting its top feature to absent, the REMOVE property may not equal ALL until after the InstallValidate action. This means that any custom action that depends upon REMOVE=ALL must be sequenced after the InstallValidate." Also, you may consider changing your button as follows: <Control Id="Remove" Type="PushButton" X="216" Y="243" Width="76" Height="17" Hidden="yes" Disabled="yes" Text="!(loc.VerifyReadyDlgRemove)"> <Publish Event="Remove" Value="ALL">Publish> It is too hard to keep track of which things in Windows Installer are case sensitive and which are not, and even the same things can be case sensitive in one place and not in another, such that I always simply assume that what I tell Windows Installer must always be treated as case sensitive and what it feeds me may or may not be... -----Original Message----- From: Leung, John C.H. [mailto:johnle...@ea.com] Sent: Thursday, December 09, 2010 12:30 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] The REMOVE property seems to get set differently between Maintenance dialog versus using MsiExec /X to uninstall Hi everyone, I just notice this problem and I'm wondering if my maintenance dialog WiX script was not written correctly. I notice that if I use MsiExec /X command to uninstall my app (or through Control Panel's Program and Features dialog box), the "REMOVE" property will be set to "ALL". However, if I ran the setup program to trigger the maintenance dialog box, the "REMOVE" property didn't get set to "ALL". It lists all the features instead. In my maintenance dialog box, I have the following in response to my "Remove" push button: <Control Id="Remove" Type="PushButton" X="216" Y="243" Width="76" Height="17" Hidden="yes" Disabled="yes" Text="!(loc.VerifyReadyDlgRemove)"> <Publish Event="Remove" Value="All">Publish> Is there any way I can change the "REMOVE" property to "ALL" instead of listing out all the features? I have quite a bit of WiX scripts depending on the condition REMOVE="ALL". So when the "REMOVE" property is listing out all features instead of using "ALL". This is a bit problematic. Anyone has any idea what I might be missing or any advice what I should do to fix this problem? John Leung Software Engineer ---------------------------------------------------------------------------- -- _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL, new data types, scalar functions, improved concurrency, built-in packages, OCI, SQL*Plus, data movement tools, best practices and more. http://p.sf.net/sfu/oracle-sfdev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users