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!
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)
Please log in to answer
Posted by:
anonymous_9363
16 years ago
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
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:
theoneandonly
16 years ago
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
Posted by:
nheim
16 years ago
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
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
Posted by:
nheim
16 years ago
[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
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.
so that the conversation will remain readable.