Hi,

I'm using embeddedUI with DTF and it seems that returning
MessageResult.Retry from the ProcessMessage() method doesn't work as
expected.

For an InstallMessage.OutOfDiskSpace I display a message box with Cancel and
Retry:

 switch (messageType)
                {
                    case InstallMessage.OutOfDiskSpace:
                        {
                            DialogResult dialogResult =
MessageBox.Show(messageRecord.ToString(), messageType.ToString(), 
                                MessageBoxButtons.RetryCancel,
MessageBoxIcon.Exclamation);
                            if (dialogResult == DialogResult.Retry)
                            {
                               return MessageResult.Retry;
                            }
                            else if (dialogResult == DialogResult.Cancel)
                            {
                                return  MessageResult.Cancel;                   
            
                            }
                        } break;

Even if the return is MessageResult.Retry the installation is rollbacked. It
looks like Windows Installer doesn't consider the return value.


-- 
View this message in context: 
http://n2.nabble.com/Return-MessageResult.Retry-from-ProcessMessage%28%29-not-considered-tp2747206p2747206.html
Sent from the wix-devs mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to