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

            <MsiPackage Id="launcher_JustForMe"
                        SourceFile="!(bindpath.build32)en-us\launcher.msi"
                        Compressed="$(var.CompressMSI)"
                        DownloadUrl="$(var.DownloadUrl)"
                        ForcePerMachine="no"
                        EnableFeatureSelection="yes"
                        Permanent="yes"
                        Visible="yes"
                        InstallCondition="not (InstallAllUsers or InstallLauncherAllUsers) and Include_launcher and not BlockedLauncher">
                <?if $(var.Platform)~="ARM64" ?>
                <MsiProperty Name="ARM64_SHELLEXT" Value="1" />
                <?endif ?>
            </MsiPackage>
        </PackageGroup>
    </Fragment>
</Wix>