seb-win-refactoring/SetupBundle/DotNetFramework.wxs

23 lines
1.1 KiB
Text
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
<Fragment>
<util:RegistrySearchRef Id="NETFRAMEWORK45" />
<Variable Name="DotNetMinimumVersion" Type="numeric" Value="528040" />
<PackageGroup Id="DotNetFramework">
<ExePackage Id="NetFx48Web"
Compressed="yes"
DetectCondition="NETFRAMEWORK45 >= DotNetMinimumVersion"
InstallCommand="/q /norestart /ChainingPackage &quot;[WixBundleName]&quot;"
Name="ndp48-web.exe"
PerMachine="yes"
Permanent="yes"
Protocol="netfx4"
RepairCommand="/q /norestart /repair /ChainingPackage &quot;[WixBundleName]&quot;"
SourceFile="C:\Temp\ndp48-web.exe"
UninstallCommand="/uninstall /q /norestart /ChainingPackage &quot;[WixBundleName]&quot;"
Vital="yes">
</ExePackage>
</PackageGroup>
</Fragment>
</Wix>