2 Replies Latest reply on Jul 21, 2011 1:08 PM by Ian

    Reg Query not seeming to work

      reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ie8
      if not errorlevel 0 (GOTO IE8) ELSE (GOTO chk)
      IE8-WindowsXP-x86-ENU.exe /quiet /norestart
      if not errorlevel 0 (GOTO msg5) ELSE (GOTO chk)



      set update="IE8 Failed to Install"

      sdclient.exe /msg=%update%

      exit /b


      I have a couple things I am trying to do.

      1.Detect IE* if not installed install it, if installed go to next

      Later in script I check reg to confirm package install using same theory and log files shows error with cammond.

      Not reporting or installing. Can't get the reg query to be accepted in batch.

      Any Ideas?