4 cscript /nologo ExpandEnvironmenStrings.vbs Version.in > Version.h
7 for /f "usebackq tokens=*" %%i in (`"%programfiles(x86)%\microsoft visual studio\installer\vswhere.exe" -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath`) do (
10 if exist "%InstallDir%\Common7\Tools\vsdevcmd.bat" (
11 call "%InstallDir%\Common7\Tools\vsdevcmd.bat %*
13 MSBuild WinMerge.vs2019.sln /t:Rebuild /p:Configuration="Release Unicode" /p:Platform="Win32" || pause
14 MSBuild WinMerge.vs2019.sln /t:Rebuild /p:Configuration="Release Unicode" /p:Platform="x64" || pause
17 if exist "%SIGNBAT_PATH%" (
18 call "%SIGNBAT_PATH%" Build\MergeUnicodeRelease\WinMergeU.exe
19 call "%SIGNBAT_PATH%" Build\MergeUnicodeRelease\MergeLang.dll
20 call "%SIGNBAT_PATH%" Build\x64\MergeUnicodeRelease\WinMergeU.exe
21 call "%SIGNBAT_PATH%" Build\x64\MergeUnicodeRelease\MergeLang.dll
24 mkdir Build\MergeUnicodeRelease\%APPVER% 2> NUL
25 mkdir Build\x64\MergeUnicodeRelease\%APPVER% 2> NUL
26 copy Build\MergeUnicodeRelease\*.pdb "Build\MergeUnicodeRelease\%APPVER%\"
27 copy Build\x64\MergeUnicodeRelease\*.pdb "Build\x64\MergeUnicodeRelease\%APPVER%\"