Hi, I'm trying to create a custom dialog that contains text based on the features selected.
Assume I have Feature-A and Feature-B. If only Feature-A is selected, I want the dialog text to be; "The Simple Mail Transfer Protocol Service (SMTPSVC) will be restarted" If only Feature-B is selected, I want the dialog text to be; "The Exchange Transport Service (MsExchangeTransport) will be restarted." If both Feature-A and Feature-B are selected, I want the dialog text to be (surprise!); "The Simple Mail Transfer Protocol Service (SMTPSVC) will be restarted The Exchange Transport Service (MsExchangeTransport) will be restarted." After reading this thread; http://www.nabble.com/Displaying-UI-AFTER-the-features-have-been-selecte d-td11587084.html which got me to Bob's excellent blog entry here; http://www.joyofsetup.com/2007/05/30/feature-conditions-and-ui/ I'm thinking it is not possible. It appears to me that I can only define what dialog appears next using feature conditions like; <Publish Dialog="CustomizeDlg" Control="Next" Event="NewDialog" Value="MG_CoreServerDlg" Order="2"><![CDATA[&Exchange=3 OR !Exchange=3 OR &Perimeter=3 OR !Perimeter=3]]></Publish> In my case, this is OK because I only have two features, which means I need three dialogs and I can point to the correct one. However, if someone had three or more features, this would quickly get ungainly. So, basically what I want is to have a dialog like; <Dialog Id="MG_Service_Notice" Width="370" Height="270" Title="[ProductName] Setup" NoMinimize="yes"> [snip] <Control Type="Text" Width="300" Height="125" X="45" Y="73" Id="DialogInfo"> <Text>[MG_SERVICE_TEXT]</Text> </Control> </Dialog> And create a custom action to set my MG_SERVICE_TEXT property (immediately) after feature selection is done so the property is correct when my subsequent dialog is displayed. Can this be done? Thanks, Dale ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users