Servicecheck

Hey there,

is it possible to checkout the Servicesstate before stopping them? I am running an update with wybuild and i have to stop a Service and after updating it I have to start the Service. That works fine when the Service is installed but when the Service is not installed on the System the complete Update chrashes. Is it possible to check the Installationstatus of a Service?

The "start service" update action assumes that the service exists on the end-user's computer. If the service fails to start then wyUpdate rolls back the update. One option is to stop the service using the update action, then to start the service create a simple batch file that executes the "sc" command (e.g. sc start "your service").

Tell me if this helps.

Thx for your Help.

it fixed my Problem very well.