PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Warning
From version 23, AppliDeleteVersion is kept for backward compatibility. This function is replaced by AppDeleteVersion.
Deletes a version from the history of versions found on the reference setup server.
Caution: This function is irreversible: the setup files of the corresponding version will be deleted from the reference setup server.
Note: This function can only be used with a network setup on a local network. It cannot be used with a setup by IP.
Example
// Creates the list of available versions
ListVersions is string
ListVersions = AppListVersion()
// Extract the first version
FirstVersion is string
FirstVersion = ExtractString(ListVersions, 1, CR)
// Delete the version
IF AppDeleteVersion(FirstVersion) = False THEN
Error("Error deleting the version " +  ...
FirstVersion + CR + ErrorInfo())
END
Syntax
<Result> = AppDeleteVersion(<Version> [, <Executable>])
<Result>: Boolean
  • True if the deletion was successfully performed,
  • False otherwise. To find out the error details, use ErrorInfo.
Notes: The possible error causes are as follows:
  • 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 (with quotes)
Number of the version to delete.
<Executable>: Optional character string (with quotes)
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.
Components
WINDEVReports and Queries wd230std.dll
Minimum required version
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment