|
|
|
|
- Configuring the automatic check for updates
WLanguage procedure called by AppDetectUPDAvailable Procedure ("Callback") called by AppDetectUPDAvailable when an update for the active application is detected. This procedure can be a global or internal procedure. AppDetectUPDAvailable(UpdateAvaliable) INTERNAL PROCEDURE UpdateAvailable(Update, Version) IF Update = appUPDAvailMandatory THEN ToastDisplay("A mandatory update is available (" + Version + ").") END END
Syntax
AppDetectUPDAvailable_Callback(<Level of update> , <Version>)
<Level of update>: Integer constant Type of the available update:
| | appUPDAvailMandatory | A mandatory update is available. | appUPDAvailOptional | An optional update is available. |
<Version>: Character string Number of the available version. Remarks Configuring the automatic check for updates This procedure is used to configure the action taken when the update is detected. (For more details, see Automatic check for available updates). This action replaces the Windows notification. This procedure can, for example: - perform no action: in this case, the user will not be notified that an update is available.
- do a specific action (display an explanatory message as a toast for example). This action will replace the default Windows notification.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|