1<?xml version="1.0"?>
2<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
3    <Fragment>
4        <PackageGroup Id="launcher">
5            <!-- The All Users launcher is always the 32-bit version -->
6            <MsiPackage Id="launcher_AllUsers"
7                        SourceFile="!(bindpath.build32)en-us\launcher.msi"
8                        Compressed="$(var.CompressMSI)"
9                        DownloadUrl="$(var.DownloadUrl)"
10                        ForcePerMachine="yes"
11                        EnableFeatureSelection="yes"
12                        Permanent="yes"
13                        Visible="yes"
14                        InstallCondition="(InstallAllUsers or InstallLauncherAllUsers) and Include_launcher and not DetectedLauncher">
15                <?if $(var.Platform)~="ARM64" ?>
16                <MsiProperty Name="ARM64_SHELLEXT" Value="1" />
17                <?endif ?>
18            </MsiPackage>
19
20            <MsiPackage Id="launcher_JustForMe"
21                        SourceFile="!(bindpath.build32)en-us\launcher.msi"
22                        Compressed="$(var.CompressMSI)"
23                        DownloadUrl="$(var.DownloadUrl)"
24                        ForcePerMachine="no"
25                        EnableFeatureSelection="yes"
26                        Permanent="yes"
27                        Visible="yes"
28                        InstallCondition="not (InstallAllUsers or InstallLauncherAllUsers) and Include_launcher and not DetectedLauncher">
29                <?if $(var.Platform)~="ARM64" ?>
30                <MsiProperty Name="ARM64_SHELLEXT" Value="1" />
31                <?endif ?>
32            </MsiPackage>
33        </PackageGroup>
34    </Fragment>
35</Wix>