/bundles/itninjaweb/img/Breadcrumb_cap_w.png
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   [ - ] Hide Comments

Comments

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
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
Answered 08/24/2007 by: VBScab
Red Belt

Please log in to comment
0
unfortunately this is for 1.4 and above :-(
Answered 08/24/2007 by: smokin5s
Senior Yellow Belt

Please log in to comment
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.
Answered 08/29/2007 by: theoneandonly
Yellow Belt

Please log in to comment
0
because it uses the -uninst switch to uninstall, Installshield will ignore ISS scripts.
Answered 08/29/2007 by: smokin5s
Senior Yellow Belt

Please log in to comment
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
Answered 09/03/2007 by: nheim
Tenth Degree Black Belt

Please log in to comment
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.
Answered 09/04/2007 by: smokin5s
Senior Yellow Belt

Please log in to comment
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
Answered 09/04/2007 by: nheim
Tenth Degree Black Belt

Please log in to comment