The inner text in a Publish element is the Condition expression. An inner text of 1 says to "always do it". I could be off here, but it seems like you just need to set up a proper Condition for each inner text to only show the given dialog under a given condition.
Mine look a bit like this <Publish Event="NewDialog" Value="CustomCompleteDialog"><![CDATA[Not Installed AND ISVALIDLOGON = "true" AND (VERSION = BUILDNUM OR OVERRIDE = "true") AND SQLVERSION >= 9]]></Publish> <Publish Event="NewDialog" Value="SelectionDialog"><![CDATA[MaintenanceMode = "AddRemove" AND ISVALIDLOGON = "true" AND SQLVERSION >= 9]]></Publish> <Publish Event="NewDialog" Value="Reinstall"><![CDATA[MaintenanceMode = "Reinstall" AND ISVALIDLOGON = "true" AND SQLVERSION >= 9]]></Publish> -----Original Message----- From: Robert Hermann [mailto:rob.herm...@nicewareintl.com] Sent: Tuesday, December 06, 2011 12:43 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Wix Uninstall - MaintenanceTypeDlg, VerifyReadyDlg Dialog sequence is Shown Twice When I goto to remove my installed product by running the installer twice and going into maintenance mode, here is the sequence of dialogs I get 1. MaintenanceWelcomeDlg. Click next 2. MaintenanceTypeDlg click remove 3. VerifyReadyDlg click remove 4. MaintenanceTypeDlg click remove 5. VerifyReadyDlg click remove 6. Product uninstalls .... Here is my snippet of code to <Publish Dialog="MaintenanceWelcomeDlg" Control="Next" Event="NewDialog" Value="MaintenanceTypeDlg">1</Publish> <Publish Dialog="MaintenanceTypeDlg" Control="RepairButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish> <Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish> <Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog" Value="MaintenanceWelcomeDlg">1</Publish> <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="InstallDirDlg" Order="1">NOT Installed</Publish> <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg" Order="2">Installed</Publish> I've tried run this uninstall from the command line but when I run it with msiexec /uninstall .. it uninstalls without the repeating dialog sequence. Rob ------------------------------------------------------------------------ ------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users