Installing .NET runtime as a prerequisite for MDM silent installations

To prevent installation errors, Devolutions does not bundle the .NET runtime with the Remote Desktop Manager installer. Instead, the installer can download and install the required runtime as a prerequisite when needed.

This functionality is available only when the INSTALL_DOTNET_RUNTIME="1" parameter is appended to the msiexec command. Without this parameter, the runtime installation step is not triggered.

During the installation process, the system first checks whether a compatible version of the .NET Windows Desktop Runtime is already installed. If a compatible version is detected, the installer does not attempt to install another version.

If no compatible runtime is found, the installer attempts to retrieve the download link for the latest version directly from Microsoft. If this retrieval fails, a statically configured runtime version is used instead. The runtime installer is downloaded from Microsoft’s CDN to a temporary location and then executed.

Failure to install the runtime does not cause the Remote Desktop Manager installation itself to fail. Additionally, the runtime installation process includes a 3-minute timeout to prevent the overall installation from hanging in case of slow network connectivity or other connectivity-related issues.

While this process generally works without issue in environments such as Intune or other MDM solutions, interactive installations may encounter errors if the installer is executed without administrator privileges.

Devolutions Forum logo Share your feedback