Page 1 of 1

Control Service fails

Posted: Tue Nov 10, 2015 10:04 am
by InstallAware@Jelich.info
Hi Support Team,

I'd like to disable the SNMPTRAP service during my setup.

The Control Service Action seems to be used here. Unfortunately I have to select an item from the 'Control' list (Start, Stop,...). But I do not want to start or stop the Service, as it already is stopped. I just want to use 'Disable Service' from 'Change Service Startup'.

The Action fails with an error message ('The Service has not been started - try again?').

How can I just disable a Service ? Or do I Need to use custom PlugIn?

Best regards
Michael

Re: Control Service fails

Posted: Tue Nov 10, 2015 2:18 pm
by FrancescoT
Dear Michael,

the "Install Service" command can be only used to install a service. So if such service is already registered, you cannot use it.

You may disable the service as you can do from command line. In this case you can use the "Run Program" to execute the command.
http://superuser.com/questions/460076/disable-a-windows-service-from-the-command-line

Regards

Re: Control Service fails

Posted: Tue Nov 10, 2015 3:10 pm
by InstallAware@Jelich.info
Hi Francesco,

I didn't use "Install Service" - I used "Control Service"...

But that's OK - I'm experienced in PlugIn development and will solve this in a custom PlugIn (besides: custom PlugIns are a great opportunity to solve any issue in IA!!).

Best regards
Michael

Re: Control Service fails

Posted: Wed Nov 11, 2015 12:45 pm
by FrancescoT
:D