Notification

Icon
Error

MsiUninstaller All Java with loop - no script needed

Posted: Thursday, March 3, 2022 10:53:25 AM(UTC)
Florian_Eigsi

Florian_Eigsi

Member Original PosterPosts: 20
0
Like
Based on different topic installer
I share mine

Basicly, i didn't kill process but i read it here

Step 8 : I loop with a regex (java _ Update %) for uninstall all Java.
So when there is no more java installed, step 8 fail, and next step you can install java.

Enjoy
Uninstall JavaDownload Package
Description
Final ActionNothing
Max. Duration15 min(s), 0 hour(s)
RescanNo
Steps
1. Kill iexplorer.exe
TypeKill Process
Return Codes 0,1641,3010
SuccessGo To Next
FailureGo To Next
Command taskkill /im iexplorer.exe /f
2. Kill iexplore.exe
TypeKill Process
Return Codes 0,1641,3010
SuccessGo To Next
FailureGo To Next
Command taskkill /im iexplore.exe /f
3. Kill firefox.exe
TypeKill Process
Return Codes 0,1641,3010
SuccessGo To Next
FailureGo To Next
Command taskkill /im firefox.exe /f
4. Kill chrome.exe
TypeKill Process
Return Codes 0,1641,3010
SuccessGo To Next
FailureGo To Next
Command taskkill /im chrome.exe /f
5. Kill javaw.exe
TypeKill Process
Return Codes 0,1641,3010
SuccessGo To Next
FailureGo To Next
Command taskkill /im javaw.exe /f
6. Kill jqs.exe
TypeKill Process
Return Codes 0,1641,3010
SuccessGo To Next
FailureGo To Next
Command taskkill /im jqs.exe /f
7. Kill jusched.exe
TypeKill Process
Return Codes 0,1641,3010
SuccessGo To Next
FailureGo To Next
Command taskkill /im jusched.exe /f
8. UnInstall Java
TypeMSI Uninstaller
Return Codes 0,1641,3010
SuccessGo To Step 7
FailureGo To Next
Software Name java 8 Update %
Software Version
9. Install Java
TypeInstaller
Return Codes 0,1641,3010
SuccessStop (Success)
FailureStop (Failure)
Command "{PackageShare}\Base\Java\jre-x64.exe" /s AUTO_UPDATE=0
Florian_Eigsi
#1Florian_Eigsi Member Original PosterPosts: 20  
posted: 5/17/2022 7:21:09 AM(UTC)
I Change step 8

8. UnInstall Java
Software Name java _ Update %

By Software Name java 8 Update %

Looks like regex doesn't work

Active Discussions

Lansweeper Adding an "Employee ID" column to an asset report
by  ABaker   Go to last post Go to first unread
Last post: Yesterday at 3:06:54 PM(UTC)
Lansweeper Firefox 102 & ESR 91.11
by  Esben.D  
Go to last post Go to first unread
Last post: Yesterday at 8:12:07 AM(UTC)
Lansweeper Performance report not shows result
by  NoraD   Go to last post Go to first unread
Last post: 6/28/2022 7:52:27 AM(UTC)
Lansweeper Duplicate AD Users
by  Randy Costa  
Go to last post Go to first unread
Last post: 6/27/2022 5:25:04 PM(UTC)
Lansweeper mail reports
by  swede   Go to last post Go to first unread
Last post: 6/27/2022 7:47:09 AM(UTC)
Lansweeper Multiple Devices Owned by Users (asset relations)
by  Adrian Scott  
Go to last post Go to first unread
Last post: 6/22/2022 5:34:51 PM(UTC)