The engine always returns an HRESULT in the ApplyComplete event. Converted to
hex, you're getting 0x8007015E. 0x015E, or 350, is ERROR_FAIL_NOACTION_REBOOT
(from WinError.h). I also see the engine raising the Error event in this case,
where it sends the error code 350.
I think the only thing you can do at that point is ask the user to reboot.
Hope that helps,
Sean
> From: hanspett...@prediktor.no
> To: wix-users@lists.sourceforge.net
> Date: Tue, 3 Sep 2013 11:09:01 +0000
> Subject: [WiX-users] uninstall ApplyComplete status
>
> Hello,
> I am trying to uninstall a installed program while there is a pending system
> restart.
> We have used Burn to create the BA, and the ApplyComplete event sends
> ApplyCompleteEventArgs with status -2147024546.
> I have problems to interpret the status code and handle this properly.
> Is there an overview of what the different values means?
> Any idea how to handle and interpret this?
>
>
> Regards
> Hans Petter
>
>
>
>
> ------------------------------------------------------------------------------
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users