This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: How to enable/disable creation of Website / Virtual Directory
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 07, 2010
01:29 PM
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
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
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 07, 2010
02:21 PM
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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 07, 2010
02:48 PM
Can you please elaborate your solution a bit. I am new to IS.
My website has only one feature which installs both websites.
My website has only one feature which installs both websites.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 08, 2010
03:16 PM
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
Conditional Statement Syntax
