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
- :
- Re: Installing Windows 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 14, 2008
04:01 PM
Installing Windows Services
Hello everyone,
I am working on building an installer using Merge Modules. One of my Merge Modules has to install a Windows Service. The service has to be started with command line parameters. I need to know which action to use in order to achieve this. I am currently using the Register Windows Service action but there is no way for me to attach the necessary parameters to the executable file path and therefore my service, while showing up in the Admin Tools->Services list, does not start successfully. Thanks, in advance, for any assitance that can be provided to me.
Sincerely,
Mike Sucena
I am working on building an installer using Merge Modules. One of my Merge Modules has to install a Windows Service. The service has to be started with command line parameters. I need to know which action to use in order to achieve this. I am currently using the Register Windows Service action but there is no way for me to attach the necessary parameters to the executable file path and therefore my service, while showing up in the Admin Tools->Services list, does not start successfully. Thanks, in advance, for any assitance that can be provided to me.
Sincerely,
Mike Sucena
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 15, 2008
02:39 PM
I'm not sure if this will apply to you since you are using a merge module. For some services I'm installing, I use the post-install action "execute target". I have specify my command line parameters from there.
I do the same thing for an uninstall - just exectue the command with argument uninstall.
I do the same thing for an uninstall - just exectue the command with argument uninstall.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 16, 2008
01:23 PM
I'm running into a similar problem as Mike. I need to set some parameters on the Windows service. In particular, I would like to set the Startup Type to Manual, and the Log on as: Local System Account (Log On tab).
However, I do not know the command-line DOS commands for those. I just know "net start" and "net stop ".
However, I do not know the command-line DOS commands for those. I just know "net start
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)