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
- :
- Install Windows service with installshield
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Oct 03, 2008
08:27 AM
Install Windows service with installshield
I developed a Windows server application which communicates with an SQL server, I have no problem installing the service using the windows installer which is created as part of the project but I am not sure how to do that with InstallShield. Is there a tutorial which shows how to do that?
(4) Replies
‎Oct 03, 2008
08:47 AM
Add your compiled .exe for the service as a component in you installation. Go to the "Advanced Settings" on that component and set up the necessary values for "Control NT Services" and "Install NT Services"
For details, look in the InstallShield Help for "Advanced Settings" and find the subsection on "Install NT Services" and "Control NT Services".
For details, look in the InstallShield Help for "Advanced Settings" and find the subsection on "Install NT Services" and "Control NT Services".
‎Oct 03, 2008
11:50 AM
Correct.
Just add the executable as a component and set the advanced properties to set up the service. You will need to add an item under Install NT Services and another item under Control NT Services. Just follow the instructions in the help. One thing to remember, if your .exe is "MyService.exe", then the item you will create under "Install NT Services" needs to be called "MyService", i.e., whatever is the name of your .exe, but without the ".exe".
Just add the executable as a component and set the advanced properties to set up the service. You will need to add an item under Install NT Services and another item under Control NT Services. Just follow the instructions in the help. One thing to remember, if your .exe is "MyService.exe", then the item you will create under "Install NT Services" needs to be called "MyService", i.e., whatever is the name of your .exe, but without the ".exe".
‎Oct 03, 2008
04:03 PM
You can also do it with the help of the component wizard. You can get to it by right clicking the Components in the Cmponents view.