• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0"?>
2<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
3    <Fragment>
4        <PackageGroup Id="exe">
5            <MsiPackage Id="exe_AllUsers"
6                        SourceFile="exe.msi"
7                        ForcePerMachine="yes"
8                        Compressed="$(var.CompressMSI)"
9                        DownloadUrl="$(var.DownloadUrl)"
10                        EnableFeatureSelection="yes"
11                        InstallCondition="InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and not LauncherOnly">
12                <MsiProperty Name="TARGETDIR" Value="[TargetDir]" />
13                <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" />
14            </MsiPackage>
15            <MsiPackage Id="exe_AllUsers_pdb"
16                        SourceFile="exe_pdb.msi"
17                        ForcePerMachine="yes"
18                        Compressed="$(var.CompressPDB)"
19                        DownloadUrl="$(var.DownloadUrl)"
20                        InstallCondition="InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and Include_symbols and not LauncherOnly">
21                <MsiProperty Name="TARGETDIR" Value="[TargetDir]" />
22                <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" />
23            </MsiPackage>
24            <MsiPackage Id="exe_AllUsers_d"
25                        SourceFile="exe_d.msi"
26                        ForcePerMachine="yes"
27                        Compressed="$(var.CompressMSI_D)"
28                        DownloadUrl="$(var.DownloadUrl)"
29                        InstallCondition="InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and Include_debug and not LauncherOnly">
30                <MsiProperty Name="TARGETDIR" Value="[TargetDir]" />
31                <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" />
32            </MsiPackage>
33
34            <MsiPackage Id="exe_JustForMe"
35                        SourceFile="exe.msi"
36                        ForcePerMachine="no"
37                        Compressed="$(var.CompressMSI)"
38                        DownloadUrl="$(var.DownloadUrl)"
39                        EnableFeatureSelection="yes"
40                        InstallCondition="not InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and not LauncherOnly">
41                <MsiProperty Name="TARGETDIR" Value="[TargetDir]" />
42                <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" />
43            </MsiPackage>
44            <MsiPackage Id="exe_JustForMe_pdb"
45                        SourceFile="exe_pdb.msi"
46                        ForcePerMachine="no"
47                        Compressed="$(var.CompressPDB)"
48                        DownloadUrl="$(var.DownloadUrl)"
49                        InstallCondition="not InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and Include_symbols and not LauncherOnly">
50                <MsiProperty Name="TARGETDIR" Value="[TargetDir]" />
51                <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" />
52            </MsiPackage>
53            <MsiPackage Id="exe_JustForMe_d"
54                        SourceFile="exe_d.msi"
55                        ForcePerMachine="no"
56                        Compressed="$(var.CompressMSI_D)"
57                        DownloadUrl="$(var.DownloadUrl)"
58                        InstallCondition="not InstallAllUsers and (Include_exe or Include_launcher or Include_pip) and Include_debug and not LauncherOnly">
59                <MsiProperty Name="TARGETDIR" Value="[TargetDir]" />
60                <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" />
61            </MsiPackage>
62        </PackageGroup>
63    </Fragment>
64</Wix>