Reputation: 655
I need my installer to install the .Net framework as a prerequisite and according to what Ive found online this is the way to do it:
<Chain>
<PackageGroupRef Id="NetFx45Web" />
<MsiPackage SourceFile="... my msi.." />
</Chain>
However, I get this compilation error:
Error 53 Unresolved reference to symbol 'ChainPackageGroup:NetFx45Web' in section 'Bundle:SetupBootstrapper'. C:\Source\skystoredesktop\SetupBootstrapper\Bundle.wxs 8 1 SetupBootstrapper
What is wrong?
Upvotes: 1
Views: 2551
Reputation: 736
To add the reference through Visual Studio 2019:
C:\Program Files (x86)\WiX Toolset v3.11\bin\WixNetFxExtension.dll
Now the build should work without any error
Upvotes: 0
Reputation: 700
Add a reference to WixNetFxExtension to your bundle project
this can be done on the light command line thus:
light Bundle.wixobj -ext WixNetFxExtension
Upvotes: 7