Skip to main content
Version: Next

AutoUpdate

These keys elevate the installation privileges, so that the "updater" utility can install updated merged applications in protected system locations. They are located under the <AutoUpdate> node.

When a key is set to True and the updater has to update an application in a protected location, a dialog box informs the user that administrator privileges are required, and allows them to log on with an administrator account.

note

It is not recommended to install merged applications in the "Program Files" folder on Windows, since this folder includes specific mechanisms that are incompatible with 4D applications.

<Preferences4D>
<BuildApp>
<AutoUpdate>
<CS>
<Client>
<StartElevated>True</StartElevated>
</Client>
<Server>
<StartElevated>True</StartElevated>
</Server>
</CS>
</AutoUpdate>
</BuildApp>
</Preferences4D>

StartElevated​

Values: True / False (default)

When True, the update is performed with the administrator privileges of the machine. When False, the update is performed without elevating privileges.

XML pathUpdated applicationPlatform
AutoUpdate/RuntimeVL/StartElevatedSingle-user applicationWindows only (always False on macOS)
AutoUpdate/CS/Server/StartElevatedServer applicationWindows only (always False on macOS)
AutoUpdate/CS/Client/StartElevatedClient applicationWindows only (always False on macOS)
AutoUpdate/CS/ClientUpdateWin/StartElevatedWindows client application, built on macOSmacOS only (ignored on Windows)