summaryrefslogtreecommitdiff
path: root/Tools/msi/build.bat
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2015-08-15 14:38:16 -0700
committerSteve Dower <steve.dower@microsoft.com>2015-08-15 14:38:16 -0700
commitea9ec775fca1fbbac37747aedb9abb8babfe5314 (patch)
tree3a363d9dd7b884a6ab8a3d2da450eb5b830d9a0d /Tools/msi/build.bat
parent17926be3c170c81615c3a1fa3eb9546d1f271f40 (diff)
downloadcpython-ea9ec775fca1fbbac37747aedb9abb8babfe5314.tar.gz
Enables building compressed Windows test builds with --pack option.
Diffstat (limited to 'Tools/msi/build.bat')
-rw-r--r--Tools/msi/build.bat8
1 files changed, 7 insertions, 1 deletions
diff --git a/Tools/msi/build.bat b/Tools/msi/build.bat
index 5ae512fbbe..716934ae70 100644
--- a/Tools/msi/build.bat
+++ b/Tools/msi/build.bat
@@ -7,6 +7,7 @@ set BUILDX86=
set BUILDX64=
set BUILDDOC=
set BUILDPX=
+set BUILDPACK=
:CheckOpts
if "%~1" EQU "-h" goto Help
@@ -14,6 +15,7 @@ if "%~1" EQU "-x86" (set BUILDX86=1) && shift && goto CheckOpts
if "%~1" EQU "-x64" (set BUILDX64=1) && shift && goto CheckOpts
if "%~1" EQU "--doc" (set BUILDDOC=1) && shift && goto CheckOpts
if "%~1" EQU "--test-marker" (set BUILDPX=1) && shift && goto CheckOpts
+if "%~1" EQU "--pack" (set BUILDPACK=1) && shift && goto CheckOpts
if not defined BUILDX86 if not defined BUILDX64 (set BUILDX86=1) && (set BUILDX64=1)
@@ -41,6 +43,9 @@ set BUILD_CMD="%D%bundle\snapshot.wixproj"
if defined BUILDPX (
set BUILD_CMD=%BUILD_CMD% /p:UseTestMarker=true
)
+if defined BUILDPACK (
+ set BUILD_CMD=%BUILD_CMD% /p:Pack=true
+)
if defined BUILDX86 (
"%PCBUILD%win32\python.exe" "%D%get_wix.py"
@@ -56,9 +61,10 @@ if defined BUILDX64 (
exit /B 0
:Help
-echo build.bat [-x86] [-x64] [--doc] [-h] [--test-marker]
+echo build.bat [-x86] [-x64] [--doc] [-h] [--test-marker] [--pack]
echo.
echo -x86 Build x86 installers
echo -x64 Build x64 installers
echo --doc Build CHM documentation
echo --test-marker Build installers with 'x' markers
+echo --pack Embed core MSIs into installer