1@echo off 2setlocal 3 4set D=%~dp0 5set PCBUILD=%~dp0..\..\PCbuild\ 6 7 8echo Building Lib\distutils\command\wininst-xx.0.exe 9 10call "%PCBUILD%find_msbuild.bat" %MSBUILD% 11if ERRORLEVEL 1 (echo Cannot locate MSBuild.exe on PATH or as MSBUILD variable & exit /b 2) 12 13%MSBUILD% "%D%bdist_wininst.vcxproj" "/p:SolutionDir=%PCBUILD%\" /p:Configuration=Release /p:Platform=Win32 14if errorlevel 1 goto :eof 15 16 17echo Building Lib\distutils\command\wininst-xx.0-amd64.exe 18 19%MSBUILD% "%D%bdist_wininst.vcxproj" "/p:SolutionDir=%PCBUILD%\" /p:Configuration=Release /p:Platform=x64 20