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 create two service with idential ServiceName
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
‎May 29, 2014
03:31 AM
How to create two service with idential ServiceName
I have an install package, inside which, most are Windows 32 bit applications, they serve both 32 bit and 64 bit Windows.
Except a service, as well as a .dll and a .sys driver which the service used, let's call them "the service",
due to some architecture design, "the service" was infected by the 64 bit .sys driver, they must be 64 bit for 64 bit Windows.
I want to compress the 32bit and 64bit applications into a single install package, by specifying component condition,
for example, specify "VersionNT64" for MyService_x64.exe component, and "NOT VersionNT64" for MyService_x86.exe component,
Of course the two service should have the identical ServiceName, because my other applications will communicate with the service through its ServiceName.
Then problem comes out, InstallShield doesn't allow two services have same ServiceName, IS there a way to accomplish that? except creating individual install package.
Except a service, as well as a .dll and a .sys driver which the service used, let's call them "the service",
due to some architecture design, "the service" was infected by the 64 bit .sys driver, they must be 64 bit for 64 bit Windows.
I want to compress the 32bit and 64bit applications into a single install package, by specifying component condition,
for example, specify "VersionNT64" for MyService_x64.exe component, and "NOT VersionNT64" for MyService_x86.exe component,
Of course the two service should have the identical ServiceName, because my other applications will communicate with the service through its ServiceName.
Then problem comes out, InstallShield doesn't allow two services have same ServiceName, IS there a way to accomplish that? except creating individual install package.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 02, 2014
11:01 AM
I think the problem you are encountering is the fact that the ServiceInstall value is a primary key for the ServiceInstall table. It requires a unique key.
The value of this PK can be different while the Name column and description column can be the same without impacting your install at all.
So you can do the following for the ServiceInstall Value:
For x86 name it MySvc86
For x64 name it MySvc64
This should allow you to compile without errors.
The value of this PK can be different while the Name column and description column can be the same without impacting your install at all.
So you can do the following for the ServiceInstall Value:
For x86 name it MySvc86
For x64 name it MySvc64
This should allow you to compile without errors.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 03, 2014
09:28 PM
Thank you DLee, I was thinking the Key Name is the Windows serivce name to be installed, but now it seems to mean nothing but a PK column in datebase. The actual Windows service name is specified by the serivce node label.
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)