/bundles/itninjaweb/img/Breadcrumb_cap_w.png
Hi

I'm trying to uninstall Java Silently.. but ...ack... I cannot find the right method..

I tried many different approaches... using oracle's own: /s /v "/qn REBOOT=Suppress" /x

doesn't work.. it just brings up a windows installer help screen, but using the info there still doesn't get me nearer the goal..

Can someone give me a few hints as to the Syntax?


Thanks in advance!
0 Comments   [ - ] Hide Comments

Comments

Please log in to comment

Community Chosen Answer


Answers

2
You can run the removal command in silent mode using the Java product code as below.

MsiExec.exe /x <ProductID> /qn REBOOT=ReallySuppress

To know the product ID,

If it's a 64-bit Java, search for the string "java" under the registry "HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall"

If it's a 32-bit Java, search for the string "java" under the registry "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall"

Let me know if that helps.

Thanks!
Answered 04/06/2011 by: tammalac@deshaw.com
Senior Yellow Belt

Please log in to comment
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity

Answers

0
If it's a 64-bit Java...or 32-bit Java on a 32-bit OS...
Answered 04/06/2011 by: VBScab
Red Belt

Please log in to comment
0
Yup, that's right! Thanks for adding the point. My bad, I totally forgot about 32-bit OS ;-)
Answered 04/06/2011 by: tammalac@deshaw.com
Senior Yellow Belt

Please log in to comment
0
Thanks guys.

am just now doing a reinstall of the client to test another issue. Will report back what I find...

Will the productID be different from client to client? or is it the same for same OS/java version etc?
Answered 04/06/2011 by: Symbiot
Senior Yellow Belt

Please log in to comment
0
>Will the productID be different from client to client? or is it the same for same OS/java version etc?

If you have installed same java installer/package on all machines, it will be same on all machines irrespective of the OS.
Answered 04/06/2011 by: tammalac@deshaw.com
Senior Yellow Belt

Please log in to comment
-1
Yes. Each flavour will have its own GUID (the Windows Installer ProductCode) so make sure you match the ProductCode with the version you want to uninstall: some machines will almost certainly have more than one.
Answered 04/06/2011 by: VBScab
Red Belt

Please log in to comment
0
OK...but the quesion was "Will the productID be different from client to client? or is it the same for same OS/java version etc? "....

The PrdocutID for an installer will be same across multiple clients...it won't change from client to client. And, the ProdctID of a particular installer is same across different OSs as well (XP, Vista, 7 ....etc).
Answered 04/06/2011 by: tammalac@deshaw.com
Senior Yellow Belt

Please log in to comment
0
http://itninja.com/question/stopping-a-service09&mpage=1&key=clsid&#29809
Answered 04/11/2011 by: dyehardfan
Second Degree Blue Belt

Please log in to comment
0
ORIGINAL: tammalac@deshaw.com

OK...but the quesion was "Will the productID be different from client to client? or is it the same for same OS/java version etc? "....

The PrdocutID for an installer will be same across multiple clients...it won't change from client to client. And, the ProdctID of a particular installer is same across different OSs as well (XP, Vista, 7 ....etc).


There is nothing called a ProductID!
I'm sure it should be ProductCode or Package Code (revision number summary property)
Answered 04/13/2011 by: AngelD
Red Belt

Please log in to comment