Check adobe flash player version check6/22/2023 ![]() But once I proceed to the last part of what's inside the (), that's when I get the errors. When typing it out manually, as long as I stop at "DisplayVersion" I get the info I'm looking for. Flash Player 10.1 and later Flash Player 9.0.28.0 to 10.0.45.0 Flash Player 9.0.16.0 or earlier The general uninstaller (uninstallflashplayer.exe) is designed to work with the new version-checking logic, and you can use it to remove Flash Player from the system. So narrowing it down, the following is my problem: for /f "tokens=3 delims= " %%G in ('reg query %key% /v DisplayVersion ^| findstr /i current') do ( Select the appropriate Flash Player version. ![]() And since %G does not equal my desired version (11.5.502.135) it's installing every time. Instead of echoing something like 11.5.502.135, it's echoing "%G". The problem is that it's not reading the version that's installed. \\path-to-server\Flash-IE-11.5. -installĬOPY /y \\path-to-server\mms.cfg C:\WINDOWS\System32\Macromed\Flash\mms.cfg Taskkill /f /im iexplore.exe /im firefox.exe SET key="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe Flash Player Plugin"įor /f "tokens=3 delims= " %%G in ('reg query %key% /v DisplayVersion ^| findstr /i current') do ( :: Check Flash version and install if not matching. If the installed version of Flash isn't what I want, I want the script to uninstall the current version and install my desired version. What I'm trying to accomplish is checking the installed version of Flash. ![]() It's worked before (with other software), but in the case of Flash, it isn't. I need some help making the following work.
0 Comments
Leave a Reply. |