MsiMessageBox does not display - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

vicky
Posts: 66
Joined: Thu Aug 21, 2008 10:52 am

MsiMessageBox does not display

Hi!

I've added a UI Custom action on 'next' button of 'ReadMe Dialog' , from this custom action, a MSIMessageBox(....) is being shown on certain condition. But, this messagebox does not get shown, What could be the problem and how to sort it out?

These MSIMessageBox(...) is being shown successfully from any other customaction which are not UI Custom Action.

Thanks in advance.

Regards,
Vicky
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: MsiMessageBox does not display

Hi Vicky,

Usually the MsiMessageBox function does not work if its called by a control event. Therefore, you can try one of these workarounds:
1) Try using the MessageBox function
2) When you need to show a message set an installer property inside the custom action. After the custom action runs, the custom property can be used to condition a control event which shows the message (for example a ScriptInline custom action which uses MsgBox).

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”