Back to product page

ForceRestart property


Determines if application restart is forced.

Type

A Boolean value

Syntax

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

Remarks

Determines if wodAppUpdate will always kill and restart process where it is running. Usually, if wodAppUpdate determines that file you're updating isn't locked, it will just try to change it. However, you can set ForceRestart property to True so wodAppUpdate always kills the process. This is convenient if you plan to use CmdBefore or CmdAfter to perform some tasks that otherwise would not be executed.

Platforms

Windows