Per the documenation for DoAction
http://msdn.microsoft.com/en-us/library/aa368322(VS.85).aspx as well
as a comment on the MsiProcessMessage MSDN page, this won't work. I
think the recommended way would be to create and show a dialog with a
SpawnDialog control event instead.

On Tue, Jan 25, 2011 at 21:57, Uma Harano <uhar...@esri.com> wrote:
> Hi,
>
> In a C++ custom action, I am using MsiProcessMessage to display message box. 
> I am finding that MsiProcessMessage won't show a message
> box when you call it from a custom action invoked from a control event. Is 
> this true or am I doing something wrong?
> If this is true, what is the recommended method to display a MessageBox from 
> a control event while clicking the Next button on a dialog?
>
> Here is a the line of code:
> MsiProcessMessage(hInstall, 
> INSTALLMESSAGE(INSTALLMESSAGE_ERROR|MB_ABORTRETRYIGNORE|MB_ICONWARNING), 
> newHandle);
>
> Thanks!
> Uma Harano
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to