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
- :
- Re: IIS dialogs
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
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
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.
Dec 20, 2007
07:51 AM
The solution above is the only one I know of, but it works just fine.
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.