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
- :
- Application Pools Specific User
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
‎Mar 28, 2010
08:20 PM
Application Pools Specific User
Hi
My Installation installs a web app with a Application Pool.
On the Install i want to give the user the ability to choose to run the application pool as 'Network Service' OR 'Specific User'
I have created my application Pool within the "IIS View" But the dropdown 'Identity' only allows me to select 'Network Service' OR 'Specific User'
Is there a way to change this value during the Install?
So that users can select to use a Specific user OR Network Service?
Thanks
-Aaron
My Installation installs a web app with a Application Pool.
On the Install i want to give the user the ability to choose to run the application pool as 'Network Service' OR 'Specific User'
I have created my application Pool within the "IIS View" But the dropdown 'Identity' only allows me to select 'Network Service' OR 'Specific User'
Is there a way to change this value during the Install?
So that users can select to use a Specific user OR Network Service?
Thanks
-Aaron
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 08, 2010
05:37 PM
Hi, im using 2010
Im Creating a Application Pool with a Specific User - that the user can set....
The InstallScript sets the variables
TextSubSetValue ( "", szUser, FALSE );
TextSubSetValue ( "", szPassword, FALSE )
but when i paste into IIS view -> Application pool -> SpecificUser Password it comes up as ******************
will this still work? - Will the password be set to '' ?
Im Creating a Application Pool with a Specific User - that the user can set....
The InstallScript sets the variables
TextSubSetValue ( "
TextSubSetValue ( "
but when i paste
will this still work? - Will the password be set to '
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 13, 2010
02:14 PM
I'm using the concept in my InstallScript MSI setup and yes, it does work. Use Direct Editor and check the ISIISProperty table - MetaDataValue column. Your variable name will actually be there, not the asterisks.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 28, 2010
11:04 AM
Bumping this, as I'm doing something similar I've created a dialog to accept the username and password that should be assigned to the application pool, and then assigned the properties that correspond to those text fields to the username and password fields in the IIS Application Pool dialog through the UI. I've tried it both using {MY_PROPERTY_NAME} and and the installer never uses the value the user entered, just the string "".
Is there a manual step required to perform the replacement?
Is there a manual step required to perform the replacement?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 28, 2010
11:38 AM
If you are using InstallScript, you need to use an MsiSetProperty call to assign the value of the variable to the property after you get the variable set. (e.g., call AskText to get svPropertyName, then call MsiSetProperty to assign the value of svPropertyName to the property MY_PROPERTY_NAME).
FYI, you should be doing something to validate the username/password combo or make sure in your testing that using an invalid combo doesn't crash the install.
FYI, you should be doing something to validate the username/password combo or make sure in your testing that using an invalid combo doesn't crash the install.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 01, 2010
07:51 AM
For Basic MSI and InstallScript MSI projects, you'd need to use Windows Installer properties in square brackets--for example, [MYPROPERTY]. For InstallScript projects, you'd use a variable in angle brackets--for example, . For examples, see the following help topics:
Using Windows Installer Properties to Dynamically Modify IIS Settings
Using InstallScript Text Substitution to Dynamically Modify IIS Settings
Using Windows Installer Properties to Dynamically Modify IIS Settings
Using InstallScript Text Substitution to Dynamically Modify IIS Settings
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 03, 2010
08:23 AM
Thanks so much. I hadn't tried square brackets!