[wix-users] Prerequisite bootstrapper application with /norestart option gets stuck in an infinite installation loop

Gerhard Matzen gmatzen at osisoft.com
Wed Apr 19 07:44:47 PDT 2017


Thank you for your quick response (yet again), Julius!

I realize that this thread started by asking about 4.6.2, but to speak to my specific bootstrapper I'm installing DotNet 4.6 and also requiring DotNet 4.6 in the BootstrapperCore.config.
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" />

I could see how specifying an incorrect SKU could cause this infinite loop problem to occur every time, but I see the infinite loop problem only in very specific situations.
1.  A reboot is needed for the DotNet framework.
2. The DotNet framework is completely unusable until the reboot is completed.

Regards,
Gerhard
 
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Julius Zint
Sent: Wednesday, April 19, 2017 6:56 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Prerequisite bootstrapper application with /norestart option gets stuck in an infinite installation loop

Im not sure wheter this applies to your problem, but when my Bootstrapper entered this infinite loop, it was because i failed to specify the sku from the SupportedRuntime Element in BootstrapperCore.config like:

<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/>

I shipped my installer with .Net Framework 4.6.2 and with the sku set to the Version i was installing as a prequisite everything worked as expected.

Greetings Julius

------ Originalnachricht ------
Von: "Gerhard Matzen" <gmatzen at osisoft.com>
An: "WiX Toolset Users Mailing List" <wix-users at lists.wixtoolset.org>
Cc: "Moshe Sivan" <msivan at microsoft.com>; "Sivan Krigsman" 
<sivank at microsoft.com>
Gesendet: 19.04.2017 15:26:16
Betreff: Re: [wix-users] Prerequisite bootstrapper application with /norestart option gets stuck in an infinite installation loop

>If it is useful, here are some additional details that I have 
>documented for the infinite loop.
>
>An infinite loop is possible for silent installations when the 
>/norestart flag is specified.
>
>The following conditions are necessary:
>1. The DotNet 4.6 prerequisite is not installed.
>2.  Setup is run silently with the /norestart flag.  For example:
>      "MySetupProgram.exe" /silent /norestart 3. After the DotNet 4.6 
>prerequisite is installed the Managed Bootstrapper application must 
>fail to load.  (That is, a reboot is really necessary in order for 
>DotNet 4.6 to be functional.)
>
>This problem can be reproduced on Windows Server 2012 R2 where DotNet
>4.6 is not installed.  The problem does not appear to occur on any 
>other operating system.  For example, even if a reboot is needed on 
>Windows Server 2008 R2, the DotNet 4.6 installation appears to be at 
>least functional without needing a reboot.
>
>
>From: Gerhard Matzen
>Sent: Wednesday, April 19, 2017 6:20 AM
>To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
>Cc: Moshe Sivan <msivan at microsoft.com>; Sivan Krigsman 
><sivank at microsoft.com>
>Subject: Re: [wix-users] Prerequisite bootstrapper application with 
>/norestart option gets stuck in an infinite installation loop
>
>Yes. I encounter the infinite loop with my bootstrapped as well. We 
>install DotNet 4.6 as a prerequisite,  not DotNet 4.6.2, but otherwise 
>the problem is the same.  I could not find a good workaround. Lamely, I 
>simply do not document the /norestart flag.
>
>
>
>Sent from my Verizon, Samsung Galaxy smartphone
>
>
>-------- Original message --------
>From: Roni Fuchs <ronif at microsoft.com<mailto:ronif at microsoft.com>>
>Date: 4/19/17 5:07 AM (GMT-08:00)
>To: WiX Toolset Users Mailing List
><wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>>
>Cc: Moshe Sivan <msivan at microsoft.com<mailto:msivan at microsoft.com>>,
>Sivan Krigsman <sivank at microsoft.com<mailto:sivank at microsoft.com>>
>Subject: [wix-users] Prerequisite bootstrapper application with 
>/norestart option gets stuck in an infinite installation loop
>
>We have a BA installing .Net 4.6.2 as a prerequisite.
>When we pass the /norestart flag to the BA and a prereq package 
>requires restart (.Net in this case), The BA gets stuck in an infinite 
>loop of restarting the BA and trying to reinstall the prereqs which 
>return RestartRequired (3010) to the BA.
>
>I also saw there is an issue open here (1-year-old): 
>https://github.com/wixtoolset/issues/issues/5286.
>
>Has anyone encountered this as well?
>Is there any plan to solve it or a known workaround?
>
>Thanks,
>
>Roni (Aron) Fuchs
>
>
>____________________________________________________________________
>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