cd %binfolder%
call "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"
FOR /R %%a IN (*.sln) DO msbuild %%a /p:Configuration=%1
-FOR /R %%a IN (*.sln) DO msbuild /p:Configuration=%1 INSTALL.vcproj
-FOR /R %%a IN (*.sln) DO msbuild /p:Configuration=%1 PACKAGE.vcproj
+msbuild /p:Configuration=%1 INSTALL.vcproj
+msbuild /p:Configuration=%1 PACKAGE.vcproj
copy %2*.exe %3\Result_Installers\