PUSHD .
@cd /D "%~dp0"

@setlocal
@set logfile="%temp%\bcm_vc90redist_x86.log"

@echo [%date% %time%] START vcredist_x86.exe /q:a /r:i /c:"msiexec /i vcredist.msi /qn" >> %logfile%
.\vcredist_x86.exe /q:a /r:i /c:"msiexec /i vcredist.msi /qn"

@if errorlevel 0 echo vcredist_x86.exe exited with errorlevel=%errorlevel% >> %logfile%
@echo [%date% %time%] END vcredist_x86.exe /q:a /r:i /c:"msiexec /i vcredist.msi /qn" >> %logfile%

@endlocal
POPD