Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable Automatic Update #1029

Open
BhupeshManimaran opened this issue Oct 21, 2024 · 5 comments
Open

Disable Automatic Update #1029

BhupeshManimaran opened this issue Oct 21, 2024 · 5 comments

Comments

@BhupeshManimaran
Copy link

Need to Disable the Automatic Update for the installed JDK and JRE.

We have installed JAVA JDK and JRE which gets Updated automatically updated without showing like there is an update available. We have also checked for the availability of JAVA Updater Service or the Application in the Notification Tray Icon of Windows 11, we did not find any.
Request you to support us on disabling the JDK and JRE.

Context

Java version:
JDK - OpenJDK11U-jdk_x64_windows_hotspot_11.0.17_8
JDK - OpenJDK11U-jre_x64_windows_hotspot_11.0.17_8

Your operating system and platform:
Windows 11 Pro 64bit

@jerboaa jerboaa transferred this issue from adoptium/adoptium-support Oct 21, 2024
@karianna
Copy link
Contributor

@BhupeshManimaran

Whilst we look into this, can you list the properties of the original installer you used? Here’s how to do it:

Run the MSI with logging enabled:

msiexec /i <TheOriginalInstaller>.msi /l*v log.txt

Open the generated log.txt file and search for the line starting with PROPERTY. This will display the properties used during the installation process. See if there's any AUTO or UPDATE type of property listed there.

@BhupeshManimaran
Copy link
Author

@karianna

Yes, I have generated Log and was able to find the below Property while generating logs for both JDK - OpenJDK11U-jdk_x64_windows_hotspot_11.0.17_8.msi & JRE - OpenJDK11U-jre_x64_windows_hotspot_11.0.17_8.msi:
Property(C): ARPURLUPDATEINFO = https://adoptium.net/releases.html

@karianna
Copy link
Contributor

@jmjaffe37 - Do you know if we set a property for auto updating (true or false) with the new Wix 5 installers?

@jmjaffe37
Copy link
Contributor

jmjaffe37 commented Oct 22, 2024

@karianna, @BhupeshManimaran I just looked through the codebase again and I was not able to find any auto updating flags set within. I also looked through the wixtoolset documentation (we currently use version 5.0.0, but will soon move to 5.0.2), and I could not find settings/flags for auto-updating either.

Feel free to take another look incase I missed anything

@BhupeshManimaran
Copy link
Author

@karianna & @jmjaffe37 So there is no possibility for the Adoptium JDK/JRE to Auto Update right?
Let me connect with you if I face this again. So that we can understand better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants