Uninstall Java 6 - superseded
0 Votes |
Versioning - This is an older version.
1 | Uninstall Java 6 | 5/8/2013 7:55:29 AM |
2 | Uninstall Java 6 | 7/24/2013 12:18:13 PM |
Description
Property Details
2454 | |
Production - Fully Tested and Ready for Production | |
Uninstall Java 6 | |
BESC | |
Internal | |
4/29/2013 12:00:00 AM | |
Uninstall Java 6 | |
sinucus on 5/8/2013 7:55:29 AM | |
sinucus on 5/8/2013 7:55:29 AM | |
5913 Views / 6 Downloads | |
* Average over 1 rating. ** Log In or Register to add your rating. |
Relevance
Used in 365 fixlets | * Results in a true/false |
(if( name of operating system starts with "Win" ) then platform id of operating system != 3 else false) AND (if exists property "in proxy agent context" then ( not in proxy agent context ) else true )
name of operating system as lowercase starts with "win"
Used in 103 fixlets | * Results in a true/false |
not exists values "PROCESSOR_ARCHITECTURE" whose (it as string as lowercase = "ia64") of keys "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" of registry
Used in 2 fixlets | * Results in a true/false |
(it contains "English" OR it contains "French" OR it contains "German" or it contains "Italian" or it contains "Spanish" or it contains "Chinese (PRC)" or it contains "Japanese" or it contains "Chinese (Taiwan)" or it contains "Korean" or it contains "Portuguese (Brazil)") of language of version block of file "kernel32.dll" of system folder
Used in 2 fixlets | * Results in a true/false |
(exists key whose (value "DisplayName" of it as string contains "Java(TM) 6 Update") of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry) OR (exists key whose (value "DisplayName" of it as string contains "Java(TM) 6 Update") of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of registry)
Actions
Action 1 (default)
Action Link Click
here to deploy this action.
Script Type
BigFix Action Script
// Enter your action script here
if {exists key whose (value "DisplayName" of it as string contains "Java(TM) 6 Update") of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry}
waithidden {pathname of system folder}\msiexec.exe /X {name of key whose (value "DisplayName" of it as string contains "Java(TM) 6 Update") of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry} /qn /qnorestart
endif
if {exists key whose (value "DisplayName" of it as string contains "Java(TM) 6 Update") of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of registry}
waithidden {pathname of system folder}\msiexec.exe /X {name of key whose (value "DisplayName" of it as string contains "Java(TM) 6 Update") of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of registry} /qn /qnorestart
endif
Success Criteria
This action will be considered successful when the applicability relevance evaluates to false.
Sharing
Social Media: |
Comments
|
|
I uploaded a new version to fix the issues you were talking about, hopefully this version will work on all of your platforms. |
|
|
Sorry for the poor formatting... but changing the quotes let this run successfully on 32bit machines with Java on them. The action runs perfectly on my Win8 machine without Java, but for some reason not on the others. Thank you *very* much because this fixlet is great!!!! |
|
|
We run the same version. When I run the fixlet it fails, and when I run the action debugger I get: Relevance clauses must be surrounded by { and} guards. Ended up changing to: // Enter your action script here if {exists key whose (value "DisplayName" of it as string contains "Java(TM) 6 Update") of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry} waithidden "{pathname of system folder & "\msiexec.exe"}" /X {name of key whose (value "DisplayName" of it as string contains "Java(TM) 6 Update") of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry} /qn /qnorestart endif if {exists key whose (value "DisplayName" of it as string contains "Java(TM) 6 Update") of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of registry} waithidden "{pathname of system folder & "\msiexec.exe"}" /X {name of key whose (value "DisplayName" of it as string contains "Java(TM) 6 Update") of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of registry} /qn /qnorestart endif |
|
|
The works for me on version 9.0.586. What version are you running? I ran the following... wait {pathname of system folder}\mstsc.exe Command succeeded (Exit Code=0) wait C:\Windows\SysWOW64\mstsc.exe |
|
|
There is a syntax error in the relevance statement for the action script. Try changing to "{pathname of system folder & "\msiexec.exe"}" |