Hi, Many people seem to be asking how to add a dialog to an installer which will allow a user to select a website from a drop down list.
I have posted one such solution on my homepage - which may give you a heads up. I spent an age trawling the Wix-Users list gathering snippets, so i decided to place what i understood in one location. However i have 2 issues with the installer...that i really would like some help with 1) Can somebody tell me if the ruleset i use to determine if the "choosewebsitedlg" dialog is displayed is correct .. I am unsure of this <!-- back button pressed :: display "ChooseWebsiteDlg" dialog if the feature is set (see http://www.tramontana.co.hu/wix/lesson5.php#5.3 for syntax) --> <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="ChooseWebsiteDlg"><![CDATA[&TestFeature = 3]]></Publish> <!-- back button pressed :: display "CustomizeDlg" dialog if the feature was NOT set (see http://www.tramontana.co.hu/wix/lesson5.php#5.3 for syntax) --> <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="CustomizeDlg"><![CDATA[(&TestFeature <> 3)]]></Publish> 2) If the website feature "TestFeature" is not selected, then no regisrty keys are written. Thus when the uninstaller is invoked, it cannot find any valid website properties and fails. I am confused as to why it should even try to uninstall a website when one was never installed in the first place. 2a) If i invoke the uninstaller via "add/remove programs" it fails when no website has ever been installed 2b) If i invoke the uninstaller via 'right clicking the msi', the MSI user interface is invoked and the uninstallation is successfull - regardless of the fact that no website is installed. Can any body shed any light on this... Thanks Steve Wix V3 !!!Any comments/improvements are most appreciated!!!! http://homepages.nildram.co.uk/~scullum/ ------------------------------------------------------------------------- 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