summaryrefslogtreecommitdiffstats
path: root/Tools/msi/bundle/packagegroups/doc.wxs
blob: 2f11e27a925ce1ee0db35f95cfd0c59d89f8713a (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
<?xml version="1.0"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
    <Fragment>
        <PackageGroup Id="doc">
            <MsiPackage Id="doc_AllUsers"
                        SourceFile="doc.msi"
                        Compressed="$(var.CompressMSI)"
                        DownloadUrl="$(var.DownloadUrl)"
                        EnableFeatureSelection="yes"
                        ForcePerMachine="yes"
                        InstallCondition="InstallAllUsers and Include_doc">
                <MsiProperty Name="TARGETDIR" Value="[TargetDir]" />
                <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" />
            </MsiPackage>
            
            <MsiPackage Id="doc_JustForMe"
                        SourceFile="doc.msi"
                        Compressed="$(var.CompressMSI)"
                        DownloadUrl="$(var.DownloadUrl)"
                        EnableFeatureSelection="yes"
                        ForcePerMachine="no"
                        InstallCondition="not InstallAllUsers and Include_doc">
                <MsiProperty Name="TARGETDIR" Value="[TargetDir]" />
                <MsiProperty Name="OPTIONALFEATURESREGISTRYKEY" Value="[OptionalFeaturesRegistryKey]" />
            </MsiPackage>
        </PackageGroup>
    </Fragment>
</Wix>