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
- :
- Re: Install/Start Services
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
‎Jan 22, 2010
11:20 AM
Install/Start Services
I am installing some services and trying to start them. The excecutable file name is different than the service name. (i.e filename service.exe, service name L-2 Data Service).
Installshield wants the name of the service but won't let me enter a name with spaces. What is the best way to solve this?
Installshield wants the name of the service but won't let me enter a name with spaces. What is the best way to solve this?
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 22, 2010
11:44 AM
"L-2 Data Service" sounds like a display name. Does this service have an internal name which does not include spaces?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 22, 2010
01:01 PM
"L-2 Data Service" is the service name and the display name. If I install the service from the command line "service.exe /service" the service name is "L-2 Data Service" and the display name is "L-2 Data Service". I also looked at the developers code and the service and display names are "L-2 Data Service"
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 25, 2010
11:10 AM
Huh, that appears to be an uncommon way to approach things (all the Microsoft-provided services appear to have short service names), but I haven't yet found any documentation that spaces are invalid; assuming they're not, it sounds like we may have a bug in our UI.
That said, it looks like the relevant fields in the ServiceInstall table are formatted, so you could try specifying [L2DataService] in the Service configuration, and set up the property L2DataService with value L-2 Data Service. (Or make it a public property L2DATASERVICE if you foresee needing to override the service name at install time.)
That said, it looks like the relevant fields in the ServiceInstall table are formatted, so you could try specifying [L2DataService] in the Service configuration, and set up the property L2DataService with value L-2 Data Service. (Or make it a public property L2DATASERVICE if you foresee needing to override the service name at install time.)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 25, 2010
12:35 PM
Thanks, creating a property and using that as the name for the service worked like a charm
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)