<-- Back

Studio Pro installer fails with MSI error 1638 when a newer .NET Windows Desktop Runtime is already installed

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:

  1. The installer is initially started in the standard user's context.

  2. During elevation, the installer creates the .NET runtime checker executable in the administrator account's temporary directory.

  3. The checker is subsequently executed in the context of the original standard user.

  4. Because the standard user does not have the required permissions to write to the administrator's temporary directory, the checker crashes.

  5. The installer incorrectly interprets the failed checker execution as an indication that the required .NET runtime is not installed.

  6. The installer then attempts to install an older runtime version.

  7. 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:

  1. Install Mendix Studio Pro using an account with local Administrator rights.

  2. Running the installation with administrative privileges ensures that the .NET prerequisite check can complete successfully and correctly detect the installed .NET Desktop Runtime version.

  3. 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.

Internal information related

  • 287350
  • C0A5EDRD2/p1788869512323529

Additional information

Mendix Marketplace: Studio Pro

Have more questions? Submit a request

0 Comments

Article is closed for comments.

To provide feedback, please open a ticket here. Don't forget to include the article's URL along with the feedback you would like to provide.