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 Lansweeper Dark Theme
by  mrobbins   Go to last post Go to first unread
Last post: Yesterday at 5:38:01 PM(UTC)
Lansweeper Detect Docking Stations
by  GlenH  
Go to last post Go to first unread
Last post: Yesterday at 3:52:13 PM(UTC)
Lansweeper Exclude non-windows assets from scanning by assetname
by  rapheren   Go to last post Go to first unread
Last post: Yesterday at 1:18:12 PM(UTC)
Lansweeper HTTPS Certifikate untrusted
by  pskup  
Go to last post Go to first unread
Last post: Yesterday at 9:20:07 AM(UTC)
Lansweeper Migrate to new host but without SQL
by  pskup   Go to last post Go to first unread
Last post: Yesterday at 9:03:14 AM(UTC)
Lansweeper Object reference error after updating to 10.2.0.0
by  Erik.T  
Go to last post Go to first unread
Last post: Yesterday at 8:10:25 AM(UTC)
Lansweeper Custom reporting - Asset Groups and AD Description
by  rbshawn   Go to last post Go to first unread
Last post: 6/29/2022 10:54:10 PM(UTC)
Lansweeper A FIX for an odd Scan Error WMI/DCOM from scanning server
by  danielm  
Go to last post Go to first unread
Last post: 6/29/2022 10:14:44 PM(UTC)