Quantcast
Channel: Wsus Package Publisher
Viewing all articles
Browse latest Browse all 3825

New Post: Java check previous version

$
0
0
Hi,

I'm actually looking to update Java on the client.
I noticed if Java is not installed, the folder C:\Program Files\Java don't exist, same thing for the registry key HKLM/SOFTWARE/JavaSoft/Java Runtime Environment/CurrentVersion

I want to test the presence before to install a new version on the client. I want to do one of this tests:
  • check if the folder exist (is it possible with the rule file exist ? this do not work for me...)
  • check if the registry key (is there an issue if the link contains spaces ? ("Java Runtime Environement")
If you have another method to check if Java is installed, do not hesitate to share it =)

Best regards

Flo17

Viewing all articles
Browse latest Browse all 3825

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>