ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Application update functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Warning
From version 23, AppliDeleteVersion is kept for backward compatibility. This function has been replaced with AppDeleteVersion.
Deletes a version from the history of versions found on the reference setup server.
Caution: This function is irreversible: the files from the installation of the corresponding version will be deleted from the reference installation server..
Note: This function can only be used with a network installation on a local area network.. It cannot be used with a setup by IP.
Example
// Crée la liste des versions disponibles
ListeVersions is string 
ListeVersions = AppListVersion()
// Extraction de la première version
PremièreVersion is string
PremièreVersion = ExtractString(ListeVersions, 1, CR)
// Suppression de la version
IF AppDeleteVersion(PremièreVersion) = False THEN
	Error("Erreur à la suppression de la version " + ...
			PremièreVersion + CR + ErrorInfo())
END
Syntax
<Result> = AppDeleteVersion(<Version> [, <Executable>])
<Result>: Boolean
  • True if the deletion was successfully performed,
  • False otherwise. To get more details on the error, use ErrorInfo.
Remarks: The most common causes of errors are:
  • the history of versions is not enabled.
  • the requested version does not exist.
  • the deleted version corresponds to the version currently used. In this case, the active version can be changed by AppActivateVersion.
<Version>: Character string
Number of the version to delete.
<Executable>: Optional character string
Full path of the executable of application for which the version must be deleted. If this parameter is not specified, the current application is handled.
Remarks
AppDeleteVersion must be used by a user who has the rights to access the reference setup server in write mode.
Component: wd300std.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/28/2025

Send a report | Local help