WiX: .Net 3.5 prerequisite
Posted
by Mike Pateras
on Stack Overflow
See other posts from Stack Overflow
or by Mike Pateras
Published on 2010-03-29T22:10:36Z
Indexed on
2010/03/29
22:13 UTC
Read the original article
Hit count: 241
I have a WiX installer that I would like to check for .Net 3.5, and install it if it does not exist. I have the following lines in my wixproj file:
<BootstrapperFile Include="Microsoft.Net.Framework.3.5">
<ProductName>.NET Framework 3.5</ProductName>
</BootstrapperFile>
<BootstrapperFile Include="Microsoft.Windows.Installer.3.1">
<ProductName>WIndows Installer 3.1</ProductName>
</BootstrapperFile>
When I create the installer, a DotNetFX35 folder is created, and in it are 4 different versions of .Net (including 3.5), and an installer file.
I have two questions:
How do I have it only bring in version 3.5 (so that the user doesn't have to install 100+ MB of files)?
How do I tell WiX to package these files up into the MSI file, so that the user only has to download 1 file?
© Stack Overflow or respective owner