+ Post New Thread
Results 1 to 2 of 2
Windows Thread, Help with a script to install Java in Technical; Hi all, I use to have a really good script for installing Java that I have unfortunately lost. I have ...
  1. #1

    Join Date
    Nov 2013
    Posts
    12
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Help with a script to install Java

    Hi all,

    I use to have a really good script for installing Java that I have unfortunately lost. I have also totally forgotten how I did it!.

    Basically the script checks for which version of the software is installed by looking for the following registry key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F83217045FF} DisplayVersion

    It then compares this version to the version displayed in the script. If these versions match, the current version is up to date and the script ends. If they do not match, the script silently installs the .exe.

    When a new version of JAVA needed deploying, I would update the script version number to match the reg key

    I would appreciate any help with rewriting this!

    BTW - I know you can extract the MSI and install this via GPO, but I have had quite a few problems doing this in the past. I remember using this method of checking the version number in the registry much more successfully.

  2. #2

    Join Date
    Nov 2013
    Posts
    12
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    I think you can close this. I ended up going with this:

    Java MSI Deployment Fun....

    Thanks

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 5
    Last Post: 1st July 2014, 08:34 AM
  2. Replies: 10
    Last Post: 24th September 2013, 09:31 PM
  3. Replies: 24
    Last Post: 16th July 2013, 10:33 AM
  4. Replies: 6
    Last Post: 4th March 2012, 09:40 AM
  5. Help with beginner script/batch file to rename Program File?
    By El_Nombre in forum How do you do....it?
    Replies: 3
    Last Post: 23rd June 2011, 02:05 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •