I have a Windows 7 workstation and I am trying to uninstall Java 6 via the CMD line.   In the registry there is an MSI /X uninstall command for this product.  I have tried running this:

 

MsiExec.exe /X {26A24AE4-039D-4CA4-87B4-2F83216026FF} /norestart /qb-!

MsiExec.exe /X {26A24AE4-039D-4CA4-87B4-2F83216026FF} /norestart /qb-

MsiExec.exe /X {26A24AE4-039D-4CA4-87B4-2F83216026FF} /norestart /qb!

MsiExec.exe /X {26A24AE4-039D-4CA4-87B4-2F83216026FF} /norestart /q

 

It does NOT uninstall.  java is still there.   I've made sure IE is closed and in fact no apps are running.   Why would this not work? 

0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

1

Does it give a message that the application is not installed or anything?  You may have several version of java installed.

Answered 05/03/2012 by: GAKIS
Second Degree Green Belt

  • also try without the /norestart
  • or with REBOOT=R instead of /norestart
Please log in to comment

Answers

0

Add logging to the uninstall, maybe you will get your answer there.

You could also try running the uninstall without making it silent, maybe you will get some information about what is wrong.

Answered 05/04/2012 by: henrik80
Second Degree Blue Belt

Please log in to comment
0

I agree with henrik. Just dont use the silent switch and see what issue you are hitting.

Answered 05/04/2012 by: adilrathore
Fourth Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity

Share