[wix-users] EXT: Re: Custom message before/after installing .NET Framework
Vanniekerk, Tyrel (GE Healthcare)
tyrel.vanniekerk at ge.com
Wed Jul 29 13:17:56 PDT 2020
Yes, that second one (5395) seems to be the same issue. The suggested solution also is what our service guys are asking for, basically a button that says "Reboot now" instead "OK".
I will see if I can compile the source on my machine, then look what it would take to make that change.
Thanks.
-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Sean Hall via wix-users
Sent: Wednesday, July 29, 2020 2:17 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Sean Hall <r.sean.hall at gmail.com>
Subject: EXT: Re: [wix-users] Custom message before/after installing .NET Framework
We have two open issues around this that no one has implemented yet -
https://github.com/wixtoolset/issues/issues/3957 and
https://github.com/wixtoolset/issues/issues/5395
On Wed, Jul 29, 2020 at 12:18 PM Vanniekerk, Tyrel (GE Healthcare) via wix-users <wix-users at lists.wixtoolset.org> wrote:
> Hi,
>
> This is probably a rather odd case, but I have a prerequisite set up
> to install .NET Framework 4.8. This works fine most of the time (In
> the field they are saying the installer does not always start back up
> after reboot), but they are unhappy with the message that WiX Toolset
> shows. After the install, it shows a message that says "The requested
> operation is successful. Changes will not be effective until the system is rebooted."
> The message is shown in
> "src\ext\BalExtension\wixstdba\WixStandardBootstrapperApplication.cpp"
> in OnChangeState if a restart is required. Their complaint is that it
> has an OK/Cancel button and when you click OK, it reboots! What else
> were you expecting it to do!!!???!!! Ugh, sorry, sometimes... They
> say it's unexpected. I seriously don't know what they are expecting,
> but there you have it.
>
> Is there any way to show some custom message before or after the .NET
> Framework install starts telling them that it might reboot? Honestly,
> this is so ridiculous it hurts, but that's what they are asking for.
>
> Thanks,
> Tyrel
>
> P.S. This is the code snippet I use for the prerequisite:
>
> <Fragment>
> <util:RegistrySearchRef Id="NETFRAMEWORK45"/>
>
> <WixVariable Id="WixMbaPrereqPackageId" Value="NetFx48Redist" />
> <WixVariable Id="WixMbaPrereqLicenseUrl"
> Value="$(var.NetFx48EulaLink)" Overridable="yes" />
> <WixVariable Id="NetFx48RedistDetectCondition"
> Value="NETFRAMEWORK45 >= $(var.NetFx48MinRelease)" Overridable="yes" />
> <WixVariable Id="NetFx48RedistInstallCondition" Value=""
> Overridable="yes" />
> <WixVariable Id="NetFx48RedistPackageDirectory" Value="redist\"
> Overridable="yes" />
>
> <PackageGroup Id="NetFx48Redist">
> <ExePackage
> InstallCommand="/q /norestart /ChainingPackage
> "[WixBundleName]" /log "[NetFx48FullLog].html""
> RepairCommand="/q /norestart /repair /ChainingPackage
> "[WixBundleName]" /log "[NetFx48FullLog].html""
> UninstallCommand="/uninstall /q /norestart /ChainingPackage
> "[WixBundleName]" /log "[NetFx48FullLog].html""
> PerMachine="yes"
> DetectCondition="!(wix.NetFx48RedistDetectCondition)"
> InstallCondition="!(wix.NetFx48RedistInstallCondition)"
> Id="NetFx48Redist"
> Vital="yes"
> Permanent="yes"
> Protocol="netfx4"
> DownloadUrl="$(var.NetFx48RedistLink)"
> LogPathVariable="NetFx48FullLog"
> Compressed="no"
>
> Name="!(wix.NetFx48RedistPackageDirectory)ndp48-x86-x64-allos-enu.exe">
> <RemotePayload
> CertificatePublicKey="D17AFCE951979605250FAEBAFA7AE974899AED22"
> CertificateThumbprint="C82273A065EC470FB1EBDE846A91E6FFB29E9C12"
> Description="Microsoft .NET Framework 4.8 Setup"
> Hash="8DD233698D5EB4609B86C2AC917279FE39E0EF4C"
> ProductName="Microsoft .NET Framework 4.8"
> Size="117380440"
> Version="4.8.3928.0" />
> </ExePackage>
> </PackageGroup>
> </Fragment>
>
> ____________________________________________________________________
> 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