

IF %ERRORLEVEL% = 0 (echo You have Firefox 33.1.1) ELSE (echo Installing Firefox 33.1.1 & "\\PATH\TO\FILE\\Firefox Setup Stub 33.1.1. Google® Chrome® (Latest version) Important Notes: Google® has phased out support for Java in Chrome version 45 and later. Reg query "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall" /s | find "Firefox" | find "Mozilla Firefox 33.1.1" Mozilla® Firefox® (Latest version) Apple® Safari® Version 13 and later. IF %ERRORLEVEL% = 0 (echo You have Firefox 33.1.1) ELSE (echo Installing Firefox 33.1.1 & "\\PATH\TO\FILE\Firefox Setup Stub 33.1.1.exe")Īnd for Windows 7 it's: echo checking Firefox

Reg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" /s | find "Firefox" | find "Mozilla Firefox 33.1.1" exe stub which I've saved on my local network. I check for the version, and then if the workstation needs to be updated, I run the. At the time I'm writing this, 33.1.1 is the latest version, but you can modify it as needed.

I use it at my work to update ~200 workstations. Though I haven't figured out how to automatically check for updates via command line, I did find a way to automatically check whether the latest version you've identified is on a workstation via batch.
