Hi All,

I have created MSI Installer for my application.
I have used MsiSetExternalUI.
And used MsiInstallProduct() to install my package silently.
But, I need to show error messages whenever MsiInstallProduct failed.

How can I get the appropriate message string for the error code returned by MsiInstallProduct.
If anyone have idea about it then please reply.

Thanks & Regards,
Pariksheet.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
I suspect you'll need to get those from MSI.DLL. As to how...maybe MSDN can help?

Please note that this forum is designed for questions around errors returned by the Windows Installer engine (see the link above, 'MSI Errors', for examples).
Answered 05/12/2011 by: VBScab
Red Belt

Please log in to comment
0
How can I get the appropriate message string for the error code returned by MsiInstallProduct
you can find some example code on the MSDN page for MsiExec and InstMsi Error Codes here
Answered 05/12/2011 by: pjgeutjens
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity