AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de Windows / Funciones de actualización de aplicaciones
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Advertencia
A partir de la versión 23, AppliParameter se conserva por motivos de compatibilidad. Esta función ha sido reemplazada por AppParameter.
Returns information about the mechanism for automatic application update.
Ejemplo
Reportes y ConsultasWindowsCódigo de Usuario (UMC)
IF AppParameter(appUPDMode) = 3 THEN
	AppChangeParameter(appUPDMsgStop, ...
			"The application " + ProjectInfo(piEXEName) + ...
			"will be automatically stopped.")
END
Sintaxis
<Result> = AppParameter(<Information> [, <Application path>])
<Result>: Type of information
Requested information.
<Information>: Integer constant
Characteristic of the application:
appUPDAutoCheckEnable automatic check for updates:
  • True to enable,
  • False to disable.
WINDEV Constant not available.
appUPDBackgroundTaskDownload application updates from the Private Store in the background.
If the application is in use, it is not interrupted.
When the update is downloaded, a notification is displayed to install the update. If necessary, the notification is also displayed next time the application is launched.
Please note: This constant is only taken into account for applications in the Private Store.
AndroidiPhone/iPadIOS WidgetMac Catalyst Not available.
appUPDCompatibleVersionMinimum version number compatible with the reference version.
appUPDDisplayErrorDisplay a message if there is a problem when checking for application updates:
  • True to display a message,
  • False otherwise.
WINDEV Constant not available.
appUPDDisplayModeDisplay options for update notifications:
  • 0: A window in the application is used to warn the user.
  • 1: A Notification is used to alert the user.
WINDEV Constant not available.
appUPDDisplayTimeDisplay duration of messages.
appUPDLocalVersionVersion number of local executable.
appUPDModeCurrent operating mode of the application:
  • 0: Normal operation.
  • 1: Launch prohibited: current executables continue to run.
  • 2: Launch prohibited: executables in progress receive a warning message periodically.
  • 3: Launch prohibited: executables in progress are automatically stopped after a certain time.
appUPDMsgForbidMessage displayed when the startup of the application is forbidden.
appUPDMsgStopMessage displayed before the application is automatically stopped (when appUPDMode = 3).
appUPDMsgWarningMessage displayed on a regular basis (when appUPDMode = 2).
appUPDNetworkLevel of update:
  • 0: No update.
  • 1: Network update enabled.
  • 2: Network update enabled and applications registered with the update server.
appUPDPathPath of update information on the server.
appUPDProtocolNetwork protocol used to search for updates. This protocol can correspond to "LOCAL" or to "HTTP".
appUPDReferenceVersionVersion number of the reference version.
appUPDServerServer where the updates will be sought.
appUPDTimeoutTimeout between two messages (if appUPDMode = 2) or before the application is automatically stopped (if appUPDMode = 3)
<Application path>: Optional character string
Full path of executable to use. If this parameter is not specified, the current application will be handled.
Clasificación Lógica de negocio / UI: Lógica de negocio
Componente: wd300std.dll
Versión mínima requerida
  • Versión 14
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 28/03/2025

Señalar un error o enviar una sugerencia | Ayuda local