118 out of 319 rated this helpful - Rate this topic

Error Codes

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, included here) can be returned as well.

Note  The error codes ERROR_SUCCESS, ERROR_SUCCESS_REBOOT_INITIATED, and ERROR_SUCCESS_REBOOT_REQUIRED are indicative of success. If ERROR_SUCCESS_REBOOT_REQUIRED is returned, the installation completed successfully but a reboot is required to complete the installation operation.

See Windows Installer Error Messages for errors returned by the Windows Installer.

Note  If you are 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 are trying to install or remove. If you feel you are in need of support for a Microsoft product, please go to our technical support site at support.microsoft.com.

Error codeValueDescription
ERROR_SUCCESS0The action completed successfully.
ERROR_INVALID_DATA13The data is invalid.
ERROR_INVALID_PARAMETER87One of the parameters was invalid.
ERROR_CALL_NOT_IMPLEMENTED120This value is returned when a custom action attempts to call a function that cannot be called from custom actions. The function returns the value ERROR_CALL_NOT_IMPLEMENTED. Available beginning with Windows Installer version 3.0.
ERROR_APPHELP_BLOCK1259If Windows Installer determines a product may 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.
ERROR_INSTALL_SERVICE_FAILURE1601The Windows Installer service could not be accessed. Contact your support personnel to verify that the Windows Installer service is properly registered.
ERROR_INSTALL_USEREXIT1602The user cancels installation.
ERROR_INSTALL_FAILURE1603A fatal error occurred during installation.
ERROR_INSTALL_SUSPEND1604Installation suspended, incomplete.
ERROR_UNKNOWN_PRODUCT1605This action is only valid for products that are currently installed.
ERROR_UNKNOWN_FEATURE1606The feature identifier is not registered.
ERROR_UNKNOWN_COMPONENT1607The component identifier is not registered.
ERROR_UNKNOWN_PROPERTY1608This is an unknown property.
ERROR_INVALID_HANDLE_STATE1609The handle is in an invalid state.
ERROR_BAD_CONFIGURATION1610The configuration data for this product is corrupt. Contact your support personnel.
ERROR_INDEX_ABSENT1611The component qualifier not present.
ERROR_INSTALL_SOURCE_ABSENT1612The installation source for this product is not available. Verify that the source exists and that you can access it.
ERROR_INSTALL_PACKAGE_VERSION1613This installation package cannot be installed by the Windows Installer service. You must install a Windows service pack that contains a newer version of the Windows Installer service.
ERROR_PRODUCT_UNINSTALLED1614The product is uninstalled.
ERROR_BAD_QUERY_SYNTAX1615The SQL query syntax is invalid or unsupported.
ERROR_INVALID_FIELD1616The record field does not exist.
ERROR_INSTALL_ALREADY_RUNNING1618Another installation is already in progress. Complete that installation before proceeding with this install.

For information about the mutex, see _MSIExecute Mutex.

ERROR_INSTALL_PACKAGE_OPEN_FAILED1619This installation package could not 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.
ERROR_INSTALL_PACKAGE_INVALID1620This installation package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer package.
ERROR_INSTALL_UI_FAILURE1621There was an error starting the Windows Installer service user interface. Contact your support personnel.
ERROR_INSTALL_LOG_FAILURE1622There was an error opening installation log file. Verify that the specified log file location exists and is writable.
ERROR_INSTALL_LANGUAGE_UNSUPPORTED1623This language of this installation package is not supported by your system.
ERROR_INSTALL_TRANSFORM_FAILURE1624There was an error applying transforms. Verify that the specified transform paths are valid.
ERROR_INSTALL_PACKAGE_REJECTED1625This installation is forbidden by system policy. Contact your system administrator.
ERROR_FUNCTION_NOT_CALLED1626The function could not be executed.
ERROR_FUNCTION_FAILED1627The function failed during execution.
ERROR_INVALID_TABLE1628An invalid or unknown table was specified.
ERROR_DATATYPE_MISMATCH1629The data supplied is the wrong type.
ERROR_UNSUPPORTED_TYPE1630Data of this type is not supported.
ERROR_CREATE_FAILED1631The Windows Installer service failed to start. Contact your support personnel.
ERROR_INSTALL_TEMP_UNWRITABLE1632The Temp folder is either full or inaccessible. Verify that the Temp folder exists and that you can write to it.
ERROR_INSTALL_PLATFORM_UNSUPPORTED1633This installation package is not supported on this platform. Contact your application vendor.
ERROR_INSTALL_NOTUSED1634Component is not used on this machine.
ERROR_PATCH_PACKAGE_OPEN_FAILED1635This patch package could not 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.
ERROR_PATCH_PACKAGE_INVALID1636This patch package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer patch package.
ERROR_PATCH_PACKAGE_UNSUPPORTED1637This patch package cannot be processed by the Windows Installer service. You must install a Windows service pack that contains a newer version of the Windows Installer service.
ERROR_PRODUCT_VERSION1638Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs in Control Panel.
ERROR_INVALID_COMMAND_LINE1639Invalid command line argument. Consult the Windows Installer SDK for detailed command-line help.
ERROR_INSTALL_REMOTE_DISALLOWED1640The current user is not permitted to perform installations from a client session of a server running the Terminal Server role service.
ERROR_SUCCESS_REBOOT_INITIATED1641The installer has initiated a restart. This message is indicative of a success.
ERROR_PATCH_TARGET_NOT_FOUND1642The installer cannot 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.
ERROR_PATCH_PACKAGE_REJECTED1643The patch package is not permitted by system policy.
ERROR_INSTALL_TRANSFORM_REJECTED1644One or more customizations are not permitted by system policy.
ERROR_INSTALL_REMOTE_PROHIBITED1645Windows Installer does not permit installation from a Remote Desktop Connection.
ERROR_PATCH_REMOVAL_UNSUPPORTED1646The patch package is not a removable patch package. Available beginning with Windows Installer version 3.0.
ERROR_UNKNOWN_PATCH1647The patch is not applied to this product. Available beginning with Windows Installer version 3.0.
ERROR_PATCH_NO_SEQUENCE1648No valid sequence could be found for the set of patches. Available beginning with Windows Installer version 3.0.
ERROR_PATCH_REMOVAL_DISALLOWED1649Patch removal was disallowed by policy. Available beginning with Windows Installer version 3.0.
ERROR_INVALID_PATCH_XML1650The XML patch data is invalid. Available beginning with Windows Installer version 3.0.
ERROR_PATCH_MANAGED_ADVERTISED_PRODUCT 1651Administrative user failed to apply patch for a per-user managed or a per-machine application that is in advertise state. Available beginning with Windows Installer version 3.0.
ERROR_INSTALL_SERVICE_SAFEBOOT 1652Windows Installer is not 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.
ERROR_ROLLBACK_DISABLED 1653Could not perform a multiple-package transaction because rollback has been disabled. Multiple-Package Installations cannot run if rollback is disabled. Available beginning with Windows Installer version 4.5.
ERROR_SUCCESS_REBOOT_REQUIRED3010A restart is required to complete the install. This message is indicative of a success. This does not include installs where the ForceReboot action is run.

 

 

 

Send comments about this topic to Microsoft

Build date: 2/3/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
applying vusal effects error
When I attempt to change my theme/appearance on my pc, I am getting this message  "The visual styles could not be applied. Not enough storage is available to process this command.' I have done a cleanup, a disk cleanup, removed unwanted programs and files. I don't know what else to do in regards to this, please help :)
Convert MSI Error Code to Description String
I wanted to convert the MSI error code to a human readable string and didn't find anything good on the Internet so I thought I would share my solution.  The following code uses the error code from any MSI API function to get the error string from the resource dll associated with MSI.

// example code

// call your MSI API function ... MsiInstallProduct() in this case
DWORD result = MsiInstallProduct(installerFullPath, commandLine);
if (result != ERROR_SUCCESS)
{
    CString message;
    message.Format(_T("%s"), GetMessageFromMsiErrCode(result).GetBuffer());
    // .... do whatever with the error message
}

// function to get error message from msimsg.dll resource dll
CString GetMessageFromMsiErrCode(DWORD error)
{
CString message = _T("Unknown error");
HMODULE module = LoadLibraryEx(_T("msimsg.dll"), NULL, LOAD_LIBRARY_AS_DATAFILE);
if (module == NULL) return message;
TCHAR buffer[8192] = _T("");
LoadString(module, error, buffer, sizeof(buffer) / sizeof(TCHAR));
FreeLibrary(module);
message = buffer;
return message;
}

Best regards,
Marty
Microsoft Fix IT is good for All !
Hi,

Regarding to all the lines i had read tonight, i try to help just saying to All that Microsoft provides scripts by the Microsoft Fix-IT tools délivered to erradicate instalations regarding to Office 2003, Office 2007 and Office 2010 to. The purpose is helping us uninstalling packes without the need of using the embeded tools or add-suppression of programm tools coming with the OS. So, donwloading the correct Fix-It tool makes the Software, application or packages unsinstalled from the système. One it's done, the caches and temporary files of the precedent installation and shrotcuts are retired and All the components deleted.

It let's you redo a proper installation and be sure that when you work around lans, the destinations folders for installers to expands archives are not alwyas local, so this can influence the local OS not to find installation packages, almost if you use to hunt temporary files... In that case, some OS reparation or restauration could help resolving the problems.

Combining embeded maintenance and fix-it tools can make you save time. Till You have the original packages, or Cd's, or DVD's, why don't you simply SHOOT the all install, and let Microsoft Fix-IT for you !

http://support.microsoft.com/kb/290301/ for the Office Fix-IT links. It's the franch page but you know you have the translation menu on the right to change IT in the language you want to read IT.

Good Night and Fix-IT all !

Mzerma Amine, @ your Services ...
MPN, BPOS Advisor, Web Site Spark member.
None Provided
I use outlook 2003, XP w/SP 3.  Intermitently, I cannot release outgoing mail from the "outbox" even after multiple send all commands.  I do not get an error message.   I reloaded Office, I rebuilt my mail user profiles.  I spoke with my ISP, they claim no signal is being sent to them.  When I do a test of the mail profile it always completes without error. 
In Outlook 2003 only
"The operation has been canceled due to restrictionsin effect on this computer.  Please contact your system Administrator".  This occurs whenever I try to select an underlined website, URL or email address in the Outlook program.  Havwe no idea what was changed to cause such a message? Thanks for your help
Window Installer error
When I want to install a game it suddenly appears an error message which says"Installation end prematurely because of a fatal error".What is the error?
In Outlook Only
When in Outlook 2003, if an item such as a URL or email address or website to visit is underlined, the message comes up " This operation has been canceled due to restrictions in effect on this computer.  Please contact your system administrator".   I am the only "administrator and I don't know what I changed to get this message.  I am using Windows XP, SP3; Office 2003, occurs in Outlook only. Unable to select any item on screen or enter info where allowed.
Error 1603
bất cứ khi nào tôi thử cài đặt từ microsoft cập nhật, tôi nhận được tin nhắn này và nó cuộn trở lại. Khi tôi thử cài đặt một máy in mới cd tôi nhận được DATA1.MSI là mất tích, xin vui lòng giúp đỡ ..
Unknown error Code 4397

I have my computer set to check for updates in the middle of the night. I can't count the number of times the Microsoft Office Power Point Viewer failed to update. Daily it shows up as an important update, but always fails. How can I delete that update? I'm not a computer expert, just an ordinary user, so please keep reply simple. It's not an update I really need anyway. Help will be appreciated!



[tfl - 19 09 09] Hi - and thanks for your post. You should post questions like this to the MSDN Forums at http://forums.microsoft.com/msdn or the MSDN Newsgroups at

http://www.microsoft.com/communities/newsgroups/en-us/. You are much more likely get a quicker response using the forums than through the Community Content. For specific help about:
Visual Studio : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.vstudio%2C&
SQL Server : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.sqlserver%2C&
.NET Framework : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.dotnet.framework
PowerShell : http://groups.google.com/group/microsoft.public.windows.powershell/topics?pli=1
All Public : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public%2C&

Help Office will not open
Microsoft Office 2003 suddenly will not launch. I have uninstalled and reinstalled and I keep getting the same message: ex. "Word is not currently installed for this user (we only have one user account). Please run set up to install."
CNDL0103 error
someone help with this danm error please:
candle.exe : error CNDL0103 : The system cannot find the file 'C:\Program Files\Web Application Installer\Web Application Template\testWebSetup.wxs' with type 'Source'.
----- Finished
Error in candle
CNDL0103
I am the service provider. Error 1601
I am trying to get my daughter's MS Office to work again. The original installation was done by the OEM. I have no discs but this is a registered machine and the software has been registered. When Word (2003) is opened I get the following.

Windows Installer
Preparing to install

An error occurred and this feature is no longer functioning properly. Would you like to repair this feature now?
Click Yes

Windows Installer
Preparing to install

Microsoft Office Word
Microsoft Office Word cannot install the necessary files due to Windows Error 1601

Microsoft Office Word
Microsoft Office Word has not been installed for the current user. Please run setup to install the application.

If I run setup the program will no doubt ask for the key. Since I don't have discs it will be impossible to provide the key. I don't know how to retrieve it from MS either. How can I fix this problem?

Windows XP
Dell Inspiron I6000
Microsoft Office 2003



[tfl - 19 09 09] Hi - and thanks for your post. You should post questions like this to the MSDN Forums at http://forums.microsoft.com/msdn or the MSDN Newsgroups at

http://www.microsoft.com/communities/newsgroups/en-us/. You are much more likely get a quicker response using the forums than through the Community Content. For specific help about:
Visual Studio :
http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.vstudio%2C&
SQL Server :
http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.sqlserver%2C&
.NET Framework :
http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.dotnet.framework
PowerShell : http://groups.google.com/group/microsoft.public.windows.powershell/topics?pli=1
All Public : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public%2C&

unknown error

i have a error that i cant seem to find how to fix, and was wondering if anyone could help me out. whenever i try to install windows on my computer it cant select a drive to install it into, and whenever i press any button on this screen i get a blue-screen error and freeze. can anyone help me?


[tfl - 19 09 09] Hi - and thanks for your post. You should post questions like this to the MSDN Forums at http://forums.microsoft.com/msdn or the MSDN Newsgroups at

http://www.microsoft.com/communities/newsgroups/en-us/ . You are much more likely get a quicker response using the forums than through the Community Content. For specific help about:
Visual Studio :
http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.vstudio%2C &
SQL Server :
http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.sqlserver%2C &
.NET Framework :
http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.dotnet.framework
PowerShell : http://groups.google.com/group/microsoft.public.windows.powershell/topics?pli=1
All Public : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public%2C &