Issue
When installing Studio Pro, the installer attempts to install the Microsoft Windows Desktop Runtime (any version) even though a newer patch version is already present on the machine. Instead of recognizing the newer patch version as satisfying the prerequisite, the Microsoft Installer (MSI) installation fails with MSI error 1638 (0x80070666).
Environment
- Studio Pro (all versions)
- Microsoft Windows
Cause
The issue is caused by the way the Studio Pro installer handles the Windows security context during User Account Control (UAC) elevation.
When a standard user starts the installer normally and subsequently provides credentials for a different administrator account at the UAC prompt:
The installer is initially started in the standard user's context.
During elevation, the installer creates the .NET runtime checker executable in the administrator account's temporary directory.
The checker is subsequently executed in the context of the original standard user.
Because the standard user does not have the required permissions to write to the administrator's temporary directory, the checker crashes.
The installer incorrectly interprets the failed checker execution as an indication that the required .NET runtime is not installed.
The installer then attempts to install an older runtime version.
Because a newer patch version is already installed, Windows Installer returns
MSI error 1638 (0x80070666).
Administrator rights are required to install Mendix Studio Pro, as informed in the documentation, System Requirements.
Solution/Workaround
To successfully install Mendix Studio Pro, use one of the following options:
-
Install Mendix Studio Pro using an account with local Administrator rights.
-
Use the Mendix Studio Pro Portable Version.
-
If Administrator rights cannot be granted, install and use the portable version of Studio Pro instead of the standard installer.
-
The portable version does not rely on the same installation workflow and avoids the prerequisite-check failure described in this article.
-
Running the installation with administrative privileges ensures that the .NET prerequisite check can complete successfully and correctly detect the installed .NET Desktop Runtime version.
Internal information related
- 287350
- C0A5EDRD2/p1788869512323529
Additional information
Mendix Marketplace: Studio Pro
0 Comments