How to package the .NET Framework redistributable #8964
Replies: 2 comments 3 replies
-
IIRC, that's a new check in WiX v4+ catching a mistake that v3 didn't catch. Not sure from your snippet of code what is creating the issue. More context is probably necessary. |
Beta Was this translation helpful? Give feedback.
-
The Bundle.wxs (coming from WiX 3.x) contained the following (in accordance with the WiX 3.x documentation)
and
I then used the HeatWave plugin to migrate the project from 3.x to 4.0.6 which migrated both the .wixproj and the Bundle.wxs to the new version. The .wixproj now has a NuGet reference to
That's about it. Trying to compile this Bundle.wxs leads to the error mentioned above. Which makes sense, since |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm migrating older WiX 3.x projects to WiX 4.x (as a first step), one of them included the .NET Framework redistributable. In WiX 3.x there was a way to package the redistributable but after migrating the project to WiX 4.x this results in an error
When I simply remove the
<PackageGroupRef Id="NetFx472RedistPayload"/>
from my bundle, theNDP472-KB4054530-x86-x64-AllOS-ENU.exe
will simply not be included in my bundle, i.e. it will be missing from my bundle and will be be downloaded on the end-user's machine I guess. How to package the .NET Framework redistributable with my bundle in WiX 4+?Beta Was this translation helpful? Give feedback.
All reactions