summaryrefslogtreecommitdiff
path: root/src/mongo/installer
diff options
context:
space:
mode:
authorSridhar Nanjundeswaran <sridhar@10gen.com>2013-10-09 16:00:24 -0700
committerSridhar Nanjundeswaran <sridhar@10gen.com>2013-10-10 15:25:08 -0700
commita02bfe597b6d703741b96f1a8fcbe1279b946c58 (patch)
treecf10543f6c1b4b045ca2a1b3f016f41f335ae070 /src/mongo/installer
parent3c469372db7db7a3ce13c59a85a619108b6adec1 (diff)
downloadmongo-a02bfe597b6d703741b96f1a8fcbe1279b946c58.tar.gz
SERVER-10883 - different install directories for 2008R2+ and non 2008R2 builds
Diffstat (limited to 'src/mongo/installer')
-rw-r--r--src/mongo/installer/msi/wxs/Installer_64.wxs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mongo/installer/msi/wxs/Installer_64.wxs b/src/mongo/installer/msi/wxs/Installer_64.wxs
index ddee9c65eef..7ed9ab02f72 100644
--- a/src/mongo/installer/msi/wxs/Installer_64.wxs
+++ b/src/mongo/installer/msi/wxs/Installer_64.wxs
@@ -8,7 +8,11 @@
UpgradeCode="$(var.UpgradeCode)">
<Package InstallerVersion="405" Compressed="yes" Platform="x64"/>
- <WixVariable Id="InstallFolder" Value="MongoDB $(var.MongoDBVersion) $(var.Edition)"/>
+ <?if $(var.Flavor) = 2008R2Plus?>
+ <WixVariable Id="InstallFolder" Value="MongoDB $(var.MongoDBVersion) $(var.Edition)"/>
+ <?else?>
+ <WixVariable Id="InstallFolder" Value="MongoDB $(var.MongoDBVersion) $(var.Edition) Legacy"/>
+ <?endif?>
<?if $(var.Edition) = Enterprise ?>
<?if $(var.Flavor) = 2008R2Plus?>