cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Aaron_Barnett
Level 5

Custom Website name

Hi Guys,

I have setup a website in the Internet Information Services section of installsheild.

the website name gets the name from the String editor.

Is there a way for me to ask the user for the Website name? - do dynamically create the website name?

Here is what i have so far:

nResult = AskText( "Please enter the name for the Website.", szDefaultWebsiteName, szWebsiteName );

TextSubSetValue ( "", szWebsiteName, FALSE );

... but when i put as the wesbite name - it just creates a new string in string editor called ""

Any ideas?
Labels (1)
0 Kudos
(2) Replies
DebbieL
Level 17

Which project type are you using?

If you are using a Basic MSI or InstallScript MSI project, see the following help topic:
Using Windows Installer Properties to Dynamically Modify IIS Settings

If you are using an InstallScript project, see the following help topic:
Using InstallScript Text Substitution to Dynamically Modify IIS Settings

If you are using an InstallScript project, did you try running the built release to see what happens at run time? Does the installation use the Web site name that you entered in your run-time dialog?
0 Kudos
Aaron_Barnett
Level 5

Thanks DebbieL

InstallScript
It turns out it enters the into the string editor and then you can replace it with "TextSubSetValue ( "", szWebsiteName, FALSE );" :eek:

Thank you for the help.
0 Kudos