summaryrefslogtreecommitdiff
path: root/buildscripts/packaging/msi/wxs/FeatureFragment.wxs
blob: 8fde720108629116ce629634e97ca8e4bac20755 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
  <Fragment>
    <FeatureGroup Id="fg_MongoDBAll">
      <Feature Id="ProductFeature"
               Title="!(wix.ProductName)"
               Description="!(wix.ProductName)"
               Level="1">
        <ComponentRef Id="c_License" />
        <Feature Id="Server"
                 Title ="Server"
                 Description="The MongoDB server (mongod)"
                 Level ="1">
          <ComponentRef Id="c_mongod"/>
          <ComponentRef Id="c_mongodPdb"/>
          <?if $(var.Edition) = Enterprise ?>
            <ComponentGroupRef Id="cg_EnterpriseServer" />
          <?endif ?>
        </Feature>
        <Feature Id="Client"
                 Title ="Client"
                 Description="The MongoDB client/shell (mongo)"
                 Level ="1">
          <ComponentRef Id="c_mongo"/>
          <?if $(var.Edition) = Enterprise ?>
            <ComponentGroupRef Id="cg_EnterpriseBase" />
          <?endif ?>
        </Feature>
        <Feature Id="MonitoringTools"
                 Title ="Monitoring Tools"
                 Description="MongoDB monitoring tools (mongostat, mongotop)"
                 Level ="1">
          <ComponentRef Id="c_mongostat"/>
          <ComponentRef Id="c_mongotop"/>
          <?if $(var.Edition) = Enterprise ?>
            <ComponentGroupRef Id="cg_EnterpriseBase" />
          <?endif ?>
        </Feature>
        <Feature Id="ImportExportTools"
                 Title ="Import/Export Tools"
                 Description="MongoDB import/export tools (mongodump/mongorestore and mongoexport/mongoimport)"
                 Level ="1">
          <ComponentRef Id="c_mongodump"/>
          <ComponentRef Id="c_mongorestore"/>
          <ComponentRef Id="c_mongoexport"/>
          <ComponentRef Id="c_mongoimport"/>
          <?if $(var.Edition) = Enterprise ?>
            <ComponentGroupRef Id="cg_EnterpriseBase" />
          <?endif ?>
        </Feature>
        <Feature Id="Router"
                 Title ="Router"
                 Description="The MongoDB Router (mongos)"
                 Level ="1000">
          <ComponentRef Id="c_mongos"/>
          <ComponentRef Id="c_mongosPdb"/>
          <?if $(var.Edition) = Enterprise ?>
            <ComponentGroupRef Id="cg_EnterpriseBase" />
          <?endif ?>
        </Feature>     
        <Feature Id="MiscellaneousTools"
                Title ="Miscellaneous Tools"
                Description="Miscellaneous MongoDB tools (bsondump, mongofiles, mongooplog, mongoperf)"
                Level ="1000">
          <ComponentRef Id="c_bsondump"/>
          <ComponentRef Id="c_mongofiles"/>
          <ComponentRef Id="c_mongooplog"/>
          <ComponentRef Id="c_mongoperf"/>
          <?if $(var.Edition) = Enterprise ?>
            <ComponentGroupRef Id="cg_EnterpriseBase" />
          <?endif ?>
        </Feature>
        <Feature Id="CPlusPlusDriver"
                Title ="C++ Driver"
                Description="MongoDB C++ Driver"
                Level ="1000">
          <ComponentRef Id="c_mongoclientlib"/>
          <ComponentRef Id="c_mongoclientdll"/>
          <ComponentRef Id="c_mongoclientpdb"/>
          <ComponentRef Id="c_mongoclientexp"/>
          <?if $(var.Edition) = Enterprise ?>
           <ComponentGroupRef Id="cg_EnterpriseBase" />
          <?endif ?>
        </Feature>
      </Feature>
    </FeatureGroup>
  </Fragment>
</Wix>