Service Verification (Is this service there?)
Looking at the Edit Service control.
Seems to do pretty much everything i need to do except one...
I need it to check to see if a MyShippedService is installed as a service,
and if it is, is it currently running.
The reason for this is because there was an option out there for them to run
it locally on demand during beta testing.
so, some of them have it running as a service, and some don't.
I assume if i try to stop a service that isn't there, i will get an error,
but is it a different error than if the "stop service" just failed?
Anyway,
Thanks for your input,
--Glenn.
Re: Service Verification (Is this service there?)
Check Service should let you know whether it's running.
Maybe that could be the start of your logic? (i.e., if not running, try to
start it then again check whether it's running)
Jane
Re: Service Verification (Is this service there?)
That worked for now.
Hey, Fredrick,
Wouldn't it be nice to have more info from "Check Service" function?
Maybe it could return:
running
installed not running
not installed
just a thought.
Thanks!
Glenn Paschal
Re: Service Verification (Is this service there?)
Hi Glenn,
> That worked for now.
>
> Hey, Fredrick,
> Wouldn't it be nice to have more info from "Check Service" function?
> Maybe it could return:
> running
> installed not running
> not installed
>
> just a thought.
Thank you for your suggestion. Good idea! We have added a "Is Service
Installed" option to SetupBuilder 7 now.
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
SetupBuilder "point. click. ship"
Create Windows Vista ready installations in minutes
-- Official Comodo Code Signing and SSL Certificate Partner
1 Attachment(s)
Re: Service Verification (Is this service there?)
By the way, it looks like this now (see attached screenshot).
Friedrich
Re: Service Verification (Is this service there?)
Do you have any idea how much you rock!!!!
Thanks,
-Glenn