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: IIS Web Site installation
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
‎Jun 19, 2009
12:16 PM
IIS Web Site installation
I have a setup package which needs to install a web site.
What I want to do is to allow a user to choose port number and host headers during installation.
If the port number is already taken, I want to replace the website using that port.
How can I do that ? And how this will work in WinXP since there is only 1 website in IIS 5.1
What I want to do is to allow a user to choose port number and host headers during installation.
If the port number is already taken, I want to replace the website using that port.
How can I do that ? And how this will work in WinXP since there is only 1 website in IIS 5.1
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 19, 2009
01:12 PM
In the InstallShield IDE, you can use a public MSI property for the settings you mentioned and then allow user to set the values from a dialog.
Also, take a look at this help topic for Port settings: http://helpnet.acresso.com/Robo/BIN/Robo.dll?tpc=/robo/projects/installshield16helplib/IISPortSiteNo.htm
Also, take a look at this help topic for Port settings: http://helpnet.acresso.com/Robo/BIN/Robo.dll?tpc=/robo/projects/installshield16helplib/IISPortSiteNo.htm
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 19, 2009
03:29 PM
Thanks for fast answer. But thats not all...
The help says:
The problem for me is:
I want to be able to replace site settings even if the port exists if User presses a button "Overwrite my settings"
Is this possible ?
The help says:
80 (a non-zero number)
0 (the default value)
If the specified TCP port exists on the target system, the installation installs the applications and virtual directories to the Web site that is running on the TCP port—in this example, port 80. The installation does not apply any of the Web site settings that are configured in the Internet Information Services view to the Web site on the target system.
If the TCP port does not exist on the target system, a new Web site is created with the Web site settings that are configured in the project. In addition, the installation installs the Web site’s applications and virtual directories.
The problem for me is:
The installation does not apply any of the Web site settings that are configured in the Internet Information Services view to the Web site on the target system.
I want to be able to replace site settings even if the port exists if User presses a button "Overwrite my settings"
Is this possible ?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 19, 2009
03:58 PM
If a website with a specified port exists (and the site number matches or is set to 0), InstallShield will not make any changes to the website. This is to avoid any possible breaking changes that could render the site or existing applications unusable.