I am trying to create a script, either Batch, Powershell or Visual Basic Script that can detect the presence of Zoom on a computer. However, all the code that I have tried detects everything else except Zoom. Even in the registry, it appears that Zoom has no GUID. I am wondering if anyone knows a method to programmatically detect that Zoom is installed or not. Running Windows 10 20H2 here.
Zoom doesn't give the option to change the installation directory in Windows so we can use its fixed location to detect it, batch, Code: if exist "%APPDATA%\Zoom\bin\Zoom.exe" ( echo Zoom is installed. ) else ( echo Zoom is not installed. ) or if you want to check it's location from registry, you can use this in batch, Code: for /f "skip=2 tokens=2*" %%a in ('reg query "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ZoomUMX" /v InstallLocation 2^>nul') do set "zoomloc=%%b" if exist "%zoomloc%\Zoom.exe" ( echo Zoom is installed. ) else ( echo Zoom is not installed. )