Summary
How to use Windows Installer Properties and the INSTALLSHIELD_IIS_NEXT_NEW_SITE_NUMBER Property to install multiple IIS Web sites
Synopsis
This article demonstrates how to use Windows Installer Properties and the INSTALLSHIELD_IIS_NEXT_NEW_SITE_NUMBER Property to install multiple IIS Web sites using the next available Site Number, ensuring that each Web site has a unique Site ID.
Discussion
To ensure a unique number is assigned to each of the Web sites being created by the installation, a unique Windows Installer property referencing the INSTALLSHIELD_IIS_NEXT_NEW_SITE_NUMBER property should be used as the setting for each Web site Site Number setting. The technique is outline below:
- Create a new Windows Installer property and set its value to
INSTALLSHIELD_IIS_NEXT_NEW_SITE_NUMBER:
a) In the View List under Behavior and Logic, click Property Manager.
b) Click the New Property button. InstallShield adds a new row at the bottom of the view.
c) In the Name column, type a new property; for example:MYPROPERTY1
d) In the Value column, enter:INSTALLSHIELD_IIS_NEXT_NEW_SITE_NUMBER - Using the procedure in Step 1, create a second new Windows Installer property (e.g.
MYPROPERTY2) setting the Property's value toINSTALLSHIELD_IIS_NEXT_NEW_SITE_NUMBER. - Specify the first property (e.g. MYPROPRTY1) to configure the first Web site's Site Number setting:
a) In the View List under Server Configuration, click Internet Information Services.
b) In the Web Sites explorer, select the Web site that you want to configure.
c) For the Site Number setting, enter the property. It must be in uppercase letters and enclosed within brackets; for example:
[MYPROPERTY1] - Specify the second property (e.g,
MYPROPERTY2) to configure the second Web site's Site Number setting.
Additional Information
When the same property is used for both Web sites, the installation successfully creates both Web sites with unique Site IDs, but during uninstall, the first Web site does not get removed.
Related Documents
Related Articles
NewDialog Event may Not Fire When Using Multiple NewDialog Events 13Number of Views Prevent Installer from Installing into Non-Empty Folder While Allowing Installation When Folder Does Not Exist 3Number of Views Installing IIS Web Site Considerations 13Number of Views An Error 1601 or 1719 May Occur After Installing the MSI 3.1 Engine with InstallScript MSI Projects 9Number of Views Installing and Registering Fonts 17Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add additional feedback (optional)
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
|
FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513
(toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367
(toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895
2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago