Disable Java Update Fixlet not relevant on 64bit machines with 32bit Java

(imported topic written by SystemAdmin)

The “Java Runtime Environment - Disable Java Update (x64)” fixlet does not show relevant for 64bit Windows 7 machines that have the 32bit version of Java loaded on them in our environment. The part of the relevance that is evaluating to false is:

exists key whose (((it contains "java" OR it contains "j2se") AND (it contains "runtime environment" OR it contains "update")) of (value "DisplayName" of it as string as lowercase) AND value "DisplayVersion" of it as string as version >= "1.4.2") of key "HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall" of x64 registry

If I change the last part to be “of registry” instead of “of x64 registry” then it evaluates to true. The 32bit version of the fixlet only runs on 32bit Windows and the 64bit version of the fixlet doesn’t address 32bit Java (apparently). Is it possible for this to get addressed?

In the meantime, I guess I could create a copy and change the relevance to that above and the action language to be regset instead of regset64.

Thoughts?

(imported comment written by EliShapurov)

For me, to make it work, I needed to change the following relevance (7) and (8) and remove x64 registry reference:

Relevance 7

NOT exists key “HKLM\SOFTWARE\JavaSoft\Java Update\Policy” of registry

OR

(

NOT exists value “EnableAutoUpdateCheck”

whose

(

it = 0

)

of it

OR

NOT exists value “EnableJavaUpdate”

whose

(

it = 0

)

of it

)

of key “HKLM\SOFTWARE\JavaSoft\Java Update\Policy” of registry

NOT exists key “HKLM\SOFTWARE\JavaSoft\Java Update\Policy” of registry OR (NOT exists value “EnableAutoUpdateCheck” whose (it = 0) of it OR NOT exists value “EnableJavaUpdate” whose (it = 0) of it) of key “HKLM\SOFTWARE\JavaSoft\Java Update\Policy” of registry

Relevance 8

exists key

whose

(

(

(

it contains “java”

OR

it contains “j2se”

)

AND

(

it contains “runtime environment”

OR

it contains “update”

)

)

of

(

value “DisplayName” of it as string as lowercase

)

AND

value “DisplayVersion” of it as string as version >= “1.4.2”

)

of key “HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall” of registry

exists key whose (((it contains “java” OR it contains “j2se”) AND (it contains “runtime environment” OR it contains “update”)) of (value “DisplayName” of it as string as lowercase) AND value “DisplayVersion” of it as string as version >= “1.4.2”) of key “HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall” of registry

(imported comment written by SystemAdmin)

Try changing it to “of Native Registry” and see if that works.

(imported comment written by Matt.Johnson)

I had a similar issue with a different task. It may be redirecting the queries the Wow6432 path. You might want to try:

action uses wow64 redirection false