Loading
How to enable/disable creation of Website / Virtual Directory
Hi,

 

I am creating a web application installer using Basic MSI project type in InstallShield 2010 Premier. I create two websites using Installshield's IIS view. Is there a way to turn on / turn off the creation of websites based on a command line parameter? i.e. I want the option to create or not create the website based on user selection.

 

Is there a way to do this?

 

Thanks,

 

Naveed

  • J Stechnij (Flexera Software)

    You can add conditions to the components containing these websites. The conditions can be based on properties set at runtime or passed on the command line.
  • J Stechnij (Flexera Software)

    You can see which component a website is associated with in the IIS view by selecting a website and look at the Component setting for the site. Then, make a note of this component name and go to the Setup Design or Components view and select the component. In the component settings, you can enter a condition for the component in the "Condition" field. More information on conditional statements can be found in the following article:

     

    Conditional Statement Syntax
    Expand Post

Loading
How to enable/disable creation of Website / Virtual Directory