Summary
This article will clarify what the InstallShield IIS support covers.
Question
InstallShield provide project settings that will allow you to create and manage new IIS Web sites, applications, virtual directories, application pools, and Web service extensions. However can I use the IIS support to manage existing web sites that may already exist on a target server machine?
Answer
The intent of the IIS support in InstallShield is to mainly do one thing, install new IIS resources. Due to certain functionality limitations, InstallShield does not intent for the IIS view to be used to modify existing IIS resources already defined on the target machine.
If you want to manage existing web sites, you generally have two basic options...
* Use a custom action to run custom logic which can modify the existing web site settings. For example, a powershell can be used to modify the default documents setting...
# ----------------------------------------------------------------
$filter= "system.webserver/defaultdocument/files"
$site= "IIS:\sites\Default Web Site"
$FullPath = "C:\Windows\System32\WindowsPowerShell\v1.0\Modules\WebAdministration\WebAdministration.psd1"
Import-Module -Name $FullPath
Add-WebConfiguration $filter "$site" -atIndex 0 -Value @{value="sample00174.html"}
# ----------------------------------------------------------------
* Add custom logic to the install to remove the existing website from the server. Then have the installation install the version of the web site with all the modifications you want to include.
Related Articles
"HTTP Error 500.19" error when you browse or a component access IIS website in Windows 33Number of Views Modifying Text In Installshield's 'Preparing To Install...' Dialog 9Number of Views Configuration of IIS fails when using custom website name 7Number of Views Modify IIS settings not shown in Installshield IDE. 3Number of Views Installing Multiple Websites using INSTALLSHIELD_IIS_NEXT_NEW_SITE_NUMBER 4Number 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