call "%VS71COMNTOOLS%vsvars32.bat"
set _ACP_ATLPROV=%VS71COMMONTOOLS%\..\..\Vc7\bin\ATLPROV.DLL

cd /d "%~dp0\Src"
devenv.exe Merge_vc71.sln /build Release
devenv.exe Merge_vc71.sln /build UnicodeRelease
cd ..
StampVer -vstampver.inf -o2 Build\MergeRelease\WinMerge.exe
StampVer -vstampver.inf -o2 Build\MergeUnicodeRelease\WinMergeU.exe
StampVer -vstampver.inf -o2 Build\MergeRelease\MergeLang.dll
StampVer -vstampver.inf -o2 Build\MergeUnicodeRelease\MergeLang.dll
"\progra~1\inno setup 5\iscc" "Installer\innosetup\WinMerge.iss"
pause
