Reputation: 254
I am using WiX
to install my app that needs SQL Express 2008R2
, but SQL
uses .NET Framework 3.5
. Framework 3.5
in Windows 10
is installed from 'Add/Remove Windows Components'. When I try to open dotnetfx35.exe
it can't be opened, but when I run installation from Wix I see this installation log. Why .NET Framework 3.5
cannot be installed? How can I install .NET-3.5
on Windows 10
and Windows 7
offline?
Upvotes: 0
Views: 1030
Reputation: 443
You'll need to use a WiX Bundle installer to group the SQL Express installer with an offline installer for the correct version of the .NET framework:
<Bundle Name="MyInstaller" Version="1.1.1.0" Manufacturer="MyCompany" UpgradeCode="YOUR-GUID-HERE">
<Chain>
<ExePackage Id="SQLInstaller" SourceFile="Files\SQLInstaller.exe"/>
<ExePackage Id="NETInstaller" SourceFile="Files\NETInstaller.exe"/>
</Chain>
</Bundle>
This assumes that the two installers you wish to chain together are both .exe files. If either is an .msi file, use a corresponding <MsiPackage .../
> element instead.
Upvotes: 1