summaryrefslogtreecommitdiffstats
path: root/Tools/msi/bundle/packagegroups/crt.wxs
blob: f931da1403b22787b92df152c2c46f8ef61835cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
    <Fragment>
        <PackageGroup Id="crt">
            <MsiPackage Id="ucrt_AllUsers"
                        SourceFile="ucrt.msi"
                        Compressed="no"
                        DownloadUrl="$(var.DownloadUrl)"
                        ForcePerMachine="yes"
                        InstallCondition="InstallAllUsers and not CRTInstalled and (Include_core or Include_exe or Include_pip) and not LauncherOnly">
                <MsiProperty Name="TARGETDIR" Value="[TargetDir]" />
            </MsiPackage>
            <MsiPackage Id="ucrt_JustForMe"
                        SourceFile="ucrt.msi"
                        Compressed="no"
                        DownloadUrl="$(var.DownloadUrl)"
                        ForcePerMachine="no"
                        InstallCondition="not InstallAllUsers and not CRTInstalled and (Include_core or Include_exe or Include_pip) and not LauncherOnly">
                <MsiProperty Name="TARGETDIR" Value="[TargetDir]" />
            </MsiPackage>
        </PackageGroup>
    </Fragment>
</Wix>