Skip to content

Instantly share code, notes, and snippets.

@grenade
Created September 9, 2013 15:36
Show Gist options
  • Save grenade/6497326 to your computer and use it in GitHub Desktop.
Save grenade/6497326 to your computer and use it in GitHub Desktop.
InstallAnywhere can fail on bash environments where any environment variable contains a backslash character (\), resulting in the cryptic error: "Malformed \uxxxx encoding". To work around this, run the installer in a variable free shell using "env -i" as shown in this gist.
mkdir -p /tmp/mq
cd /tmp/mq
tar -zxvf /tmp/ms0t_mqexplorer_7502_linux_x86_64.tar.gz
sed -i.bak -e 's#LICENSE_ACCEPTED=FALSE#LICENSE_ACCEPTED=TRUE#g' /tmp/mq/silent_install.resp
env -i /tmp/mq/Setup.bin -f /tmp/mq/silent_install.resp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment