Packages the VC++ redistributable and installs it as part of the toolchain install on Windows, since this is a dependency. Note that this will pop a UAC prompt because that installer is per-machine.
This is the Microsoft-recommended approach: run the vcredist installer to install it globally (which makes it serviceable by microsoft), and don't uninstall it when uninstalling the toolchain since other apps may depend on it.
This requires build script changes to take effect, but is backwards compatible with build scripts that don't specify the new properties.
I consciously departed from ALL_CAPS naming of properties because the MSBuild standard is PascalCase and the logic in installer.wixproj was looking really ugly otherwise.
How tested:
Built with and without build script changes, uninstalled the VC runtime, installed the Swift toolchain, and verified that the VC runtime was installed in Add/Remove programs:
Packages the VC++ redistributable and installs it as part of the toolchain install on Windows, since this is a dependency. Note that this will pop a UAC prompt because that installer is per-machine.
This is the Microsoft-recommended approach: run the vcredist installer to install it globally (which makes it serviceable by microsoft), and don't uninstall it when uninstalling the toolchain since other apps may depend on it.
This requires build script changes to take effect, but is backwards compatible with build scripts that don't specify the new properties.
I consciously departed from
ALL_CAPS
naming of properties because the MSBuild standard isPascalCase
and the logic ininstaller.wixproj
was looking really ugly otherwise.How tested:
Built with and without build script changes, uninstalled the VC runtime, installed the Swift toolchain, and verified that the VC runtime was installed in Add/Remove programs: