Back to product page

CmdBefore property


Command to execute before files are replaced.

Type

A String value

Syntax

  • Basic
object.CmdBefore [= value]
The CmdBefore(object,value) syntax has these parts:
objectAn expression evaluating to an object of type wodAppUpdate.
valueA String value.

Remarks

This property holds full path to a command line that is executed before wodAppUpdate replaces the file, but after it killed your main application. Typically, you can use this property to, for example, stop some service (CmdBefore = NET stop yourservice).

Platforms

Windows