Messagebox from CustomAction - 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!

phlow666
Posts: 144
Joined: Thu Jan 27, 2011 8:10 am
Location: Germany

Messagebox from CustomAction

Hello,
is it possible to show a messagebox with the result of my custom action? I start a own exe-file which throws an exception in fail-state. Now I want to show a messagebox, including this exception. Is this possible? Is it better to use a resultvalue? How can I show this in a messagebox?



I tried it with a returnvalue. The same result, no message box!
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Messagebox from CustomAction

Hello,

Here is a thread that deals with a similar issue.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
phlow666
Posts: 144
Joined: Thu Jan 27, 2011 8:10 am
Location: Germany

Re: Messagebox from CustomAction

Hello and thanks for your answer,
does this work with an .Net-exe to?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Messagebox from CustomAction

Hello,

My colleague refers to editing any custom action.

For example you can have your custom action succeed every time so you make sure the installation isn't rolled back( like a "wrapper" for your functionality ). You can then modify public properties depending on your custom action's functionality and show the result using our predefined message box custom action( message box article ). Another approach would be to show the message box directly from your custom action( MSDN article message box function ).

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”