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
- :
- Installscript IIS Settings
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
‎Apr 30, 2008
12:54 PM
Installscript IIS Settings
can Installscript handle IIS Settings or ADS settings Or do I need to use VBScript?
I want to get the domain name of the user logged in to set authentication in IIS. I would also like to get a dropdown list of all IIS Sites and have the user choose the site and read in the site number to use in the IIS Settings also.
I want to get the domain name of the user logged in to set authentication in IIS. I would also like to get a dropdown list of all IIS Sites and have the user choose the site and read in the site number to use in the IIS Settings also.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 30, 2008
03:44 PM
You can create websites, virtual directories, application pools, and web service extensions with InstallScript or MSI projects.
Text substitutions should be possible for things like the site number (getting the existing sites and displaying them for selection on a dialog would require custom code to read the sites and a custom dialog to display them). Information on performing text substitutions can be found in the article Using InstallScript Text Substitution to Dynamically Modify IIS Settings.
Text substitutions should be possible for things like the site number (getting the existing sites and displaying them for selection on a dialog would require custom code to read the sites and a custom dialog to display them). Information on performing text substitutions can be found in the article Using InstallScript Text Substitution to Dynamically Modify IIS Settings.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 30, 2008
04:06 PM
Thank you, any idea on how one would do the custom code with Installscript to get the IIS Sites and list them or how I can call a VBScript and have it populate the Installscript dialog combobox
(the vbscript is how I did this with MSI but it used Session.Property("Propertyname") ).
(the vbscript is how I did this with MSI but it used Session.Property("Propertyname") ).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 30, 2008
04:53 PM
I might of found a way to get the information, just not sure how to do it.
The IIS file that holds all the data about IIS Settings is a XML file. I need a way to read the XML file and loop through it looking for the following tags. Can this be done with Installscript?
I need to get to the "IIsWebServer" then read the "Location" and parse off the number at the end this is the site ID and I also need to get the "ServerComment" which is the name displayed in IIS.
The IIS file that holds all the data about IIS Settings is a XML file. I need a way to read the XML file and loop through it looking for the following tags. Can this be done with Installscript?
-
-
I need to get to the "IIsWebServer" then read the "Location" and parse off the number at the end this is the site ID and I also need to get the "ServerComment" which is the name displayed in IIS.