cd %2
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 %%a /p:Configuration=%1 INSTALL.vcproj
-FOR /R %%a IN (*.sln) DO msbuild %%a /p:Configuration=%1 PACKAGE.vcproj
+FOR /R %%a IN (*.sln) DO msbuild %%a INSTALL.vcproj
+FOR /R %%a IN (*.sln) DO msbuild %%a PACKAGE.vcproj
cd ..