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
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Can register service for LINUX Environment.
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
‎Nov 22, 2010
10:53 PM
Build a application with option to register as windows service
Hi All,
We have build an application using installanywhere 2009 and we are in a requirement to provide an option during installtion to register the application as a windows service. Do we have any option in installanywhere to configure this option? Any thoughts would help us.
We have build an application using installanywhere 2009 and we are in a requirement to provide an option during installtion to register the application as a windows service. Do we have any option in installanywhere to configure this option? Any thoughts would help us.
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 23, 2010
02:16 AM
In IA you only have an option to start/stop/pause a Windows service. You would need 3rd party tools to register as a Windows service (there are free Java libraries which do that).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 23, 2010
06:40 AM
You can do this way.
1. Create an EXE to register your application as Windows Service using the Windows Service Manager.
2. Add a panel in the 'postinstall' section of your project to get the user input whether he/she wants to create register the application as a Windows Service.
3. Based on the user input (in #2), add an action 'Execute Command' to run the EXE (created in #1) with required paramters (Eg: 'install' to register the service, 'uninstall' to unregister etc)
This should help you.
Thanks.
1. Create an EXE to register your application as Windows Service using the Windows Service Manager.
2. Add a panel in the 'postinstall' section of your project to get the user input whether he/she wants to create register the application as a Windows Service.
3. Based on the user input (in #2), add an action 'Execute Command' to run the EXE (created in #1) with required paramters (Eg: 'install' to register the service, 'uninstall' to unregister etc)
This should help you.
Thanks.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 18, 2013
09:30 PM
Does any body know how can we Register service for Linux? any thoughts?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 16, 2013
11:36 PM
It's been a while since I've last touched a Linux, but depending on the flavour you need to put your executable somewhere, and then have links created in /etc/init.rd/[runlevel(s)] for starting and stopping the service (Ssome2digits number for starting, Ksome2digits for stopping). Just look at what exists and do the same...
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)