You should set up the next button in the feature selection screen to display a dialog that IIS is required for that feature(if selected). MyCustomizeDLg is the dialog that has the list of the your features user can select. IISFOUND is a property you set to search for IIS present or not(I think WIX has an in-built property to do this IISMAJORVERSION). FeatureneedsIIS is the feature that requires IIS.
Something like this: <Publish Dialog="MyCustomizeDlg" Control="Next" Event="NewDialog" Value="IISNotFoundDlg"><![CDATA[NOT IISFOUND AND (&FeatureneedsIIS = 3 AND ! FeatureneedsIIS <> 3)]]></Publish> In the dialog that shows the message to the user redirect the OK button to exit dialog. <Control Id="OK" Type="PushButton" X="102" Y="90" Width="56" Height="17" Default="yes" Cancel="yes" Text="OK"> <Publish Event="EndDialog" Value="Return">1</Publish> </Control> -----Original Message----- From: Marek Mielcarek [mailto:mmielca...@actuate.com] Sent: Thursday, December 04, 2014 3:06 PM To: wix-users@lists.sourceforge.net; General discussion about the WiX toolset. Subject: Re: [WiX-users] "Condition" problem Example: one of the features requires IIS. Check for IIS should occur only if the feature is selected. If te check succeeds, the feature shall be installed. If it fails, the installation shall fail. If feature is not selected the IIS does not matter. Original Message From: Pavan Konduru Sent: Thursday, December 4, 2014 18:00 To: General discussion about the WiX toolset. Reply To: General discussion about the WiX toolset. Subject: Re: [WiX-users] "Condition" problem Can give an example so it will be easier to understand? What are the conditions and what do the features depend on? -----Original Message----- From: Marek Mielcarek [mailto:mmielca...@actuate.com] Sent: Thursday, December 04, 2014 2:28 PM To: wix-users@lists.sourceforge.net; General discussion about the WiX toolset. Subject: Re: [WiX-users] "Condition" problem User can select any feature. Each feature has a different condition. Installer verifies the condition for feature if it was selected for installation. If the condition is not met, installer breaks and informs what was the reason. Original Message From: Pavan Konduru Sent: Thursday, December 4, 2014 17:24 To: General discussion about the WiX toolset. Reply To: General discussion about the WiX toolset. Subject: Re: [WiX-users] "Condition" problem "This Condition makes sense only if a particular Feature is being installed." So, how do you plan to achieve this even before a feature is selected for install? -----Original Message----- From: Marek Mielcarek [mailto:mmielca...@actuate.com] Sent: Thursday, December 04, 2014 12:13 PM To: General discussion about the WiX toolset. Subject: [WiX-users] "Condition" problem I need to define a Condition which generates message and stops installation (if condition fails). This Condition makes sense only if a particular Feature is being installed. It looks like I cannot use standard LaunchCondition because checking for a Feature (using &Feature=3 or &Feature=4) can be used reliably only after FinalizeCost, which happens after LaunchConditions. Is there a way I can define such condition on a Feature level ? If not, what is the best way to achieve the same outcome ? Thanks a lot ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users