[wix-users] Forcing a reboot after installing an MSI from a Bundle

Herman van Drie hvandrie at outlook.com
Fri Sep 11 11:51:50 PDT 2020


What does your prerequisite package do that would require a reboot?
I always look why it needs that, and if it's just to start a driver/service, I would make sure it gets started using a CA before continuing.
So, instead of making the scenario unnecessarily complex, rather deal with original issue.

Mean, can help you, but you need to provide better info about your prerequisite package.

Cheers,

Herman

Get Outlook for Android<https://aka.ms/ghei36>

________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Rob Mensching via wix-users <wix-users at lists.wixtoolset.org>
Sent: Friday, September 11, 2020 8:44:17 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Rob Mensching <rob at firegiant.com>
Subject: Re: [wix-users] Forcing a reboot after installing an MSI from a Bundle

https://docs.microsoft.com/en-us/windows/win32/msi/forcereboot-action ?

---
Short replies here. Complete answers here: https://www.firegiant.com/services/

-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Rick Papo via wix-users
Sent: Friday, September 11, 2020 11:40 AM
To: 'WiX Toolset Users Mailing List' <wix-users at lists.wixtoolset.org>
Cc: rpapo at comcast.net
Subject: Re: [wix-users] Forcing a reboot after installing an MSI from a Bundle

More info: The MSI already the following in it.

    <InstallExecuteSequence>
      <ScheduleReboot After="InstallFinalize"/>
    </InstallExecuteSequence>

When you run the MSI directly, it reboots as requested.  When you run it
from within a Bundle, the reboot request is saved for later.   I need it to
happen at once, and for the installer to continue after the reboot.

-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Rick Papo via wix-users
Sent: Friday, September 11, 2020 1:51 PM
To: 'WiX Toolset Users Mailing List' <wix-users at lists.wixtoolset.org>
Cc: rpapo at comcast.net
Subject: [wix-users] Forcing a reboot after installing an MSI from a Bundle

I find information online about how to force a reboot after an <ExePackage> executes, but nothing about how to force an immediate reboot if an <MsiPackage> requests it.  I have a situation where a prerequisite package required for certain machines requires a reboot afterwards.  If that reboot does not happen, then other things (service starts, mainly) will blow up later in the installation.

Any ideas?

--Rick Papo


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


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

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



More information about the wix-users mailing list