PROBLEM: Prior to August 2007, jxProject used the zerog
installer which became problematic for uninstallation. The zerog
installer is no longer used but this information is for those that
may still have these very old installations that they wish to
remove. The problem is that the zerog installer will not uninstall
on the Windows platform. When an unistall is attempted, the user
gets the following error: java.lang.UnsatisfiedLinkError:
com.zerog.ia.platform.Sys.getSpecialFolderJNI(I)Ljava/lang/String
CAUSE: The zerog installer used
to install jxProject prior to 10-Aug-2007 is a product named
“InstallAnywhere Now” produced by zerog software
company. Zerog was acquired by another company some years ago and
the “InstallAnywhere Now” product is no longer
supported. The installer/unistaller is not compatible with Java 1.6
but does work with Java 1.5 and 1.4.
SOLUTION(S): The zerog installer
is no longer being used so these problems will not exist going
forward. However, to remove previous installations, there are a
couple of solutions to uninstalling jxProject. They are: 1) Locate
an existing version of Java 1.5/1.4 and alter the uninstall
configuration file to use it for the uinstall, or 2) Manually
delete the files and registry values associated with the install.
Solution #1: Uninstalling
by linking against Java 1.5/1.4. If you look on your computer under
“C:\Program Files\Java” you just might have a Java 1.5
or 1.4 installation sitting there that you can use. It would be a
folder like “jre1.5.0_11” or “j2re1.4.2_07”.
If you have something like this, then you should use it for the
uninstallation. If not, you will need to download and install a
Java 1.5 jre at http://www.java.com/getjava
or you can try solution #2 for uninstalling.
Assuming you now have a
suitable JVM. You need to edit the file “C:\Program
Files\jxProject_2.5.2.4\UninstallerData\Uninstall jxProject.lax”.
The path depends on where you installed jxProject, this is the
default location, and the file name will be the same.
Edit “Uninstall
jxProject.lax”. Find the line in the file like:
“lax.nl.current.vm=C:\\Program
Files\\Java\\jdk1.6.0_01\\jre\\bin\\java.exe” and change it
to point to your 1.5 or 1.4 jvm. For my example above it would be:
“lax.nl.current.vm=C:\\Program
Files\\Java\\jre1.5.0_11\\bin\\java.exe”. Be sure to use
double slashes and that the path is accurate to the java.exe file,
otherwise it will not work. Save your changes.
Now go to your “add/remove”
programs and initiate the uninstall. If you have done this
correctly, it will uninstall. If not, check for typos. You can
email support for more assistance.
Solution #2: Manually
uninstalling the files and editing the registry. Extensive testing
was performed with a registry monitoring product to record what
registry changes the zerog installer was making. The only registry
keys being added were similar to:
“HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\jxProject
2.5.2.4”. Then of course there were the installed files and
any shortcuts that the user requested during installation. The
files and shortcuts can be deleted easily, the most difficult part
is removing the registry settings.
To identify zerog
installations, a vbs script is provided to examine the registry
and report the location of the zerog installed
files(jxpFindOldRegInstallations.vbs).
This script does not modify or delete anything, it just examines
the registry. You should be able to run this script by downloading
it and double clicking it. However, some system administrators
disable vb script. So if it won't run, you need to contact your
administrator. Hint: If you open a command window and navigate to
the directory with the script, you may be able to get it to run by
typing: “wscript.exe jxpFindOldRegInstalltions.vbs”.
If there are no zerog
installations in the registry, the script will pop up a window
saying: “End script; No old jxProject installations found in
windows registry”. If there are installations found, it will
pop up a window for each found installation saying: “Found
Old installation in registry ...; You need to manually delete
files located at: C\Program Files\...”. You should delete
the files at the given location after confirming you no longer
want this installation. Then click OK. It will continue finding
other installations until you get “End script; found #
installation(s)”.
Having removed the files
at the installation locations identified by the script. Now you
can remove the registry keys by running the
file(jxpRegDelete2522.reg).
This file will remove the registry settings for all old jxProject
installations. It is a simple file and will only delete the
registry keys that match exactly, otherwise no changes are made.
You can run this file by downloading and double clicking it. You
can also edit the registry yourself using “regedit”
and removing the keys that are identified in the
“jxpRegDelete2522.reg” file. But be very careful!. The
reg file is by far the safest method to make these registry
changes.
After completing the registry
changes it would be good to run the vbs script again
“jxpFindOldRegInstalltions.vbs”. Just to make sure all
of the registry entries are gone.
The only items remaining will
be shortcuts on your desktop or start folders. You can delete
these by right clicking on them and selecting “delete”.