/build/static/layout/Breadcrumb_cap_w.png

Java 1.3.1_09 silent Uninstall

I am trying to silently uninstall Java 1.3.1_09 but I keep on getting the uninstall display confirmation box no matter what I do.

I have followed everything inside of this link to no avail http://itninja.com/question/silent-uninstall-java-2-re-1.4.1&mpage=1&key=&

any ideas on what to do next?

this does not work as well :-( http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/silent.html#uninstalling

any help would be greatly appriciated.

Thanks!

0 Comments   [ + ] Show comments

Answers (7)

Posted by: anonymous_9363 16 years ago
Red Belt
0
The methods shown in the 2 links are different.

I have had a similar problem with an IS package (not JRE) ignoring the silent directive when using an ISS file. In the end, I captured the app in question. The second one shows a command line which uses the '/V' command-line switch to pass parameters to MSIEXEC (the remaining stuff in quotes, /qn [REBOOT=Suppress]). It's my understanding that there must be no space between the '/V' and the passed parameters. Thus:

<jre>.exe /s /v "/qn [REBOOT=Suppress]" /x

should be

<jre>.exe /s /v"/qn [REBOOT=Suppress]" /x
Posted by: smokin5s 16 years ago
Senior Yellow Belt
0
unfortunately this is for 1.4 and above :-(
Posted by: theoneandonly 16 years ago
Yellow Belt
0
Try this. run uninstall in command prompt setup.exe -r this will create an install.iss file in windows folder. Then extract disk 1 folder in temp in your profile and use it for uninstall. Replace the install.iss with the one you created during uninstall. use the full extracted folder to run setup.exe /s and it will silently uninstall it.
Posted by: smokin5s 16 years ago
Senior Yellow Belt
0
because it uses the -uninst switch to uninstall, Installshield will ignore ISS scripts.
Posted by: nheim 16 years ago
10th Degree Black Belt
0
Hi Josh,
according to people from Macrovision, this version of Installshield has no silent uninstall.

Therfore, you need a Script like this, to get it done:


Set WshShell = WScript.CreateObject ("WScript.Shell")

WshShell.Run chr(34) & "C:\Program Files\InstallShield Installation Information\{70F80C1E-5F26-11D7-88D1-0050DA21757E}\Setup.exe" & chr(34) & " -uninst"

WinWaitActive "Java Runtime Environment" ' Uninstall Prompt
Send "{Y}"
WinWaitActive "Installshield Wizard" ' Setup Status
WinWaitActive "Java Runtime Environment" ' Uninstall Prompt
Send "{ENTER}"

Set WshShell = Nothing
WScript.Quit ' Exit

Sub WinWaitActive(text)
Do : WScript.Sleep 250 : Loop Until WshShell.AppActivate(text)
End Sub

Sub Send(text)
WshShell.Sendkeys text
End Sub

Hope, this does the trick.
Regards, Nick
Posted by: smokin5s 16 years ago
Senior Yellow Belt
0
if I run this script, won't it require the user to be an administrator of the machine? We do not grant our normal user admin rights to their machines.
Posted by: nheim 16 years ago
10th Degree Black Belt
0
[font="courier new"]Hi Josh,
this script requires no special privileges, but the uninstall command from the JRE most likely does.
If it was installed by the users them selfs (what i do not assume), then it can be uninstalled with a logon script with normal user rights.
If it was installed with admin rights (most likely), you could remove it with a startup script.
Regards, Nick
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