Please disregard this. I think I have figured out how all the pieces fit 
together now :)

Thanks!
Uma-

-----Original Message-----
From: Uma Harano [mailto:uhar...@esri.com] 
Sent: Thursday, January 27, 2011 8:52 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] MsiProcessMessage - Display MessageBox from the Next 
button on a dialog

Thanks! The Spawn dialog is working nicely -
Is it possible to populate the Error table in the MSI and have a UI error 
message show up using this entry in the Error table?
Right now, I am creating a little Dialog and adding text to it as text 
controls. Ideally, I would like this error dialog to use the error entry in the 
Error table.
Can someone please give me some pointer as to how I can accomplish this?
Thanks!
Uma-

-----Original Message-----
From: Michael Urman [mailto:mur...@gmail.com] 
Sent: Tuesday, January 25, 2011 9:09 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] MsiProcessMessage - Display MessageBox from the Next 
button on a dialog

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


------------------------------------------------------------------------------
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