Closed wixbot closed 8 years ago
Please add a full log so we can see everything leading up to the plan.
Originally posted by
barnson
In order for the prereq BA to install a package, the package's Id must be assigned to the WixMbaPrereqPackageId WixVariable (you have Netfx451Full but it should be NetFx451Redist, the same as your PackageRef). Or you would have to set the bal:PrereqSupportPackage attribute on the package to 'yes' and make sure the install condition is true.
Originally posted by
rseanhall
Thanks a lot, shall! That was the mistake I made.
I'd like to suggest to add this info to the documentation (as well as the necessity to include the NET installer at Redist\NDP451-KB2858728-x86-x64-AllOS-ENU.exe) because I only found the WixVariables mentioned in a stackoverflow thread.
Originally posted by
js69
We'd take this if we rebuild v3.9.
Should go to v3.10.
Originally posted by
barnson
Status
changed fromOpen
toUntriaged
Release
changed fromv3.9
tov3.10
AssignedTo
set tobobarnson
Originally changed by
barnson
Resolution
set tofixed
Status
changed fromOpen
toResolved
With WiX Toolset 3.9.901:
In a custom BA I'm trying to use NetFxExtension to automatically detect and install the offline version of the .NET Framework 4.5.1 by using . I have included the setup also as payload as "redist\NDP451-KB2858728-x86-x64-AllOS-ENU.exe" as well as setting the variables:
The resulting bootstrapper executable shows the ":NET Framework required" dialog on startup (with EULA link correctly working), but then never actually starts the the NET 4.5.1 setup. From the BA logfile, on Win 7.1 with just NET 3.5:
I suspect this might be caused by a missing part in NetFx451.wxs - compared to the NetFx4.5.wxs (files from wix39-debug.zip) it has no
<Fragment> <util:RegistrySearch Id="NETFRAMEWORK45" ...
The same approach works correctly with NetFx45Redist