Files

57 lines
2.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"
xmlns:ui="http://wixtoolset.org/schemas/v4/wxs/ui">
<Package Name="pkgconf @VERSION@ ($(sys.BUILDARCH))"
Language="1033"
Version="@VERSION@"
Manufacturer="pkgconf"
UpgradeCode="4faedad2-3f9d-45cc-89a7-3732ad2db0f7"
InstallerVersion="200"
Compressed="yes"
Scope="perMachine">
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
<MediaTemplate EmbedCab="yes" />
<Feature Id="ProductFeature" Title="pkgconf" Level="1">
<ComponentGroupRef Id="ProductComponents" />
</Feature>
<StandardDirectory Id="ProgramFiles6432Folder">
<Directory Id="INSTALLFOLDER" Name="pkgconf @VERSION@" />
</StandardDirectory>
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
<Component Id="PkgconfExe" Guid="*">
<File Id="PkgconfExeFile"
Source="@EXE@"
KeyPath="yes" />
<Environment Id="PATH"
Name="PATH"
Value="[INSTALLFOLDER]"
Permanent="no"
Part="last"
Action="set"
System="yes" />
</Component>
<Component Id="PkgconfigExe" Guid="*">
<File Id="PkgconfigExeFile"
Name="pkg-config.exe"
Source="@EXE@"
KeyPath="yes" />
</Component>
<?if "@BUILD_TYPE@" = "shared" ?>
<Component Id="PkgconfDll" Guid="*">
<File Id="PkgconfDllFile"
Source="@DLL@"
KeyPath="yes" />
</Component>
<?endif?>
</ComponentGroup>
<ui:WixUI Id="WixUI_Minimal" InstallDirectory="INSTALLFOLDER" />
<WixVariable Id="WixUILicenseRtf" Value="@LICENSE_RTF@" />
</Package>
</Wix>