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
- :
- IIS dialogs
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
‎Dec 10, 2007
06:48 AM
IIS dialogs
Ok, I'm a newbie to bare with me.
I want my users being to be able to customize which IIS site/virtual directory my application is installed in, just like the SQL dialog. I can't find any, is there one or what's the recommended approach here ?
Thanks!
I want my users being to be able to customize which IIS site/virtual directory my application is installed in, just like the SQL dialog. I can't find any, is there one or what's the recommended approach here ?
Thanks!
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 12, 2007
03:32 PM
You will have to write a custom action that gets the available sites and puts them into a listbox. There is no default option here that will work for you.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 20, 2007
02:12 AM
I need similar functionality, so If you find a solution I would like to know!
Søren
Søren
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 20, 2007
07:51 AM
The solution above is the only one I know of, but it works just fine.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 21, 2007
12:42 AM
OK - I am new to InstallShield
I will have to figure out how to write Custom Actions
/Søren
I will have to figure out how to write Custom Actions
/Søren
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 21, 2007
08:06 AM
I'd give you a sample, but I'm sure my employers would not look kindly on that. But I can point you in the right direction. You'll want to write a VBScript that uses WMI/ADSI to get the site information from the machine. There should be a lot of examples of this on the net. Then, you'll use the Windows Installer automation interface to populate the list box. This can be confusing and in my opinion is a little less than intuitive, but you should be able to find plenty of examples of this on the net as well.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)