Bob, could you tell us why this is the case ? The SDK seems to imply
that you can use UI dialogs as long as you respect the UILevel property
http://msdn.microsoft.com/en-us/library/aa368281(VS.85).aspx and dont
use it to report errors back to the installer.

Is it just telling you how to achieve something without mentioning that
its not a good practice ?

-----Original Message-----
From: Bob Arnson [mailto:b...@joyofsetup.com] 
Sent: 11 October 2009 00:48
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Showing error message from CA which is called
through publish event DoAction

Igor Paniushkin wrote:
> 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?
>   

Set a property in the CA and use that property as the condition in a
SpawnDialog control event to show a message box. Never show UI from a
CA; there's no way to get the same UI level information that MSI uses to
determine whether UI should be shown.

--
sig://boB
http://joyofsetup.com/



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

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

Reply via email to