[wix-users] 4.6 .Net Prereq and Burn
Phill Hogland
phill.hogland at rimage.com
Wed Aug 17 08:18:58 PDT 2016
>>What do I need to tweak so that if user cancels installation after 4.6's installation is done, the bundle does not get added to the list of installed programs?
I'm not aware of anything. Burn register's the bundle because part of your chain is installed, even if you canceled processing the rest of the chain before one of your msi's was installed.
________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Patterson, Brent <bcpatterson at xactware.com>
Sent: Wednesday, August 17, 2016 9:52:21 AM
To: WiX Toolset Users Mailing List
Subject: Re: [wix-users] 4.6 .Net Prereq and Burn
Found something interesting while testing this. If I run the installer, it shows 4.6 install prompt then after 4.6 is installed, the installer burn UI shows up afterwards but I cancel it before installing my program, the program shows up in list of uninstall. Attempting to uninstall shows "Install", not "Uninstall". Apparently installing 4.6 pre-req also installs the bundle, but not the MSI.
This is what I have in the chain:
<Chain>
<PackageGroupRef Id="WindowsInstaller45"/>
<PackageGroupRef Id="NetFx46Web"/>
<MsiPackage SourceFile="{PATH_TO_BASE_MSI}" Compressed="no" Vital="yes">
<MsiProperty Name="INSTALLLOCATION" Value="[InstallFolder]"/>
<MsiProperty Name="INSTALLLANGUAGE" Value="[InstallLanguage]"/>
<MsiProperty Name="SKIPBACKUP" Value="[SkipBackup]"/>
</MsiPackage>
<MspPackage SourceFile="{PATH_TO_PATCH_MSP}" Compressed="no" Slipstream="yes" />
</Chain>
What do I need to tweak so that if user cancels installation after 4.6's installation is done, the bundle does not get added to the list of installed programs?
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Patterson, Brent
Sent: Wednesday, August 17, 2016 8:32 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] 4.6 .Net Prereq and Burn
Doh! I missed that when I updated from 4.5.2 to 4.6. That did the trick! Simon, you're awesome! Thanks! :)
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Simon Palmer
Sent: Tuesday, August 16, 2016 8:34 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] 4.6 .Net Prereq and Burn
What about the supported run time version in the Bootstrapper config?
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" />
</startup>
Simon Palmer
Principal Engineer
acQuire Technology Solutions Pty Ltd
T: +61 8 9316 6600
F: +61 8 9316 6699
E: s.palmer at acquire.com.au
W: www.acquire.com.au<http://www.acquire.com.au>
24 Moreau Mews, Applecross, Western Australia 6153 | PO Box 933, Canning Bridge, Western Australia 6153 AUSTRALIA | BRAZIL | CANADA | CHILE | SOUTH AFRICA | UNITED KINGDOM acQuire Foundation (ACQ1000) Perth - September 27th to 30th, 2016 This email (including all attachments) is the sole property of acQuire Technology Solutions Pty Ltd and may be confidential. If you are not the intended recipient, you must not use or forward the information contained in it. This message may not be reproduced or otherwise republished without the written consent of the sender. If you have received this message in error, please delete the email and notify the sender. To view our Privacy Policy please visit http://www.acquire.com.au/acquire_privacy_policy.pdf
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Patterson, Brent
Sent: Tuesday, 16 August 2016 11:43 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] 4.6 .Net Prereq and Burn
I added your line, but it still doesn't work when 4.5.2 or earlier is installed. Again, this isn't the MSI, but burn bundle that I'm performing the 4.6 .NET prereq check/install. This is an issue because the installer uses elements of 4.6 .NET, so it need to be installed before the bootstrapper shows up.
Thanks!
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Patterson, Brent
Sent: Tuesday, August 16, 2016 9:07 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] 4.6 .Net Prereq and Burn
I believe that is for MSI? I'm trying to do this with a burn bundle that wraps the MSI. But I'll add this and give it a try.
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Simon Palmer
Sent: Monday, August 15, 2016 8:22 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] 4.6 .Net Prereq and Burn
Hi,
Have you checked the value of the WixVariable NetFx46WebInstallCondition?
I set
<WixVariable Id=" NetFx46WebInstallCondition " Value="WIX_IS_NETFRAMEWORK_46_OR_LATER_INSTALLED <> 1"/>
Simon.
Simon Palmer
Principal Engineer
acQuire Technology Solutions Pty Ltd
T: +61 8 9316 6600
F: +61 8 9316 6699
E: s.palmer at acquire.com.au
W: www.acquire.com.au<http://www.acquire.com.au>
24 Moreau Mews, Applecross, Western Australia 6153 | PO Box 933, Canning Bridge, Western Australia 6153 AUSTRALIA | BRAZIL | CANADA | CHILE | SOUTH AFRICA | UNITED KINGDOM acQuire Foundation (ACQ1000) Perth - September 27th to 30th, 2016 This email (including all attachments) is the sole property of acQuire Technology Solutions Pty Ltd and may be confidential. If you are not the intended recipient, you must not use or forward the information contained in it. This message may not be reproduced or otherwise republished without the written consent of the sender. If you have received this message in error, please delete the email and notify the sender. To view our Privacy Policy please visit http://www.acquire.com.au/acquire_privacy_policy.pdf
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Patterson, Brent
Sent: Tuesday, 16 August 2016 6:43 AM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] 4.6 .Net Prereq and Burn
Another issue. I updated the bootstrapper burn bundle to install 4.6 instead of 4.5.2 .NET. However, I ran into an issue. 4.6 does not install if any version of 4.X is installed already. Only if none of the 4.X exists, then does it prompt to install 4.6. This isn't for MSI, but for the bootstrapper bundle.
I looked, and found previous email conversations about this, but it didn't resolve my issue. I'm using 3.10.3 WiX, should I update to 3.11 to resolve this? Or is this a bug?
I have this in my burn bundle:
<BootstrapperApplicationRef Id="ManagedBootstrapperApplicationHost" >
...
<Payload SourceFile="NDP46-KB3045560-Web.exe" Name="redist\NDP46-KB3045560-Web.exe"/>
...
</BootstrapperApplicationRef>
<Chain>
<PackageGroupRef Id="NetFx46Web"/>
...
</Chain>
________________________________
Xactware's opt-in mailing list allows you to receive Xactware News that is of interest to you. Visit my.xactware.com today to join or to update your email preferences!
________________________________
This email is intended solely for the recipient. It may contain privileged, proprietary or confidential information or material. If you are not the intended recipient, please delete this email and any attachments and notify the sender of the error.
____________________________________________________________________
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/
____________________________________________________________________
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/
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list