Control Service fails

Got a problem you cannot solve? Try here.
InstallAware@Jelich.info
Posts: 41
Joined: Mon Apr 13, 2009 8:58 am

Control Service fails

Postby InstallAware@Jelich.info » Tue Nov 10, 2015 10:04 am

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

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Control Service fails

Postby FrancescoT » Tue Nov 10, 2015 2:18 pm

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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

InstallAware@Jelich.info
Posts: 41
Joined: Mon Apr 13, 2009 8:58 am

Re: Control Service fails

Postby InstallAware@Jelich.info » Tue Nov 10, 2015 3:10 pm

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

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Control Service fails

Postby FrancescoT » Wed Nov 11, 2015 12:45 pm

:D
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 135 guests