<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
    <Product Name="Safe Exam Browser ($(var.Platform))" Manufacturer="ETH Zürich" Language="1033" Codepage="1252"
             Id="*" Version="!(bind.fileVersion.MainExecutable)" UpgradeCode="97A8B13E-48FB-4BE1-A7C2-DD1863F95CCB">
        <Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
        <MediaTemplate EmbedCab="yes" />
        <UIRef Id="WixUI_Minimal" />
        <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." AllowSameVersionUpgrades="yes" />
        <Icon Id="ApplicationIcon" SourceFile="Resources\Application.ico" />
        <Icon Id="ConfigurationToolIcon" SourceFile="Resources\ConfigurationTool.ico" />
        <Icon Id="ResetUtilityIcon" SourceFile="Resources\ResetUtility.ico" />
        <Property Id="ARPPRODUCTICON" Value="ApplicationIcon" />
        <WixVariable Id="WixUILicenseRtf" Value="Resources\License.rtf" />
        <WixVariable Id="WixUIBannerBmp" Value="Resources\Banner.bmp" />
        <WixVariable Id="WixUIDialogBmp" Value="Resources\Dialog.bmp" />
        <Feature Id="ProductFeature" Title="Safe Exam Browser" Level="1">
            <ComponentGroupRef Id="ApplicationComponents" />
            <ComponentGroupRef Id="ConfigurationComponents" />
            <ComponentGroupRef Id="ResetComponents" />
            <ComponentGroupRef Id="ServiceComponents" />
            <ComponentRef Id="ShortcutComponent" />
        </Feature>
        <InstallExecuteSequence>
            <Custom Action="LegacyCleanupAction" After="RemoveFiles" />
        </InstallExecuteSequence>
    </Product>
</Wix>
