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!

Abdul-Rahman
Posts: 17
Joined: Thu Aug 02, 2018 7:30 am

IIS and Features

Hi guys,
I need your help in this scenario :
when the user chooses to not install a feature which when installed will be used as the physical path and files for an IIS site I will install ,whether it is in Modification or Custom Installation, I want that IIS site to not be installed if it is a custom installation and delete it if it is a modification.
if you didn't understand ,I basically want to link the site's installation and uninstallation to the feature's installation and uninstallation.
Thanks,
Abdul.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: IIS and Features

Hello Abdul,

To achieve this behavior you should just set the "Install condition" field of your web site entry from "IIS" page like this:

Code: Select all

(!WebSiteFeature = 3 AND &WebSiteFeature <> 2) OR (&WebSiteFeature = 3)
For more details have a look on our "Edit Condition Dialog" article.

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

Return to “Building Installers”