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
WindowsLinuxUniversal Windows 10 AppJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Otros
Procedimientos almacenados
Changes an information in the mechanism for automatic application update.
Ejemplo
Reportes y ConsultasWindowsCódigo de Usuario (UMC)
IF AppParameter(appUPDMode) = 3 THEN
	AppChangeParameter(appUPDMsgStop, "L'application " + ProjectInfo(piEXEName) + ...
			"va être arrêtée automatiquement.")
END
Sintaxis
<Result> = AppChangeParameter(<Information> , <New value> [, <Application path>])
<Result>: Boolean
  • True if the requested information was modified,
  • False if a problem occurs. For more details about the problem, use ErrorInfo.
<Information>: Integer constant
Characteristic of application to modify:
appUPDAutoCheckEnable automatic check for updates:
  • True to enable,
  • False to disable.
WINDEV Constant not available.
Novedad versión 2024
appUPDBackgroundTask
Background task download of an application update available on the Private Store.
If this application is in use, it is not interrupted..
When the update is downloaded, an Notification is used to install the update.. This Notification is also displayed, if necessary, the next time the application is launched..
Caution: This constant is only taken into account for applications on the Private Store.
AndroidiPhone/iPadIOS WidgetMac Catalyst Not available.
appUPDDisplayErrorAllows you to display a message if a problem is encountered when checking for updates:
  • True to display a message,
  • False otherwise.
WINDEV Constant not available.
appUPDDisplayModeDisplay options for update notifications:
  • 0: An update message is displayed in a window in the application.
  • 1: An update message is displayed as a notification.
WINDEV Constant not available.
appUPDLocalVersionVersion number of local executable.
appUPDModeCurrent operating mode of the application:
  • 0: Standard operating mode.
  • 1: Startup forbidden: the current executables continue to operate.
  • 2: Startup forbidden: the current executables receive a warning message on a regular basis.
  • 3: Startup forbidden: the current executables are automatically stopped after a given time-out.
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.
    The update in network is not used.
  • 1: Network update enabled.
    The available updates are checked and the dialog box of automatic update is displayed.
  • 2: Network update enabled and registration of applications toward the update server.
    The available updates are checked and the dialog box of automatic update is displayed.
    As soon as it is started, the executable creates a ".LOK" file on the server. This file allows WDAdminExe to identify the clients that use the application.
appUPDPathPath of update information on the server.
appUPDProtocolNetwork protocol used to search for updates. This protocol can correspond to "LOCAL" or to "HTTP".
appUPDServerServer where the updates will be sought.
If the HTTP protocol is used, IP address or name of computer.
If the LOCAL protocol is used, name of network share.
appUPDTimeoutTimeout between two messages (if appUPDMode = 2) or before the application is automatically stopped (if appUPDMode = 3). This time-out is expressed in seconds.
<New value>: Expected type
New value that will be given to the specified information.
<Application path>: Optional character string
Full path of executable to use. If this parameter is not specified, the current application will be handled.
Observaciones
The new parameters will be taken into account the next time the application is started.
Clasificación Lógica de negocio / UI: Lógica de negocio
Componente: wd290std.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: 23/03/2024

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