Wise Cleanup & MainEngineThread is returning 1603
Updated: 21 Mar 2011 | 1 comment
Hi,
Can anyone explain in which scenarios we will receive the message MainEngineThread is returning 1603 code. (in the MSI log)
Also, please explain in which scenarios the WiseCleanup custom action will be executed.
We are trying to install an application and consistently receiving the above errors as we are unable to install it anytime.
Please help me in resolving this issue. Thanks in advance.
Discussion Filed Under:
Comments
Can I suggest you locate the
Can I suggest you locate the Microsoft SDK help file MSI.CHM that is installed with Wise, and this can provide the answers to many MSI questions, including your first one.
First of all, a 1603 code is not necessarily an error. A 1603 code from windows installer can mean that a file that needs to be replaced is in use at the time of install, so a reboot will be required to complete the installation. The other meaning of a 1603 code is a generic "a fatal error occurred during installation", but this requires you to look further into the logs for the actual cause of the error. Typically, the string Return Value 3 in the log is usually an indication of a failed action, as successful actions return a value of 1.
The WiseCleanup action is documented in the Windows Installer Editor PDF file (I know is it not customary for users to read the product documentation, but sometimes it can be time well spent.)
To save you turning to page 496, here is the extract:
If you are getting consistent errors involving the above, my initial suspicion would be that your DLL call is badly formed and is causing the install to crash.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Would you like to reply?
Login or Register to post your comment.