1. Not really. The only option that comes to mind is to use EmbeddedUI and
to refuse to show the Ignore button when asked, but even that can be
bypassed.
2. Only by wrapping the executable in your own custom action (usually DLL).

-----Original Message-----
From: Elfe Xu [mailto:elf...@microsoft.com] 
Sent: Friday, July 23, 2010 1:09 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Questions about showing warning/error message dialog

Hi,

Hope you are not get tired with my name, as I've posted sooooooo many
questions.

1. When write registry value fails, an error message dialog will pop up, and
show Retry/Cancel/Ignore. However, in our product, some registry keys are
critical, and we don't want allow user to choose "Ignore", and rollback if
fail. How could I change it to show "Retry/Cancel" only?

2. For CustomActions that call some executables (type2, type34 etc), we can
have the \...@return set to check/ignore etc. If choose check, the failure will
cause abort; if choose ignore, the failure will only be logged, but user
will not be aware of the failure. How could I make it to show a warning
dialog? Surely I can write some wrapper to run the executable, and then use
session.Message to show the error. But I wonder if there is an easier way,
to assign the CustomAction return value to some property, and then show the
warning/error?

Thanks,
-Elfe
----------------------------------------------------------------------------
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to