InstallShield 2019 Express Edition
InstallShield lets you specify the TCP port and site numbers for a Web site in your project. These settings help determine whether a new Web site is created or an existing one is updated at run time. They also affect whether the Web site settings that are configured in the Internet Information Services view are applied to a Web site on the target system.
To specify the TCP port and site numbers for a Web site:
1. | In the View List under Configure the Target System, click Internet Information Services. |
2. | In the Web Sites explorer, select the Web site that you want to configure. |
3. | Click the Web Site tab. |
4. | In the TCP Port and Site Number boxes, enter the appropriate numbers. |
Run-Time Behavior
At run time, if the Web site does not exist on the target system, the installation creates it according to the following rules:
TCP Port Number Setting in InstallShield |
Site Number Setting in InstallShield |
Result at Run Time |
0 |
Any non-zero number |
Since the TCP Port Number setting is 0 but the Site Number setting is not 0, the installation installs the Web site’s applications and virtual directories to the first site number on the system. The specified site number is ignored. For example, if the first site number on the target system is 1, the installation installs the Web site's applications and virtual directories under site number 1, even if a different non-zero number such as 3 is specified for the Site Number setting. 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. |
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. |
81 (a non-zero number) |
3 (a non-zero number) |
If the specified TCP port and site number exist on the target system, the installation installs the applications and virtual directories under the Web site whose site number matches the specified one—in this example, site number 3. 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 exists on the target system but the site number does not, the installation installs the new Web site, plus its applications and virtual directories, to the existing port with the new site number. In addition, the installation configures the Web site’s properties that are set in the Internet Information Services view. If the TCP port does not exist on the target system but the site number does, the installation installs the new Web site, plus its applications and virtual directories, to this TCP port. In addition, the installation configures the Web site’s properties that are set in the Internet Information Services view. |
See Also
Internet Information Services View
InstallShield 2019 Express Edition Help LibraryApril 2019 |
Copyright Information | Flexera |