What build are you using? Prior to build 3.0.5106.0, the MessageResult enumeration had incorrect values (bug 2621662 on SourceForge). I'm ashamed that it went so long without being discovered, but at least it's fixed now.
-----Original Message----- From: CristianG [mailto:cristian.gherghine...@gmail.com] Sent: Thursday, April 30, 2009 6:50 AM To: wix-d...@lists.sourceforge.net Subject: [WiX-devs] Return MessageResult.Retry from ProcessMessage() not considered 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-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users