Our WiX installer deploys a .NET 4.0 WinForms application to Windows Vista and 7 desktops. The application includes a Portable Class Library that requires a .NET patch (KB24
I achieved this with WiX Burn using the following fragment (using the product codes from @KMoraz):
The util
namespace refers to the Wix Util Extension. You'll need a xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"
in your root element and a reference to WixUtilExtension.dll
.
The installers will be automatically downloaded if required. You need to have the installer files saved locally in the root of your WiX project with the same name as specified by SourceFile
for it to build, but they won't be added to the setup bundle because Compressed
is set to no
.