Starting and Stopping Windows Services
wyUpdate supports starting and stopping Windows Services. Simply go to the "Update Actions" in wyBuild and add a new action:
Services are stopped before the update has started, and services are started once the update has completed. wyUpdate has full error detection and rollback, so if something goes wrong it will rollback to the last working version of your software.
Start your service with arguments
You can pass arguments to your service's
OnStart(...) function by listing each argument on a separate line:
You can even use variables and commands that will be processed by wyBuild and wyUpdate (e.g. %version%, %basedir%, %product%, %company%)