[wix-users] Burn reboot logic

Bob Arnson bob at firegiant.com
Thu Dec 1 19:20:12 PST 2016


In addition to "system level" reboot pending detection (from WU/AU engine), Burn tracks when a particular bundle ended with a reboot required and won't run apply for that bundle until a reboot has happened. https://github.com/wixtoolset/issues/issues/5332 

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Joel Budreau
Sent: Thursday, 1 December, 2016 22:08
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: [wix-users] Burn reboot logic

I'm trying to figure out how burn decides that a reboot is required, and therefore won't 'apply' my uninstall request...

Scenario:
I have a burn bootstrapper with custom WPF/XAML/C# UI that installs a single MSI. On install the MSI returns 3010 - Install successful, reboot required. Burn somehow remembers this value, and when I try to run an uninstall (without rebooting in between) I see this in the bootstrapper log
file:
...
Plan complete, result: 0x0
Apply begin
Apply complete, result: 0x8007015e, restart: Required, ba requested
restart: No
...

The engine somehow determines that the Apply phase can't be run because a reboot is still pending. I've googled this forever and haven't been able to find an answer. I'm sure I'm missing something simple.

Thanks,
Joel

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list