/build/static/layout/Breadcrumb_cap_w.png

JAVA 1.4.2 Update 15 Uninstall via SMS

All, I'm trying to uninstall Java 1.4.2 Update 15 from ~1000 workstations.

These workstations also have Java 1.6.0 Update X as well.

Here is what I tried so far:

Downloaded the Java 1.4.2 Update 15 setup files. Created a package in SMS that does:
j2re-1_4_2_15-windows-i586-p.exe /s /v"/qb REBOOT=Suppress" /X

It was successful on some machines. But on some other machines, where users still have Java 1.6.0 Update X, it would cripple their IE. So it shows 1.6.0 installed, but none of the Java works. Only fix for this would to close out of IE, uninstall all Java, and reinstall the latest version.

I tried to run this command:
msiexec.exe /qn /x{7148F0A8-6813-11D6-A77B-00B0D0142150}

And that instantly brings up a 1605 error code. Now, if I run that command locally, it'll uninstall just fine.

Racking my brains on this. Installing apps are usually fine. Uninstalling apps are a pain....

0 Comments   [ + ] Show comments

Answers (6)

Posted by: ekniranjan 14 years ago
Purple Belt
0
Ok Yeah Yeah,
Do you need updates in Java, i mean do you need that UPDATE in java, because i worked on java latest version and my firm don't want Updated button in my packager, so i just deleted that Updated button from Java ?
I am just trying to help me, if its not related to your solution, please ignore, if yes, please reply. So we can try to solve your problem.
Posted by: anonymous_9363 14 years ago
Red Belt
0
Couldn't you trigger a repair for Update 16 instead of a uninstall/reinstall?

Also, why on earth did you download and run the original set-up stub instead of executing the uninstall string from the registry?

Lastly, why bother uninstalling 1.42 in the first place? The JREs are designed to live side-by-side. It's not like they take up a load of disk space...
Posted by: yeah yeah 14 years ago
Senior Yellow Belt
0
I'm familar on installing applications, but never really had to uninstall apps via SMS. So this is new to me.

I tried to use the uninstall string from the registry, but I'm having issues with it. I can run the string locally just fine. If I try to run the string remotely via SMS or PSTOOLS, it spits a 1605 error. So I'm not sure the method I need to do.

The reason for the uninstall, not for space. But vulnerabilities. I work for a government agency which gets auditted by IA daily. As soon as a new version of an app is released. They test and approve. Any app that is on a previous version automatically shows up as a vulnerability. That's why this needs to be removed.

So, this is what I see in the registry: MsiExec.exe /I{7148F0A8-6813-11D6-A77B-00B0D0142150}

Will this work remotely? And to do this silently, can I do it like this?

MsiExec.exe /qn /I{7148F0A8-6813-11D6-A77B-00B0D0142150}
Posted by: yeah yeah 14 years ago
Senior Yellow Belt
0
I tried: MsiExec.exe /qn /I{7148F0A8-6813-11D6-A77B-00B0D0142150}

But I think that may have just did a repair on the install.

Thoughts?
Posted by: anonymous_9363 14 years ago
Red Belt
0
It would, since the /I switch is the directive to install. Try MsiExec.exe /qn /X {7148F0A8-6813-11D6-A77B-00B0D0142150}
Posted by: yeah yeah 14 years ago
Senior Yellow Belt
0
Alright, I pasted that code into a cmd file, and got mixed results.

Some were successful, some failed with 1618 errors. I believe that error is that another installation is in progress.

Thoughts?

Now, anyone have any scripts that can take this to the next level? I seen some scripts on the forum that searches for different versions of java, uninstalls them, and installs the latest version that you specify. I tried those and kept getting a bunch of VB errors.

Is it easier if i just do a manual basic script with a bunch of command lines from the earlier post that targets each version of java wrapped within a bunch of If Else statements?

I really just need to uninstall all old versions of java and install the latest version. Each workstation is different that has different versions of java 4,5,6. There are over 1000+ workstations in my environment. Please help.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ