Files
MeadeGeneric/Meade.net.Setup/Product.wxs
T

52 lines
1.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<?include $(sys.CURRENTDIR)\Config.wxi?>
<Package Name="$(var.InstallName)"
Language="1033"
Version="$(var.ProductVersion)"
Manufacturer="$(var.Manufacturer)"
UpgradeCode="$(var.UpgradeCode)"
InstallerVersion="200"
Compressed="yes"
Scope="perMachine">
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
<MediaTemplate EmbedCab="yes" />
<Property Id="ASCOMPLATFORMVERSION">
<RegistrySearch Id="AscomPlatformVersion"
Root="HKLM"
Key="SOFTWARE\ASCOM\Platform"
Name="Platform Version"
Type="raw" />
</Property>
<Launch Condition="Installed OR ASCOMPLATFORMVERSION >= &quot;6.6.0&quot;"
Message="This application requires Ascom Platform 6.6.0 or higher. Please install this before installing the driver." />
<Property Id="NETFRAMEWORK48RELEASE">
<RegistrySearch Id="NetFramework48Release"
Root="HKLM"
Key="SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full"
Name="Release"
Type="raw" />
</Property>
<Launch Condition="Installed OR (NETFRAMEWORK48RELEASE >= &quot;#528040&quot;)"
Message="This application requires .NET Framework 4.8 or higher. Please install the .NET Framework then run this installer again." />
<!-- <Condition Message="Please use the correct installer for your operating system - x86 for 32-bit, x64 for 64-bit.">
<?if $(var.Win64) = "yes" ?>
VersionNT64
<?else?>
NOT VersionNT64
<?endif?>
</Condition> -->
<UIRef Id="InstallationUI"/>
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLFOLDER" />
<WixVariable Id="WixUILicenseRtf" Value="License.rtf" />
<FeatureGroupRef Id="fgRoot"/>
</Package>
</Wix>