0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-29 00:32:18 +01:00
mongodb/buildscripts/packaging/msi/build32bitmsi.bat
Sridhar Nanjundeswaran 89d8e55e2e SERVER-9956 - Installer changes for enterprise edition for Windows
1) Changed default install directory
2) C++ driver is now an optional feature that can be installed
3) Enterprise dlls are now installed for enterprise builds

Note: Enterprise is only supported for x64 2008R2+ builds
2013-09-13 12:49:13 -07:00

30 lines
816 B
Batchfile
Executable File

@ECHO OFF
SET VERSION=2.4.0
SET BINDIR=..\..\..\build\win32\normal\mongo
SET CLIENTLIBDIR=..\..\..\build\win32\normal\client_build
SET LICENSEDIR=..\..\..\distsrc
:loop
IF NOT "%1"=="" (
IF "%1"=="-version" (
SET VERSION=%2
SHIFT
)
IF "%1"=="-bindir" (
SET BINDIR=%2
SHIFT
)
IF "%1"=="-licensedir" (
SET LICENSEDIR=%2
SHIFT
)
IF "%1"=="-clientlibdir" (
SET CLIENTLIBDIR=%2
SHIFT
)
SHIFT
GOTO :loop
)
ECHO Building msi for version %VERSION% with binaries from %BINDIR% and license files from %LICENSEDIR%
%WINDIR%\Microsoft.NET\Framework64\v4.0.30319\msbuild /p:Configuration=Release;Version=%VERSION%;License=%LICENSEDIR%;Source=%BINDIR%;ClientSource=%CLIENTLIBDIR% MongoDB.wixproj