Can I just use the executable with the /quiet switch to install Java? I get my installation to work fine this way, but I cannot get rid of the update prompt. Should I include this in the same command line box to alter the registry key or create another post-installation task using this command?

reg.exe ADD HKLM\SOFTWARE\JavaSoft\Java Update\Policy /v EnableJavaUpdate /t REG_DWORD /d 0 /f

I would like to get Java on users machines without prompting them for updates. I am using KACE by the way. Any suggestions?

Thank you in advance!

Answer Summary:
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

2

  • This is the best route. We do this as well. I should have asked the Systems Admins before investing time into finding an uninstall method. Thank you!
Please log in to comment

Answers

1

Create a CMD file with something like this...

"install.exe" /quiet

reg.exe ADD HKLM\SOFTWARE\JavaSoft\Java Update\Policy /v EnableJavaUpdate /t REG_DWORD /d 0 /f

Zip your install and your CMD file together. Upload as an app for post install. In your command line call the name of your CMD file. 

Answered 08/28/2012 by: dugullett
Red Belt

  • What do you mean in my command line? In my command line for my Java install? Can you give me an example of how I would call my CMD file?

    Thank you for the reply by the way!
  • You mentioned post install so I'm assuming you mean the K2000? After you zip your files add "a new application". Upload your zip file under "Upload File". In the "Command Line" enter "call name_of_file.cmd" (w/o the quotes).
    • Also this might help you understand post installs a little more.

      https://kace.webex.com/kace/lsr.php?AT=pb&SP=TC&rID=65440217&rKey=d6f29f0fc574f628&act=pb
  • Hey.....thank you so much. Yes, I am new to the K2000. It is strange using commands in on the files I upload. I am not quite sure of all the syntax or commands as it is taking me a little bit of getting used to. I have only been messing with it for 2 weeks, but I have a fair grasp of the concepts. Thanks again for the help and the link!!
    • This helps a lot if needed.

      http://www.kace.com/support/resources/kb/article/KACE-Kontinuing-Education-K1000-and-K2000-Recordings
  • Yeah I have watched TONS of these already. Very helpful indeed!!
Please log in to comment
1

Another option is to uninstall the update app after install of exe, it is a seperate msi included with the exe.

Answered 08/28/2012 by: dandirk
Third Degree Green Belt

  • How do I go about extracting the .msi from the executable? Do you know what the .msi is called?

    Thanks for the reply!
  • If you look into HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall... All the sub keys are entries for software that has been installed. You will find your java, but you will also find the java updater. Here you can find uninstall commands, locations of installer files etc.

    For the current version of java updater (2.1.9.0) the product code is: {4A03706F-666A-4037-7777-5F2748764D10}

    To uninstall just run (after install) msiexec.exe /x{4A03706F-666A-4037-7777-5F2748764D10} \qn

    We do it this way because it just seems the easiest, and are sure that auto-updater will not run cause it is uninstalled:)
Please log in to comment
1

Create deployment.properties file with the following entries

#deployment.properties
deployment.javaws.autodownload=NEVER

and keep it in <UserProfile>\Application Data\Sun\Java\Deployment\ folder..

You  can deliver this file to every user profile using Active Setup

Answered 08/28/2012 by: jagadeish
Red Belt

  • :) "This is for the person who clicked down arrow for this post :) others can simply ignore this comment"

    Once you install JRE
    Go to Control Panel-> Double Click "Java" Icon
    Go to Advanced Tab
    and then Go To "JRE Auto Download" Section.. What are you seeing there :))
Please log in to comment
Answer this question or Comment on this question for clarity