About
Careers
Support
Partners
Community
Contact
Product
Overview
IT Discovery
IT Inventory
IT Analytics
Features
Integrations
Use Cases
IT Asset Management
Cybersecurity
Active Directory Audit
Installing Software & Patches
Automated IT Inventory
Pricing
Resources
Support Knowledge Base
Videos
Testimonials
Vulnerability Updates
Patch Tuesday
Blog
Free Download
Lansweeper
»
Installers
»
MsiUninstaller All Java with loop - no script needed
Active Topics
Search
Join Now
Login
Notification
Error
OK
MsiUninstaller All Java with loop - no script needed
Posted:
Thursday, March 3, 2022 10:53:25 AM(UTC)
Florian_Eigsi
Member
Original Poster
Posts: 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 Java
Download Package
Description
Final Action
Nothing
Max. Duration
15 min(s), 0 hour(s)
Rescan
No
Steps
1. Kill iexplorer.exe
Type
Kill Process
Return Codes
0,1641,3010
Success
Go To Next
Failure
Go To Next
Command
taskkill /im iexplorer.exe /f
2. Kill iexplore.exe
Type
Kill Process
Return Codes
0,1641,3010
Success
Go To Next
Failure
Go To Next
Command
taskkill /im iexplore.exe /f
3. Kill firefox.exe
Type
Kill Process
Return Codes
0,1641,3010
Success
Go To Next
Failure
Go To Next
Command
taskkill /im firefox.exe /f
4. Kill chrome.exe
Type
Kill Process
Return Codes
0,1641,3010
Success
Go To Next
Failure
Go To Next
Command
taskkill /im chrome.exe /f
5. Kill javaw.exe
Type
Kill Process
Return Codes
0,1641,3010
Success
Go To Next
Failure
Go To Next
Command
taskkill /im javaw.exe /f
6. Kill jqs.exe
Type
Kill Process
Return Codes
0,1641,3010
Success
Go To Next
Failure
Go To Next
Command
taskkill /im jqs.exe /f
7. Kill jusched.exe
Type
Kill Process
Return Codes
0,1641,3010
Success
Go To Next
Failure
Go To Next
Command
taskkill /im jusched.exe /f
8. UnInstall Java
Type
MSI Uninstaller
Return Codes
0,1641,3010
Success
Go To Step 7
Failure
Go To Next
Software Name
java 8 Update %
Software Version
9. Install Java
Type
Installer
Return Codes
0,1641,3010
Success
Stop (Success)
Failure
Stop (Failure)
Command
"{PackageShare}\Base\Java\jre-x64.exe" /s AUTO_UPDATE=0
#1
Florian_Eigsi
Member
Original Poster
Posts: 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
User Profile
View All Posts by User
View helpful posts
Active Discussions
Adding an "Employee ID" column to an asset report
by
ABaker
Last post:
Yesterday
at 3:06:54 PM(UTC)
Firefox 102 & ESR 91.11
by
Esben.D
Last post:
Yesterday
at 8:12:07 AM(UTC)
Performance report not shows result
by
NoraD
Last post:
6/28/2022 7:52:27 AM(UTC)
Duplicate AD Users
by
Randy Costa
Last post:
6/27/2022 5:25:04 PM(UTC)
mail reports
by
swede
Last post:
6/27/2022 7:47:09 AM(UTC)
Exporting Security event log from Windows results in an error
by
frankm0304
Last post:
6/24/2022 10:41:27 PM(UTC)
htblhistory = default table? unidentified in report generator
by
J_Hol
Last post:
6/23/2022 5:27:18 PM(UTC)
Multiple Devices Owned by Users (asset relations)
by
Adrian Scott
Last post:
6/22/2022 5:34:51 PM(UTC)