/build/static/layout/Breadcrumb_cap_w.png

Get message string from error code

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

Answers (2)

Posted by: anonymous_9363 13 years ago
Red Belt
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).
Posted by: pjgeutjens 13 years ago
Red Belt
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
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ