That is actually the code I'm basing off of.  The problem is that after the 
user cancels the installation and the handler returns IDCANCEL, 
MsiInstallProduct immediately returns and the handler receives no more messages.

-Andy

-----Original Message-----
From: James Poole [mailto:w...@slowcommotion.com] 
Sent: Friday, July 02, 2010 5:59 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Getting Progress of Rollback

I've used the example here with success:
http://msdn.microsoft.com/en-us/library/aa368786%28v=VS.85%29.aspx

You'll see that it has a section where it handles the progress and roll
back.  Look at:

/* determine direction */

-James Poole

On Thu, Jul 1, 2010 at 6:02 PM, Andy Glass <agl...@laserfiche.com> wrote:

> I realize that this isn't a WiX-specific question, but I figure someone
> here may have run into the same issue:
>
> I've written a bootstrapper to install our msis, and am using
> MsiSetExternalUI to get  the status updates/progress for the bootstrapper's
> UI.  The problem is that when the installation fails or is canceled, it
> seems to stop sending messages to the external UI callback and so I have no
> way to tell how far along the rollback is, or even if it has completed.
>  Does anyone know of a good way to do this (either actually getting the
> rollback progress or simply telling when it is done)?
>
> -Andy
>
> ------------------------------------------------------------------------------
> 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

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