anchor.diff:  FOR %%i IN (pkg\chef*.msi) DO SET omnibus_package=%%i
   SET omnibus_package=%WORKSPACE%\%BUILD_NUMBER%\%omnibus_package%
   
  -call msiexec INSTALLLOCATION=C:\opscode /qb /i %omnibus_package% || GOTO :error
  +call copy /Y %omnibus_package% %TMP%\install.msi || GOTO :error
  +
  +call msiexec INSTALLLOCATION=C:\opscode /qb /i %TMP%\install.msi || GOTO :error
   
   rem # use rspec and gems from omnibus
   set PATH=C:\opscode\chef\bin;C:\opscode\chef\embedded\bin;%PATH%
  
positive.code: ECHO Failed with error level %ERR_LEV%
  
  rem # uninstall chef
  call msiexec /qb /x %omnibus_package%
  
  EXIT /B %ERR_LEV%
  
  
negative.code: call rspec -r rspec_junit_formatter -f RspecJunitFormatter -o %WORKSPACE%\test.xml -f documentation spec/functional spec/unit || GOTO :error
  
  rem # uninstall chef
  call msiexec /qb /x %TMP%\install.msi || GOTO :error
  
  rem # clean up the workspace to save disk space
  cd %WORKSPACE%
  