Thanks for the response. I'll just disable Cancel when the message is received from Windows Installer.
Blair-2 wrote: > > We observed that ourselves. Basically if Windows Installer thinks that it > has gone "too far" and it isn't reasonable/possible to cancel it ignores > that request. Internally it is a multi-threaded/multi-process system and > it > is possible that the signal internally doesn't route fast enough, but I > don't really know the reason for sure. > > Windows Installer can/does ask you to disable the Cancel button at time(s) > during the transaction but there sometimes seems to be a window of time > where the cancel will be ignored before the disable request arrives. > > See INSTALLMESSAGE_COMMONDATA in the > http://msdn.microsoft.com/en-us/library/aa370573(VS.85).aspx page. > > -----Original Message----- > From: CristianG [mailto:cristian.gherghine...@gmail.com] > Sent: Wednesday, August 26, 2009 6:05 AM > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Cancel from Embedded UI within the ProcessMessage() > method doesn't always work > > > Hi, > > I'm using the Embedded UI feature (thanks DTF) from Windows Installer 4.5 > and noticed that the installation is not always canceled when returning > MessageResult.Cancel from the: public MessageResult > ProcessMessage(InstallMessage messageType, Record messageRecord, > MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton > defaultButton) method. > > At the beginning of the progress, returning MesssageResult.Cancel, it > cancel > the installation. However, after a certain action, I don't know exactly > which, it doesn't cancel it anymore. > > Does anyone else encountered this behavior ? or does anyone know from > which > point you can't cancel the installation anymore ? > > Thanks > > > -- > View this message in context: > http://n2.nabble.com/Cancel-from-Embedded-UI-within-the-ProcessMessage-metho > d-doesn-t-always-work-tp3514922p3514922.html > Sent from the wix-users mailing list archive at Nabble.com. > > ---------------------------------------------------------------------------- > -- > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- View this message in context: http://n2.nabble.com/Cancel-from-Embedded-UI-within-the-ProcessMessage-method-doesn-t-always-work-tp3514922p3525579.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users