/build/static/layout/Breadcrumb_cap_w.png
05/11/2011 3432 views
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


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

All 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

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