I would like to make my Website installation conditional as part of an installation feature. Although I can organize the website's files under 'Features and Components' I cannot seem to actually prevent Advanced Installer from attempting to create a web site if the user selects the 'feature will be unavailable' option under the custom install type. Is there a way to link the custom feature to the website installer?
Thank you for your interest in Advanced Installer.
In order to achieve this you can follow the steps below:
- go in the IIS page and select your web site
- in the "Web Site" tab use the [...] button from the right of the "Install Condition" text field
- in the newly appeared dialog double-click on the "Feature will be installed local. The feature is not reinstalled" predefined condition and choose the feature related to your web site from the dialog that appears, then click [OK]
- build and run the project
Now, the web site will not be installed if the user selects the "Feature will not be available" option for the feature you chose above.
Let us know if this helped, otherwise give us more details about your scenario.
FOLLOW US
Get the latest news in Application Packaging