PDA

View Full Version : Service Verification (Is this service there?)



NewsArchive
03-24-2009, 02:43 AM
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.

NewsArchive
03-24-2009, 02:44 AM
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

NewsArchive
03-25-2009, 02:45 AM
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

NewsArchive
03-25-2009, 06:17 AM
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

NewsArchive
03-25-2009, 06:18 AM
By the way, it looks like this now (see attached screenshot).

Friedrich

NewsArchive
04-14-2009, 02:05 AM
Do you have any idea how much you rock!!!!
Thanks,
-Glenn