Click or drag to resize
ApplyUpdateOptions Enumeration
Defines options available when applying an update.

Namespace: Kjs.AppLife.Update.Controller
Assembly: Kjs.AppLife.Update.Controller (in Kjs.AppLife.Update.Controller.dll) Version: 5.1.0.9 (5.1.0.9)
Syntax
[FlagsAttribute]
public enum ApplyUpdateOptions
Members
  Member nameValueDescription
None0 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.
NoRestart1 The application will not be restarted after the update is complete, regardless of whether it succeeded. This option applies to all update types.
NoUpdateWindow2 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.
NoShutdown8 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.
AutoClose4 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.
WaitForCompletion16ApplyUpdate will not return until the update has finished. This option can only specified along with NoShutdown.
KeepUpdateFile32 The downloaded update file will not be deleted after the update is applied.
See Also