diff options
| author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2014-02-27 13:57:54 -0500 |
|---|---|---|
| committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2014-02-28 21:53:59 -0500 |
| commit | 7ace8d588d249f8ef558d59ab9dcb5e48babe55f (patch) | |
| tree | 9293cb45a3c714eef838c53d917cc49939ecc97f /src/mongo/installer/msi/SConscript | |
| parent | 5595b945603b0712c537787e31e6da661c424fee (diff) | |
| download | mongo-7ace8d588d249f8ef558d59ab9dcb5e48babe55f.tar.gz | |
SERVER-12897, SERVER-12894: Various MSI Fixes
1. Fix icon in Add/Remove Programs
2. Community = Install directory is wrong - it includes the word "Legacy"
Diffstat (limited to 'src/mongo/installer/msi/SConscript')
| -rw-r--r-- | src/mongo/installer/msi/SConscript | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/mongo/installer/msi/SConscript b/src/mongo/installer/msi/SConscript index e0b1d70770b..b6ddc026b88 100644 --- a/src/mongo/installer/msi/SConscript +++ b/src/mongo/installer/msi/SConscript @@ -16,6 +16,9 @@ env['WIXCANDLE'] = r'$WIXPATH\candle.exe' env['WIXLIGHT'] = r'$WIXPATH\light.exe' env['WIXUIEXT'] = r'$WIXPATH\WixUIExtension.dll' env['MERGEMODULESBASEPATH'] = os.environ.get('MERGEMODULESBASEPATH') +if env['MERGEMODULESBASEPATH'] == None and os.environ.get('ProgramFiles(x86)') != None: + env['MERGEMODULESBASEPATH'] = (os.environ.get('ProgramFiles(x86)') + + r"\Common Files\Merge Modules") sources = [ "wxs/BinaryFragment.wxs", "wxs/FeatureFragment.wxs", @@ -31,11 +34,11 @@ buildDir = Dir(env["BUILD_DIR"]).path enterprisebase = 'src\mongo\db\modules\enterprise' -# Set up parameters to pass to wix - +# Set up parameters to pass to wix - # # msi_edition - "Enterprise" or "Standard" # msi_platform - "x64" or "x86" -# msi_flavor - "2008R2Plus" or "" +# msi_flavor - "2008R2Plus" or "" # @@ -53,7 +56,7 @@ else: msi_flavor = '' else: msi_platform = 'x64' - if env.get('WIN_VERSION_MIN') == 'ws08r2': + if env.get('WIN_VERSION_MIN') == 'ws08r2' or env.get('WIN_VERSION_MIN') == 'win7': msi_flavor = '2008R2Plus' else: msi_flavor = 'Legacy' @@ -66,7 +69,7 @@ else: objects.append("$BUILD_DIR/msi/Installer.wixobj") # candle: compile .wxs files into .wixobjs -env.Command(objects, +env.Command(objects, sources, '"$WIXCANDLE" -wx' # cannot have anything other than x.x.x.x in version string. |
