cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Mike_Sucena
Level 3

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
Labels (1)
0 Kudos

(2) Replies
ridch01
Level 5

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.
0 Kudos
royboy
Level 2

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 ".
0 Kudos