7 cscript /nologo ExpandEnvironmenStrings.vbs Version.in > Version.h
10 call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat"
11 MSBuild WinMerge.sln /t:Rebuild /p:Configuration="Release Unicode" /p:Platform="Win32" || pause
12 MSBuild WinMerge.sln /t:Rebuild /p:Configuration="Release Unicode" /p:Platform="x64" || pause
15 if exist "%SIGNBAT_PATH%" (
16 call "%SIGNBAT_PATH%" Build\MergeUnicodeRelease\WinMergeU.exe
17 call "%SIGNBAT_PATH%" Build\MergeUnicodeRelease\MergeLang.dll
18 call "%SIGNBAT_PATH%" Build\x64\MergeUnicodeRelease\WinMergeU.exe
19 call "%SIGNBAT_PATH%" Build\x64\MergeUnicodeRelease\MergeLang.dll
22 mkdir Build\MergeUnicodeRelease\%APPVER% 2> NUL
23 mkdir Build\x64\MergeUnicodeRelease\%APPVER% 2> NUL
24 copy Build\MergeUnicodeRelease\*.pdb "Build\MergeUnicodeRelease\%APPVER%\"
25 copy Build\x64\MergeUnicodeRelease\*.pdb "Build\x64\MergeUnicodeRelease\%APPVER%\"
27 for %%i in ("%ProgramFiles(x86)%" "%ProgramFiles%") do (
28 if exist "%%~i\Inno Setup 5\iscc.exe" (
29 "%%~i\Inno Setup 5\iscc.exe" "Installer\innosetup\WinMerge.iss" || pause
30 "%%~i\Inno Setup 5\iscc.exe" "Installer\innosetup\WinMergeX64.iss" || pause