Turn off autoupdates for JRE 6u30
Hi All,
I'm trying to turn off automatic updates for JRE 6 update 30 in a silent install. The switches don't seem to work when I run jre-6u30-windows-i586-s.exe. (I've tried a bunch: autoupdatecheck=0, ju=0, au=0, javaupdate=0, etc.) I figured out which registry entry to edit to make the Update tab disappear in the Java Control Panel but I couldn't find an option to just uncheck the box for "Check for Updates Automatically".
I also noticed that if I run jre1.6.0_30.msi the Update tab doesn't appear in Java Control Panel. But does that mean that AutoUpdates are turned off? Is there a way to test to make sure the AutoUpdates are off?
And what about the JRE Auto-Download setting on the Advanced tab? That always seems to be set to Auto-Download and I don't know how to change it. What does that setting do versus the check box?
Thanks,
Shane
I'm trying to turn off automatic updates for JRE 6 update 30 in a silent install. The switches don't seem to work when I run jre-6u30-windows-i586-s.exe. (I've tried a bunch: autoupdatecheck=0, ju=0, au=0, javaupdate=0, etc.) I figured out which registry entry to edit to make the Update tab disappear in the Java Control Panel but I couldn't find an option to just uncheck the box for "Check for Updates Automatically".
I also noticed that if I run jre1.6.0_30.msi the Update tab doesn't appear in Java Control Panel. But does that mean that AutoUpdates are turned off? Is there a way to test to make sure the AutoUpdates are off?
And what about the JRE Auto-Download setting on the Advanced tab? That always seems to be set to Auto-Download and I don't know how to change it. What does that setting do versus the check box?
Thanks,
Shane
0 Comments
[ + ] Show comments
Answers (8)
Please log in to answer
Posted by:
shanecur
12 years ago
Posted by:
aogilmor
12 years ago
Posted by:
pjgeutjens
12 years ago
Shane,
the best way to enforce these settings is to add a system-level deployment.config and deployment.properties file to your package through an MST.
Have a look at this link for an overview of these files, where to put them and what to put in them.
Kr,
PJ
the best way to enforce these settings is to add a system-level deployment.config and deployment.properties file to your package through an MST.
Have a look at this link for an overview of these files, where to put them and what to put in them.
Kr,
PJ
Posted by:
shanecur
12 years ago
Thanks! I took a look in deployment.properties which I found only in c:\users\me\AppData\LocalLow\Sun\Java\Deployment. It looks a little different then what is documented on the site. Below are the contents. Do you know what I would need to add or change to turn off the autoupdates?
Also, I'm confused about setting deployment.properties to system-wide versus user-wide. I was thinking system was for all users on one computer and user is for just one user. But the site describes it as "enterprise-wide" and says you should put it in a URL. So I'm thinking they mean that system is for all computers in the environment and you can configure them with a single file. Is that right?
#deployment.properties
#Wed Feb 01 14:54:29 CST 2012
deployment.javaws.cache.update=true
deployment.version=6.0
deployment.capture.mime.types=true
deployment.javapi.cache.update=true
deployment.browser.path=C\:\\Program Files (x86)\\Internet Explorer\\iexplore.exe
#Java Deployment jre's
#Wed Feb 01 14:54:29 CST 2012
deployment.javaws.jre.0.product=1.6.0_30
deployment.javaws.jre.0.registered=true
deployment.javaws.jre.0.osname=Windows
deployment.javaws.jre.0.platform=1.6
deployment.javaws.jre.0.path=C\:\\Program Files (x86)\\Java\\jre6\\bin\\javaw.exe
deployment.javaws.jre.0.location=http\://java.sun.com/products/autodl/j2se
deployment.javaws.jre.0.enabled=true
deployment.javaws.jre.0.osarch=x86
-Shane
Also, I'm confused about setting deployment.properties to system-wide versus user-wide. I was thinking system was for all users on one computer and user is for just one user. But the site describes it as "enterprise-wide" and says you should put it in a URL. So I'm thinking they mean that system is for all computers in the environment and you can configure them with a single file. Is that right?
#deployment.properties
#Wed Feb 01 14:54:29 CST 2012
deployment.javaws.cache.update=true
deployment.version=6.0
deployment.capture.mime.types=true
deployment.javapi.cache.update=true
deployment.browser.path=C\:\\Program Files (x86)\\Internet Explorer\\iexplore.exe
#Java Deployment jre's
#Wed Feb 01 14:54:29 CST 2012
deployment.javaws.jre.0.product=1.6.0_30
deployment.javaws.jre.0.registered=true
deployment.javaws.jre.0.osname=Windows
deployment.javaws.jre.0.platform=1.6
deployment.javaws.jre.0.path=C\:\\Program Files (x86)\\Java\\jre6\\bin\\javaw.exe
deployment.javaws.jre.0.location=http\://java.sun.com/products/autodl/j2se
deployment.javaws.jre.0.enabled=true
deployment.javaws.jre.0.osarch=x86
-Shane
Posted by:
pjgeutjens
12 years ago
I took a quick copy of the relevant entries in a deployment.properties file from a package that I have lying around here:
#deployment.properties
...
deployment.javaws.autodownload=NEVER
deployment.javaws.autodownload.locked=
deployment.config only has the line
deployment.system.config=file\:C\:/WINDOWS/Sun/Java/Deployment/deployment.properties
both the deployment.config and deployment.properties file reside under C:\Windows\Sun\Java\Deployment for a system-wide scope (as in for all users on the machine). These should override any versions in the users' profiles.
I guess you could point to a central network location in deployment.config to enable an Enterprise Wide lockdown, but I have no personal experience implementing that. Unless by 'putting it in as a URL' they mean the somewhat special notation of the path in deployment.config with the file\:C\...
PJ
#deployment.properties
...
deployment.javaws.autodownload=NEVER
deployment.javaws.autodownload.locked=
deployment.config only has the line
deployment.system.config=file\:C\:/WINDOWS/Sun/Java/Deployment/deployment.properties
both the deployment.config and deployment.properties file reside under C:\Windows\Sun\Java\Deployment for a system-wide scope (as in for all users on the machine). These should override any versions in the users' profiles.
I guess you could point to a central network location in deployment.config to enable an Enterprise Wide lockdown, but I have no personal experience implementing that. Unless by 'putting it in as a URL' they mean the somewhat special notation of the path in deployment.config with the file\:C\...
PJ
Posted by:
shanecur
12 years ago
That's great. Thanks, PJ. I've never done this before. Can you help me connect the dots on the solution. I edit the deployment.properties. I have the MSI open in Orca. How do I reference deployment.config and deployment.properties in the MST? Do I need to change any settings in the Properties table of the MSI or do I just let deployment.config and deployment.properties do the work?
Thanks,
-Shane
Thanks,
-Shane
Posted by:
pjgeutjens
12 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.