cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
perbju
Level 2

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!
Labels (1)
0 Kudos
(5) Replies
jedimaster_mark
Level 7

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.
0 Kudos
skr
Level 6

I need similar functionality, so If you find a solution I would like to know!

Søren
0 Kudos
jedimaster_mark
Level 7

The solution above is the only one I know of, but it works just fine.
0 Kudos
skr
Level 6

OK - I am new to InstallShield

I will have to figure out how to write Custom Actions

/Søren
0 Kudos
jedimaster_mark
Level 7

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.
0 Kudos