jdixon
Posts: 18
Joined: Sat Jan 04, 2014 8:50 pm

ConfigureDlg shows prereqs and not just Features

I have a project that has two features (a ASP.NET app and a windows service).

I have configured it with the configuredlg dialog and after that a prerequisites dialog. So on the configuredlg dialog I want the user to select the features they want to install and on the prerequisites dialog I want them to see what they have installed or are missing based on the prerequisites for the project.

However my ConfigureDlg dialog is showing both the features AND the prerequisites. How can I make it only show features? Attached is my project
Attachments
Forums.aip
(694.45 KiB) Downloaded 350 times
Daniel
Posts: 8281
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: ConfigureDlg shows prereqs and not just Features

Hello,

I'm afraid we don't have predefined support for what you need. In order not to be displayed on the "ConfigureDlg", you can set for the desired feature the "Feature Tree" combo box to "Not Displayed" (from "Organization" page -> "Feature Properties" right pane). However, by using this setting the related feature (e.g. the feature-based prerequisite associated feature) won't be displayed on any dialog (including the "PrerequitesDlg" too).

Therefore, in order to achieve what you want you can set the "Feature Tree" combo box to "Not Displayed" for all of your prerequisites features, delete the "PrerequisitesDlg" from your dialog chain and create your own custom dialog which will display the prerequisites to be installed. In order to detect which prerequisites are to be installed you can add proper searches in our "Search" page and use their associated properties to control which prerequisites will be displayed on your custom dialog.

If you have any question let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”