installer icon indicating copy to clipboard operation
installer copied to clipboard

Disable Automatic Update

Open BhupeshManimaran opened this issue 1 year ago • 5 comments

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

BhupeshManimaran avatar Oct 21 '24 07:10 BhupeshManimaran

@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.

karianna avatar Oct 22 '24 01:10 karianna

@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

BhupeshManimaran avatar Oct 22 '24 03:10 BhupeshManimaran

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

karianna avatar Oct 22 '24 05:10 karianna

@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

jmjaffe37 avatar Oct 22 '24 18:10 jmjaffe37

@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.

BhupeshManimaran avatar Oct 23 '24 03:10 BhupeshManimaran