May 7, 2010

InstallAnywhere Package fails to install with a strange Malformed encoding error

I attempted to install an InstallAnywhere Package on OpenSolaris with UTF-8
Character setting:


[root@solewer:~/prod]$locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_ALL=
Starting the installer results in the following output:


[root@solewer:~/prod]$./vsopcsi_40305_sol11i.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

An internal LaunchAnywhere application error has occured and this application cannot proceed. (LAX)

Stack Trace:
java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
        at java.util.Properties.loadConvert(Properties.java:552)
        at java.util.Properties.load0(Properties.java:375)
        at java.util.Properties.load(Properties.java:325)
        at com.zerog.common.java.util.PropertiesUtil.loadProperties(DashoA10*..)
        at com.zerog.lax.LAX.(DashoA10*..)
        at com.zerog.lax.LAX.main(DashoA10*..)
Attempting to set an other locale like de_AT.ISO8859-15 didn't change
anything.

A helpful hint is here.

reseting the PS1 environment variable for the prompt to
PS1='${PWD}>'
and starting the installer: 
/export/home/ewer/prod>./vsopcsi_40305_sol11i.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

 shows the install dialog.