7 cscript /nologo ExpandEnvironmenStrings.vbs Version.in > Version.h
10 set VisualStudioVersion=15.0
11 call "%VS141COMNTOOLS%vsvars32.bat"
12 MSBuild WinMerge.vs2017.sln /t:Rebuild /p:Configuration="Release Unicode" /p:Platform="Win32" || pause
13 MSBuild WinMerge.vs2017.sln /t:Rebuild /p:Configuration="Release Unicode" /p:Platform="x64" || pause
16 if exist "%SIGNBAT_PATH%" (
17 call "%SIGNBAT_PATH%" Build\MergeUnicodeRelease\WinMergeU.exe
18 call "%SIGNBAT_PATH%" Build\MergeUnicodeRelease\MergeLang.dll
19 call "%SIGNBAT_PATH%" Build\x64\MergeUnicodeRelease\WinMergeU.exe
20 call "%SIGNBAT_PATH%" Build\x64\MergeUnicodeRelease\MergeLang.dll
23 mkdir Build\MergeUnicodeRelease\%APPVER% 2> NUL
24 mkdir Build\x64\MergeUnicodeRelease\%APPVER% 2> NUL
25 copy Build\MergeUnicodeRelease\*.pdb "Build\MergeUnicodeRelease\%APPVER%\"
26 copy Build\x64\MergeUnicodeRelease\*.pdb "Build\x64\MergeUnicodeRelease\%APPVER%\"
28 for %%i in ("%ProgramFiles(x86)%" "%ProgramFiles%") do (
29 if exist "%%~i\Inno Setup 5\iscc.exe" (
30 "%%~i\Inno Setup 5\iscc.exe" "Installer\innosetup\WinMerge.iss" || pause
31 "%%~i\Inno Setup 5\iscc.exe" "Installer\innosetup\WinMergeX64.iss" || pause