Control Service fails

Got a problem you cannot solve? Try here.
Post Reply
[email protected]
Posts: 41
Joined: Mon Apr 13, 2009 8:58 am

Control Service fails

Post by [email protected] »

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

Post 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/d ... mmand-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
[email protected]
Posts: 41
Joined: Mon Apr 13, 2009 8:58 am

Re: Control Service fails

Post by [email protected] »

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

Post by FrancescoT »

: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
Post Reply