New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document how to include NetFx redist packages in how-to #4520
Comments
Please add a full log so we can see everything leading up to the plan.
|
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.
|
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.
|
We'd take this if we rebuild v3.9. |
Should go to v3.10.
|
|
|
|
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
The text was updated successfully, but these errors were encountered: