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
- :
- Displaying a list of IIS Websites
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 25, 2008
06:21 PM
Displaying a list of IIS Websites
Hey there,
Are there any controls or dialogs that display the list of IIS websites from the clients machine to a radio button group or list box?
If not, how do I go about making one?
I need to display it to the user during the installation screen then once the user starts the installation, I need to pass that information to a custom action and change some configurable items in the configuration xml file.
Is this possible and how would I go about doing it?
I develop in C# .NET 3.5 Framework.
thanks
Are there any controls or dialogs that display the list of IIS websites from the clients machine to a radio button group or list box?
If not, how do I go about making one?
I need to display it to the user during the installation screen then once the user starts the installation, I need to pass that information to a custom action and change some configurable items in the configuration xml file.
Is this possible and how would I go about doing it?
I develop in C# .NET 3.5 Framework.
thanks
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 08, 2008
06:51 PM
Bump.
I too am interested in doing this. If anyone has any information it would be much appreciated.
I'm surprised that there's no build in dialog for this. Do people normally just build installs, that don't allow the user to configure the website and virtual directory to install to?
I too am interested in doing this. If anyone has any information it would be much appreciated.
I'm surprised that there's no build in dialog for this. Do people normally just build installs, that don't allow the user to configure the website and virtual directory to install to?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 08, 2008
07:12 PM
The specifics depend on the type of project (MSI or InstallScript), but please search these forums for "list iis websites" to see different techniques that have been used...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 09, 2008
08:51 AM
I'd like to add that it depends on which version of IIS you have. IIS 6 and earlier you can do with some simple vbscript or installscript. On IIS7 (vista and 2008) you either have to require the IIS6 compatibility service, or do some magic. I wrote a C# custom action that uses the web management assembly. This is a big no-no for some people.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 09, 2008
09:05 AM
Hello Everyone,
Here is a link to a list of useful IIS functions that I wrote. It includes getting a list of IIS web sites. It also discusses on how to do this as well. If you need any more assistance, please let me know. I have had several people ask me questions about this subject.
Hope this helps.
Here is a link to a list of useful IIS functions that I wrote. It includes getting a list of IIS web sites. It also discusses on how to do this as well. If you need any more assistance, please let me know. I have had several people ask me questions about this subject.
Hope this helps.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 09, 2008
03:18 PM
Thanks TheTraveler, I've seen your other posts and they're very useful 🙂
I've already had to go down the .NET custom assembly route for other stuff, so it looks like adding another function to that assembly will be what I'll do. Especially since I do need IIS7 and there's no guarantee they'll have the compatibility service installed. Thanks for the tip angusmf1.
I've already had to go down the .NET custom assembly route for other stuff, so it looks like adding another function to that assembly will be what I'll do. Especially since I do need IIS7 and there's no guarantee they'll have the compatibility service installed. Thanks for the tip angusmf1.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 09, 2008
05:03 PM
I've actually started using C# for all my custom needs including this. Later on I port it over to a string list then display in the dialog.
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)