|
|
|
|
AppActivateVersion (Function) In french: AppliActiveVersion
Warning
From version 23, AppliActivateVersion is kept for backward compatibility. This function is replaced by AppActivateVersion.
Activates one of the application versions available in the history of versions on the reference setup server. Remark: This function can only be used with a network setup on a local network. It cannot be used with a setup by IP.
// Creates the list of available versions ListVersions is string ListVersions = AppListVersion() // Extracts the last version LastVersion is string LastVersion = ExtractString(ListVersions, 1, CR, FromEnd) // Activate the version IF AppActivateVersion(LastVersion) = False THEN Error("Error while activating the version " + LastVersion + ... CR + ErrorInfo()) END
Syntax
<Result> = AppActivateVersion(<Version> [, <Forced version> [, <Executable>]])
<Result>: Boolean - True if the activation was successfully performed,
- False otherwise. To get more details on the error, use ErrorInfo.
Remark: the possible error causes are as follows: - the history of versions is not enabled.
- the requested version does not exist.
<Version>: Character string Version number to activate. <Forced version>: Optional boolean - True to force the version to activate. All the computers will be updated with the version specified in <Version>, including the computers that use a more recent version.
- False (default value) otherwise.
<Executable>: Optional character string Full path of executable corresponding to the application to update. If this parameter is not specified, the current application is updated.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|