We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

amorpeth
Posts: 18
Joined: Sat Feb 04, 2017 9:43 pm

Feature Based Pre-reqs

Hey,

How can I group pre-req's in to features so that if you don't select the feature during install, the pre-req for that feature doesn't get installed?

I would also like to extend the same to IIS and SQL - if I select my "web site" feature, I want IIS and SQL to be configured, other skip. Is this possible?

Apologies if this is documented, I couldn't find anything so possibly searching wrong terminology.

Thanks,
Andrew
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Feature Based Pre-reqs

Hi Andrew and welcome to Advanced Installer forums.

To achieve this, you can add feature-based prerequisites as described in the "Add Prerequisites" tutorial which automatically have a related feature in the "Organization" page. Then you can go in the "Dialogs" page and add the "ConfigureDlg" predefined dialog which will show all the feature during the installation, so the user can choose which one to install.

If you want to configure IIS and SQL based on a feature, you can use the "Condition" field related to them to set the state of the feature as a condition for them as follows: ((&Feature1 = 3) AND NOT (!Feature1 = 3)) (the IIS or SQL will be configured only if the "Feature1" feature will be installed).

Let me know if this helped, otherwise give me more details about your scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
amorpeth
Posts: 18
Joined: Sat Feb 04, 2017 9:43 pm

Re: Feature Based Pre-reqs

Thanks very much!! I think that sorted it for me :)

Love this product!
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Feature Based Pre-reqs

You're welcome Andrew. I'm glad you got this working.

Just let us know anytime you need help.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”