49 lines
1.7 KiB
XML
49 lines
1.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
|
|
<?include $(sys.CURRENTDIR)\Config.wxi?>
|
|
<Product Id="*"
|
|
Name="$(var.InstallName)"
|
|
Language="1033"
|
|
Version="$(var.ProductVersion)"
|
|
Manufacturer="$(var.Manufacturer)"
|
|
UpgradeCode="$(var.UpgradeCode)">
|
|
<Package InstallerVersion="200" Compressed="yes" InstallScope="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>
|
|
|
|
<Condition Message="This application requires Ascom Platform 6.4 SP1 or higher. Please install this before installing the driver.">
|
|
<![CDATA[Installed OR ASCOMPLATFORMVERSION >= "6.4.1"]]>
|
|
</Condition>
|
|
|
|
<PropertyRef Id="NETFRAMEWORK40FULL"/>
|
|
<Condition Message="This application requires .NET Framework 4.5 or higher. Please install the .NET Framework then run this installer again.">
|
|
<![CDATA[Installed OR NETFRAMEWORK45FULL]]>
|
|
</Condition>
|
|
|
|
<!-- <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"/>
|
|
</Product>
|
|
</Wix>
|