ApplyUpdateOptions Enumeration |
Defines options available when applying an update.
Namespace: Kjs.AppLife.Update.ControllerAssembly: Kjs.AppLife.Update.Controller (in Kjs.AppLife.Update.Controller.dll) Version: 5.1.0.9 (5.1.0.9)
Syntax[FlagsAttribute]
public enum ApplyUpdateOptions
<FlagsAttribute>
Public Enumeration ApplyUpdateOptions
[FlagsAttribute]
public enum class ApplyUpdateOptions
[<FlagsAttribute>]
type ApplyUpdateOptions
Members
| Member name | Value | Description |
---|
| None | 0 |
No options are specified; the update window will be shown, the user must click
the Close button when the update is complete, and the application will be restarted
after the update window is closed.
|
| NoRestart | 1 |
The application will not be restarted after the update is complete, regardless of whether
it succeeded. This option applies to all update types.
|
| NoUpdateWindow | 2 |
No update window will be shown. This option cannot be specified in combination with
AutoClose; since no update window is shown, the update process
will end once the update is finished, regardless of whether it succeeded. If the update
fails, an entry will be added to the event log describing the failure. This option only
applies to Action List updates.
|
| NoShutdown | 8 |
The application will not be shut down prior to initating the udpate process. The UpdateStarting event will be
raised on multiple instances, but the initiating instance will not be shut down by default. This option must
be included if WaitForCompletion is specified.
|
| AutoClose | 4 |
When the update completes successfully or is canceled, the update window will be
automatically closed. This option cannot be specified in combination with
NoUpdateWindow, since that option removes the update window entirely.
This option only applies to Action List updates.
|
| WaitForCompletion | 16 | ApplyUpdate will not return until the update has finished.
This option can only specified along with NoShutdown.
|
| KeepUpdateFile | 32 |
The downloaded update file will not be deleted after the update is applied.
|
See Also