Silent Uninstall Java 2 RE 1.4.1
Does anyone know how to perform a silent uninstall of Java 2 Runtime Environment 1.4.1_07? Refered to the uninstall string and this application is not an MSI. The uninstall string in the registry is:
RunDll32 C:\PROGRA~1\COMMON~1\INSTAL~1\engine\6\INTEL3~1\Ctor.dll,LaunchSetup "C:\Program Files\InstallShield Installation Information\{CA532E73-1BB7-11D8-9D6A-00010240CE95}\Setup.exe\" Anytext
But I cannot figure out what variable to add to this line to make the uninstall silent.
I have also refered to Sun Java's website and the solution provided also does not seem to work with 1.4.1_07 The article is located here:
http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/silent.html#uninstalling
If anyone has found a solution to this I would very much appreciate it. I have also tried creating an MSI but the problem with that solution is when removing the MSI it breaks other versions of Java 2 Runtime Environment.
RunDll32 C:\PROGRA~1\COMMON~1\INSTAL~1\engine\6\INTEL3~1\Ctor.dll,LaunchSetup "C:\Program Files\InstallShield Installation Information\{CA532E73-1BB7-11D8-9D6A-00010240CE95}\Setup.exe\" Anytext
But I cannot figure out what variable to add to this line to make the uninstall silent.
I have also refered to Sun Java's website and the solution provided also does not seem to work with 1.4.1_07 The article is located here:
http://java.sun.com/j2se/1.4.2/docs/guide/plugin/developer_guide/silent.html#uninstalling
If anyone has found a solution to this I would very much appreciate it. I have also tried creating an MSI but the problem with that solution is when removing the MSI it breaks other versions of Java 2 Runtime Environment.
0 Comments
[ + ] Show comments
Answers (5)
Please log in to answer
Posted by:
urban_diver
15 years ago
Posted by:
wiseapp
15 years ago
Posted by:
jyoung_usa
15 years ago
Sun JRE 1.4.1_anyversion is compiled in Installshield 7 and you will need to create ISS response files for both the install and unisntall to use the Installshield silent switches. Run the setup.exe -r to create the setup.iss file under C:\Windows. Then get the uninstall info out of the registry and run it with the -r to get the uninstall iss file from the same location. Once you have the 2 files you can use the standard IS switches. Here is an example of the uninstall structure: "C:\Program Files\InstallShield Installation Information\{CD0159C9-17FB-11D6-A76A-00B0D079AF64}\setup.exe" -uninstall -s -f1C:\winDOWS\setup.iss . Remeber there there is no space between the -f1 and the iss location.
Posted by:
hannimos
15 years ago
"C:\Program Files\InstallShield Installation Information\{1666FA7C-CB5F-11D6-A78C-00B0D079AF64}\setup.exe" -s -a -s -f1c:\%whatever%.iss
Please change drive and path as needed.
Contents of %whatever%.iss
[InstallShield Silent]
Version=v6.00.000
File=Response File
[File Transfer]
OverwrittenReadOnly=NoToAll
[{1666FA7C-CB5F-11D6-A78C-00B0D079AF64}-DlgOrder]
Dlg0={1666FA7C-CB5F-11D6-A78C-00B0D079AF64}-SprintfBox-0
Count=1
[{1666FA7C-CB5F-11D6-A78C-00B0D079AF64}-SprintfBox-0]
Result=1
[Application]
Name=Java 2 Runtime Environment, SE v1.4.1_01
Version=1.4.1_01
Company=JavaSoft
Lang=0009
[{1666FA7C-CB5F-11D6-A78C-00B0D079AF64}-File Transfer]
SharedFile=YesToAll
Last lines might not be needed, but uninstall fails if not present.
Good luck, scott
Please change drive and path as needed.
Contents of %whatever%.iss
[InstallShield Silent]
Version=v6.00.000
File=Response File
[File Transfer]
OverwrittenReadOnly=NoToAll
[{1666FA7C-CB5F-11D6-A78C-00B0D079AF64}-DlgOrder]
Dlg0={1666FA7C-CB5F-11D6-A78C-00B0D079AF64}-SprintfBox-0
Count=1
[{1666FA7C-CB5F-11D6-A78C-00B0D079AF64}-SprintfBox-0]
Result=1
[Application]
Name=Java 2 Runtime Environment, SE v1.4.1_01
Version=1.4.1_01
Company=JavaSoft
Lang=0009
[{1666FA7C-CB5F-11D6-A78C-00B0D079AF64}-File Transfer]
SharedFile=YesToAll
Last lines might not be needed, but uninstall fails if not present.
Good luck, scott

so that the conversation will remain readable.