diff options
author | Steve Dower <steve.dower@microsoft.com> | 2016-12-03 19:24:02 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2016-12-03 19:24:02 (GMT) |
commit | 1058109b3182522eaa4357ef99ad22b587d36c73 (patch) | |
tree | 4bdabaa918a109e4c4cc942008d7cc34f7f08d60 /Tools/msi/buildrelease.bat | |
parent | b6a6b45458490c6928e4f915d7bc83b4a7b44799 (diff) | |
parent | 190dbd9ba20610bfd19b2f3544ec9d9d3fd92b0b (diff) | |
download | cpython-1058109b3182522eaa4357ef99ad22b587d36c73.zip cpython-1058109b3182522eaa4357ef99ad22b587d36c73.tar.gz cpython-1058109b3182522eaa4357ef99ad22b587d36c73.tar.bz2 |
Issue #28846: Various installer fixes
Diffstat (limited to 'Tools/msi/buildrelease.bat')
-rw-r--r-- | Tools/msi/buildrelease.bat | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Tools/msi/buildrelease.bat b/Tools/msi/buildrelease.bat index 3254f31..4659a32 100644 --- a/Tools/msi/buildrelease.bat +++ b/Tools/msi/buildrelease.bat @@ -65,6 +65,9 @@ if "%1" NEQ "" echo Invalid option: "%1" && exit /B 1 if not defined BUILDX86 if not defined BUILDX64 (set BUILDX86=1) && (set BUILDX64=1)
+if not exist "%HG%" where hg > "%TEMP%\hg.loc" 2> nul && set /P HG= < "%TEMP%\hg.loc" & del "%TEMP%\hg.loc"
+if not exist "%HG%" echo Cannot find Mercurial on PATH && exit /B 1
+
call "%D%get_externals.bat"
:builddoc
@@ -78,9 +81,6 @@ call "%D%..\..\doc\make.bat" htmlhelp if errorlevel 1 goto :eof
:skipdoc
-where hg > "%TEMP%\hg.loc" 2> nul && set /P HG= < "%TEMP%\hg.loc" & del "%TEMP%\hg.loc"
-if not exist "%HG%" echo Cannot find Mercurial on PATH && exit /B 1
-
where dlltool /q && goto skipdlltoolsearch
set _DLLTOOL_PATH=
where /R "%EXTERNALS%\" dlltool > "%TEMP%\dlltool.loc" 2> nul && set /P _DLLTOOL_PATH= < "%TEMP%\dlltool.loc" & del "%TEMP%\dlltool.loc"
@@ -181,7 +181,7 @@ msbuild "%D%bundle\releaseweb.wixproj" /t:Rebuild %BUILDOPTS% %CERTOPTS% /p:Rebu if errorlevel 1 exit /B
if defined BUILDZIP (
- msbuild "%D%make_zip.proj" /t:Build %BUILDOPTS% %CERTOPTS%
+ msbuild "%D%make_zip.proj" /t:Build %BUILDOPTS% %CERTOPTS% /p:OutputPath="%BUILD%en-us"
if errorlevel 1 exit /B
)
|