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
- :
- How to use properties as Service accounts in Basic MSI project
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
‎Jul 06, 2007
06:35 AM
How to use properties as Service accounts in Basic MSI project
Hello All,
I am developing a Basic MSI project using InstallShield 2008. I am installing 2 Windows Services as part of this project and I would like to configure the service accounts of each service based on input the user enters in a dialog screen. I've tried setting the username and password of each service with a property in the following formats:
{PROPERTY}, [PROPERTY], PROPERTY, and other variations.
Unfortunately, the installer throws an error during installation when I do this. It seems like it is expecting either a blank username and password or a hardcoded value. How can I configure InstallShield to use properites as the username and password for the services I am installing?
I would appreciate your assistance.
- Johnny
I am developing a Basic MSI project using InstallShield 2008. I am installing 2 Windows Services as part of this project and I would like to configure the service accounts of each service based on input the user enters in a dialog screen. I've tried setting the username and password of each service with a property in the following formats:
{PROPERTY}, [PROPERTY], PROPERTY, and other variations.
Unfortunately, the installer throws an error during installation when I do this. It seems like it is expecting either a blank username and password or a hardcoded value. How can I configure InstallShield to use properites as the username and password for the services I am installing?
I would appreciate your assistance.
- Johnny
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 09, 2007
01:36 PM
The ServiceInstall table uses the Formatted data type for the StartName and Password fields, so [PROPERTY] should work. What is the particular error?
(One common issue is that the account must have the "log on as a service" right, which is not set by default.)
(One common issue is that the account must have the "log on as a service" right, which is not set by default.)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 12, 2007
05:03 PM
I finally got it to work using the [PROPERTY] format. There was another property I disabled or enabled (not sure) in this same properties window and things started working (referenced in another forum post I found). Not sure what it was.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)