With DoAction custom actions in the UI sequence, there doesnt seem to be
any MSI specific way so just use MessageBox().
To get the parent window for the message box, so that it appears on top
of your dialog, see
http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg00415.htm
l


-----Original Message-----
From: Igor Paniushkin [mailto:ipaniush...@sdl.com] 
Sent: 09 October 2009 11:25
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Showing error message from CA which is called
throughpublish event DoAction

Hi All,

 

I have a couple of validation custom actions in C++ and C# which I want
to call in dialogs and if installer executed without UI in install
execute sequence. And in case of error I want to show error message,
currently I'm using MsiProcessMessage and session.Message methods, which
are working fine if CA performed in install execute sequence.

But message is not shown if I'm trying to execute these actions in UI
sequence through DoAction publish event.

I have read in msi documentation, that it is be design, so my question
what is the best approach to show error message box from such situation?

 

Best Regards,

Igor


SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and
requires that you delete it without acting upon or copying any of its
contents, and we further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.
Registered number: 02675207.  
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire
SL6 7DY, UK.
------------------------------------------------------------------------
------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA is
the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and
stay ahead of the curve. Join us from November 9 - 12, 2009. Register
now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to