anchor.diff:  echo.Set objXMLHTTP = Nothing
   )
   
  +rem # XXX: uninstall any left over version, ignore errors
  +call msiexec /qb /x %TMP%\install.msi
  +
   rem # remove the chef package / clobber the files
   rmdir /S /Q C:\opscode
   
  
positive.code: 
  ECHO Failed with error level %ERR_LEV%
  
  call call msiexec /qb /x %TMP%\install.msi
  
  EXIT /B %ERR_LEV%
  
  
negative.code: rem # right now we have one build, fake the platform resulution crap
  cscript /nologo wget.vbs /url:"http://%OMNITRUCK_BASE_URL%/chef/download?p=windows&pv=2008r2&m=x86_64&v=%INSTALL_CHEF_VERSION%" /path:%TMP%\install.msi
  
  
  call msiexec INSTALLLOCATION=C:\opscode /qb /i %TMP%\install.msi || GOTO :error
  
  call C:\opscode\chef\bin\chef-client --version || GOTO :error
  
  call msiexec /qb /x %TMP%\install.msi || GOTO :error
  
  GOTO :EOF
  
  