MsiExec.exe and InstMsi.exe error messages (for developers)
This article is intended for software developers who use Windows Installer to build installer packages for their applications. If you're a user experiencing difficulty with your computer either during or after installing or uninstalling an application, you should contact customer support for the software you're trying to install or remove. If you need support for a Microsoft product, please go to our technical support site.
These error codes are returned by the Windows Installer functions MsiExec.exe and InstMsi.exe. Note that any error in Winerror.h (such as ERROR_INVALID_DATA) can be returned as well. For more error codes returned by the Windows Installer, see Windows Installer error messages.
The error codes ERROR_SUCCESS, ERROR_SUCCESS_REBOOT_INITIATED, and ERROR_SUCCESS_REBOOT_REQUIRED indicate success. If ERROR_SUCCESS_REBOOT_REQUIRED is returned, the installation completed successfully but a reboot is required to complete the installation operation.
|The action completed successfully.
|The data is invalid.
|One of the parameters was invalid.
|This value is returned when a custom action attempts to call a function that can't be called from custom actions. The function returns the value ERROR_CALL_NOT_IMPLEMENTED.
|If Windows Installer determines a product might be incompatible with the current operating system, it displays a dialog box informing the user and asking whether to try to install anyway. This error code is returned if the user chooses not to try the installation.
|The Windows Installer service couldn't be accessed. Contact your support personnel to verify that the Windows Installer service is properly registered.
|The user canceled installation.
|A fatal error occurred during installation.
|Installation suspended, incomplete.
|This action is only valid for products that are currently installed.
|The feature identifier isn't registered.
|The component identifier isn't registered.
|This is an unknown property.
|The handle is in an invalid state.
|The configuration data for this product is corrupt. Contact your support personnel.
|The component qualifier not present.
|The installation source for this product isn't available. Verify that the source exists and that you can access it.
|This installation package can't be installed by the Windows Installer service. You must install a Windows service pack that contains a newer version of the Windows Installer service.
|The product is uninstalled.
|The SQL query syntax is invalid or unsupported.
|The record field does not exist.
|Another installation is already in progress. Complete that installation before proceeding with this install. For information about the mutex, see _MSIExecute Mutex.
|This installation package couldn't be opened. Verify that the package exists and is accessible, or contact the application vendor to verify that this is a valid Windows Installer package.
|This installation package couldn't be opened. Contact the application vendor to verify that this is a valid Windows Installer package.
|There was an error starting the Windows Installer service user interface. Contact your support personnel.
|There was an error opening installation log file. Verify that the specified log file location exists and is writable.
|This language of this installation package isn't supported by your system.
|There was an error applying transforms. Verify that the specified transform paths are valid.
|This installation is forbidden by system policy. Contact your system administrator.
|The function couldn't be executed.
|The function failed during execution.
|An invalid or unknown table was specified.
|The data supplied is the wrong type.
|Data of this type isn't supported.
|The Windows Installer service failed to start. Contact your support personnel.
|The Temp folder is either full or inaccessible. Verify that the Temp folder exists and that you can write to it.
|This installation package isn't supported on this platform. Contact your application vendor.
|Component isn't used on this machine.
|This patch package couldn't be opened. Verify that the patch package exists and is accessible, or contact the application vendor to verify that this is a valid Windows Installer patch package.
|This patch package couldn't be opened. Contact the application vendor to verify that this is a valid Windows Installer patch package.
|This patch package can't be processed by the Windows Installer service. You must install a Windows service pack that contains a newer version of the Windows Installer service.
|Another version of this product is already installed. Installation of this version can't continue. To configure or remove the existing version of this product, use Add/Remove Programs in Control Panel.
|Invalid command line argument. Consult the Windows Installer SDK for detailed command-line help.
|The current user isn't permitted to perform installations from a client session of a server running the Terminal Server role service.
|The installer has initiated a restart. This message indicates success.
|The installer can't install the upgrade patch because the program being upgraded may be missing or the upgrade patch updates a different version of the program. Verify that the program to be upgraded exists on your computer and that you have the correct upgrade patch.
|The patch package isn't permitted by system policy.
|One or more customizations aren't permitted by system policy.
|Windows Installer doesn't permit installation from a Remote Desktop Connection.
|The patch package isn't a removable patch package.
|The patch isn't applied to this product.
|No valid sequence could be found for the set of patches.
|Patch removal was disallowed by policy.
|The XML patch data is invalid.
|Administrative user failed to apply patch for a per-user managed or a per-machine application that'is in advertised state.
|Windows Installer isn't accessible when the computer is in Safe Mode. Exit Safe Mode and try again or try using system restore to return your computer to a previous state. Available beginning with Windows Installer version 4.0.
|Couldn't perform a multiple-package transaction because rollback has been disabled. Multiple-package installations can't run if rollback is disabled. Available beginning with Windows Installer version 4.5.
|The app that you're trying to run isn't supported on this version of Windows. A Windows Installer package, patch, or transform that has not been signed by Microsoft can't be installed on an ARM computer.
|A restart is required to complete the install. This message indicates success. This does not include installs where the ForceReboot action is run.