From 73b7ae2efdc3d996b1b9bda5ea6ac44fa0e81311 Mon Sep 17 00:00:00 2001 From: Andrew Morrow Date: Sat, 25 Mar 2017 13:34:20 -0400 Subject: SERVER-27458 SERVER-28322 Remove outdated builders --- src/mongo/installer/msi/SConscript | 34 +++------------ src/mongo/installer/msi/wxs/Installer.wxs | 65 ---------------------------- src/mongo/installer/msi/wxs/Installer_64.wxs | 26 +++-------- 3 files changed, 13 insertions(+), 112 deletions(-) delete mode 100644 src/mongo/installer/msi/wxs/Installer.wxs (limited to 'src/mongo/installer/msi') diff --git a/src/mongo/installer/msi/SConscript b/src/mongo/installer/msi/SConscript index 563779cf5f4..59a871e978a 100644 --- a/src/mongo/installer/msi/SConscript +++ b/src/mongo/installer/msi/SConscript @@ -41,43 +41,23 @@ enterpriseToolBuildDir = buildDir + r'\mongo\db\modules\enterprise' # msi_flavor - "2008R2Plus" or "" # +msi_flavor = '2008R2Plus' +msi_platform = 'x64' + # Enterprise if 'enterprise' in env['MONGO_MODULES']: msi_edition = 'Enterprise' - msi_flavor = '2008R2Plus' - msi_platform = 'x64' upgrade_code = '822C75A4-40BA-456B-91D3-C339155F0F90' # Community else: if has_option('ssl'): msi_edition = 'SSL' + upgrade_code = 'FDAA2775-060E-4C54-9C19-A84197F3070D' else: msi_edition = 'Standard' - if env['TARGET_ARCH'] == 'i386': - msi_platform = 'x86' - msi_flavor = '' - upgrade_code = '480C63DF-8F9F-46BE-BD24-F16E9E992F4D' - else: - msi_platform = 'x64' - if env.get('WIN_VERSION_MIN') == 'ws08r2' or env.get('WIN_VERSION_MIN') == 'win7': - msi_flavor = '2008R2Plus' - if msi_edition == 'SSL': - upgrade_code = 'FDAA2775-060E-4C54-9C19-A84197F3070D' - else: - upgrade_code = '7BCCBD4E-AC8A-48BC-9922-E9EBB158A060' - else: - msi_flavor = 'Legacy' - upgrade_code = '3433D310-B4A0-4E5B-BB38-34FC140F06F1' - -if 'msi' in BUILD_TARGETS and msi_edition == 'SSL' and msi_flavor != '2008R2Plus': - print "Building the MongoDB SSL MSI is only supported on Windows 2008 R2+ or Windows 7+ platforms." - print "You must add --win-version-min=ws08r2 to your scons flags" - exit(1) - -if msi_platform == 'x64': - sourcesList.append("Installer_64.wxs") -else: - sourcesList.append("Installer.wxs") + upgrade_code = '7BCCBD4E-AC8A-48BC-9922-E9EBB158A060' + +sourcesList.append("Installer_64.wxs") sources = ["wxs/" + file for file in sourcesList] objects = ["$BUILD_DIR/msi/" + file.replace(".wxs", ".wixobj") for file in sourcesList] diff --git a/src/mongo/installer/msi/wxs/Installer.wxs b/src/mongo/installer/msi/wxs/Installer.wxs deleted file mode 100644 index 634566793a6..00000000000 --- a/src/mongo/installer/msi/wxs/Installer.wxs +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Installed OR (NOT MONGO_MULTIPLE_SKU OR MONGO_MULTIPLE_SKU = "!(wix.ProductMajorName)") - - - diff --git a/src/mongo/installer/msi/wxs/Installer_64.wxs b/src/mongo/installer/msi/wxs/Installer_64.wxs index 3cac7a33378..83426028ad6 100644 --- a/src/mongo/installer/msi/wxs/Installer_64.wxs +++ b/src/mongo/installer/msi/wxs/Installer_64.wxs @@ -12,28 +12,14 @@ - - - - - - - + + - - - - - - + + - - - - - - - + +