[services] - No arguments diplayed - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Nico-D
Posts: 63
Joined: Mon Aug 18, 2008 2:34 pm

[services] - No arguments diplayed

Hello

I am including a service into my package. I am using the "Service" page to do this, with the following parameters:

- Services to install: I used the service properties page to fill the form. I specifically filled "Arguments" field.
- Control Operations: I used the control operations page to fill the form, and I set exactly the same command line in the "Arguments" field.

The problem is that there is no arguments displayed when viewing the properties of the "Computer Management" > "Services and Applications" > "Services" > "My_service". "Start parameters" field is empty. I was thinking finding in this place the arguments I passed through AI.

Is it a normal behavior? Where are stored the "Arguments" passed to AI if I am not looking at the good place?

Best regards,
-- Nicolas D.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: [services] - No arguments diplayed

Hi Nicolas,
The problem is that there is no arguments displayed when viewing the properties of the "Computer Management" > "Services and Applications" > "Services" > "My_service". "Start parameters" field is empty.
Please note that this field refers to the parameters used when the service is started from there by using the "Start" button. The text above this field states:
"You can specify the start parameters that apply when you start the service from here"

The "Arguments" field in the "Service Properties" page are used by the service every time it is started. Therefore, in the dialog which contains the "Start Parameters" field the "Path to Executable" field should be something like this:

Code: Select all

"C:\Program Files\Caphyon\Java Service Example\javaservice.exe" /argument
Please note that the "Arguments" field in the "Control Operation Parameters" page will be used only the first time the service is started (during the installation).

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Nico-D
Posts: 63
Joined: Mon Aug 18, 2008 2:34 pm

Re: [services] - No arguments diplayed

Hi Cosmin,

All right, everything is fine, thank you for your answers.

Regards,
-- Nicolas D.

Return to “Common Problems”