• 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="lib">
5            <MsiPackage Id="lib_AllUsers"
6                        SourceFile="lib.msi"
7                        Compressed="$(var.CompressMSI)"
8                        DownloadUrl="$(var.DownloadUrl)"
9                        ForcePerMachine="yes"
10                        InstallCondition="InstallAllUsers and Include_lib and not LauncherOnly">
11                <MsiProperty Name="TARGETDIR" Value="[TargetDir]" />
12                <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" />
13            </MsiPackage>
14            <MsiPackage Id="lib_AllUsers_pdb"
15                        SourceFile="lib_pdb.msi"
16                        Compressed="$(var.CompressPDB)"
17                        DownloadUrl="$(var.DownloadUrl)"
18                        ForcePerMachine="yes"
19                        InstallCondition="InstallAllUsers and Include_lib and Include_symbols and not LauncherOnly">
20                <MsiProperty Name="TARGETDIR" Value="[TargetDir]" />
21                <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" />
22            </MsiPackage>
23            <MsiPackage Id="lib_AllUsers_d"
24                        SourceFile="lib_d.msi"
25                        Compressed="$(var.CompressMSI_D)"
26                        DownloadUrl="$(var.DownloadUrl)"
27                        ForcePerMachine="yes"
28                        InstallCondition="InstallAllUsers and Include_lib and Include_debug and not LauncherOnly">
29                <MsiProperty Name="TARGETDIR" Value="[TargetDir]" />
30                <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" />
31            </MsiPackage>
32
33            <MsiPackage Id="lib_JustForMe"
34                        SourceFile="lib.msi"
35                        Compressed="$(var.CompressMSI)"
36                        DownloadUrl="$(var.DownloadUrl)"
37                        ForcePerMachine="no"
38                        InstallCondition="not InstallAllUsers and Include_lib and not LauncherOnly">
39                <MsiProperty Name="TARGETDIR" Value="[TargetDir]" />
40                <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" />
41            </MsiPackage>
42            <MsiPackage Id="lib_JustForMe_pdb"
43                        SourceFile="lib_pdb.msi"
44                        Compressed="$(var.CompressPDB)"
45                        DownloadUrl="$(var.DownloadUrl)"
46                        ForcePerMachine="no"
47                        InstallCondition="not InstallAllUsers and Include_lib and Include_symbols and not LauncherOnly">
48                <MsiProperty Name="TARGETDIR" Value="[TargetDir]" />
49                <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" />
50            </MsiPackage>
51            <MsiPackage Id="lib_JustForMe_d"
52                        SourceFile="lib_d.msi"
53                        Compressed="$(var.CompressMSI_D)"
54                        DownloadUrl="$(var.DownloadUrl)"
55                        ForcePerMachine="no"
56                        InstallCondition="not InstallAllUsers and Include_lib and Include_debug and not LauncherOnly">
57                <MsiProperty Name="TARGETDIR" Value="[TargetDir]" />
58                <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" />
59            </MsiPackage>
60        </PackageGroup>
61    </Fragment>
62</Wix>