Disable Creation of IIS Website

Got a problem you cannot solve? Try here.
liambrennan
Posts: 3
Joined: Thu Aug 21, 2008 7:52 pm

Disable Creation of IIS Website

Postby liambrennan » Thu Aug 21, 2008 7:58 pm

Hi,

I wish to give users a choice of websites(already created in IIS) to install my application to, but I do not want to give them the option of creating a new website. The example that is included with InstallAware 8 is fine except I need to disable the ability to write into the website dropdown control therefore restricting the users options to only existing websites. Is there a simple solution to this?

Any help would be appeciated for this newbie,
Liam.

Darren
Posts: 13
Joined: Fri Aug 15, 2008 3:35 pm

Postby Darren » Fri Aug 22, 2008 1:28 pm

This may sound like a crazy place to look, but check out the "My SQL Server Connection" example project. It is 3 dialogs. The 2nd dialog uses the "MS SQL Instances" plug-in to get a list of instances. I think you will find the "Get IIS Site List" will do something similar for a list of IIS web sites. They both return a $NEWLINE$ delimited list.

In the example project they use "Parse String" to strip the last $NEWLINE$ and then use that to populate a combo box.

I think that should get you the result you are looking for.

Good Luck


Return to “Technical Support”

Who is online

Users browsing this forum: Majestic-12 [Bot] and 22 guests