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

IIS and Features

Tue Aug 14, 2018 2:49 pm

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: 8187
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: IIS and Features

Sat Aug 18, 2018 5:39 pm

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”