phanik
Pilgrim

Product Failed to install with error "Installer User Interface Mode Not Supported"

hi,
my product failed to install on RHEL v. 7.3 with error as shown below. Please help me how to resolve this issue.


./myproduct_LINUX_X86_64.bin -i console Preparing to install Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...


=======================================================

Installer User Interface Mode Not Supported

Unable to load and to prepare the installer in console or silent mode.

=======================================================
----
Labels (1)
0 Kudos
11 Replies
sturge
Flexera beginner

Did you check the Console checkbox under InstallerUI?
0 Kudos
phanik
Pilgrim

yes , selected checkbox for all 3, GUI, console and silent.

I am providing error below:



java.version == 1.8.0_121 (Java 1)
java.vm.name == Java HotSpot(TM) 64-Bit Server VM
java.vm.vendor == Oracle Corporation
java.vm.version == 25.121-b13
java.vm.specification.name == Java Virtual Machine Specification
java.vm.specification.vendor == Oracle Corporation
java.vm.specification.version == 1.8
java.specification.name == Java Platform API Specification
java.specification.vendor == Oracle Corporation
java.specification.version == 1.8
java.vendor == Oracle Corporation
java.vendor.url == http://java.oracle.com/
java.class.version == 52.0
java.library.path == /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.compiler == null
java.home == /tmp/install.dir.31283/Linux/resource/jre
java.io.tmpdir == /tmp
os.name == Linux
os.arch == amd64
os.version == 3.10.0-514.2.2.el7.x86_64
path.separator == :
file.separator == /
file.encoding == UTF-8
user.name == root
user.home == /root
user.dir == /tmp/install.dir.31283
user.language == en
user.region == null
__________________________________________________________________________

XMLScriptReader: unable to parse the provided script file. File may have been invalid...
java.lang.NullPointerException
at Flexeraan8.am(Unknown Source)
at Flexeraan8.ak(Unknown Source)
at Flexeraan8$1.aa(Unknown Source)
at Flexeraair.ad(Unknown Source)
at Flexeraan8.ac(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.b1(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.a8(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.au(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.consoleInstallMain(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.executeApplication(Unknown Source)
at com.zerog.ia.installer.Main.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.zerog.lax.LAX.launch(Unknown Source)
at com.zerog.lax.LAX.main(Unknown Source)
Unable to load the script.

=======================================================

Installer User Interface Mode Not Supported

Unable to load and to prepare the installer in console or silent mode.

=======================================================

SHUTDOWN REQUESTED
(X) commiting registry
(X) shutting down service manager
(X) cleaning up temporary directories
System's temporary directory = /tmp
Exiting with exit code: 2000
cleanUp()
calling cleanUpUNIX()



please help me on this.
0 Kudos
sturge
Flexera beginner

Try running this after entering "export LAX_DEBUG=true" if you haven't already. Maybe it will give more info

I did find this link. Not sure if it relates to you. It suggests a Linux library is missing.

http://www.novell.com/support/kb/doc.php?id=3942266

0 Kudos
phanik
Pilgrim

thanks Sturge for your quick reply.

yes i already did "export LAX_DEBUG=true". and pasted the error in my previous post. again im coping here. Please help on this.




java.version == 1.8.0_121 (Java 1)
java.vm.name == Java HotSpot(TM) 64-Bit Server VM
java.vm.vendor == Oracle Corporation
java.vm.version == 25.121-b13
java.vm.specification.name == Java Virtual Machine Specification
java.vm.specification.vendor == Oracle Corporation
java.vm.specification.version == 1.8
java.specification.name == Java Platform API Specification
java.specification.vendor == Oracle Corporation
java.specification.version == 1.8
java.vendor == Oracle Corporation
java.vendor.url == http://java.oracle.com/
java.class.version == 52.0
java.library.path == /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.compiler == null
java.home == /tmp/install.dir.31283/Linux/resource/jre
java.io.tmpdir == /tmp
os.name == Linux
os.arch == amd64
os.version == 3.10.0-514.2.2.el7.x86_64
path.separator == :
file.separator == /
file.encoding == UTF-8
user.name == root
user.home == /root
user.dir == /tmp/install.dir.31283
user.language == en
user.region == null
__________________________________________________________________________

XMLScriptReader: unable to parse the provided script file. File may have been invalid...
java.lang.NullPointerException
at Flexeraan8.am(Unknown Source)
at Flexeraan8.ak(Unknown Source)
at Flexeraan8$1.aa(Unknown Source)
at Flexeraair.ad(Unknown Source)
at Flexeraan8.ac(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.b1(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.a8(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.au(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.consoleInstallMain(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.executeApplication(Unknown Source)
at com.zerog.ia.installer.Main.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.zerog.lax.LAX.launch(Unknown Source)
at com.zerog.lax.LAX.main(Unknown Source)
Unable to load the script.

=======================================================

Installer User Interface Mode Not Supported

Unable to load and to prepare the installer in console or silent mode.

=======================================================

SHUTDOWN REQUESTED
(X) commiting registry
(X) shutting down service manager
(X) cleaning up temporary directories
System's temporary directory = /tmp
Exiting with exit code: 2000
cleanUp()
calling cleanUpUNIX()
0 Kudos
sturge
Flexera beginner

I found this old thread that could be your problem. Has to do with signed jars in your dependencies. Check it out.

https://community.flexerasoftware.com/showthread.php?194093-quot-Installer-User-Interface-Mode-Not-S...
0 Kudos
phanik
Pilgrim

My problem is resolved by setting DISPLAY="" , on target machine DISPLAY env variable has been set to something else, this is why my installer is ending up with console mode not supported error. Thanks alot for all your help guys.
0 Kudos
RamyaLogalingam
Pilgrim

user.dir == /opt/apps/install.dir.123568
user.language == en
user.region == null
__________________________________________________________________________

XMLScriptReader: unable to parse the provided script file. File may have been invalid...
java.lang.NullPointerException
at Flexeraan8.am(Unknown Source)
at Flexeraan8.ak(Unknown Source)
at Flexeraan8$1.aa(Unknown Source)
at Flexeraair.ad(Unknown Source)
at Flexeraan8.ac(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.b1(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.a8(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.au(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.consoleInstallMain(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.executeApplication(Unknown Source)
at com.zerog.ia.installer.Main.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.zerog.lax.LAX.launch(Unknown Source)
at com.zerog.lax.LAX.main(Unknown Source)
Unable to load the script.

=======================================================

Installer User Interface Mode Not Supported

Unable to load and to prepare the installer in console or silent mode.

=======================================================

SHUTDOWN REQUESTED
(X) commiting registry
(X) shutting down service manager
(X) cleaning up temporary directories
System's temporary directory = /tmp
Exiting with exit code: 2000
cleanUp()
calling cleanUpUNIX()


Note : Tried by setting up DISPLAY="", but still facing issue. Please help on this asap.
0 Kudos
JP_Martin
Pilgrim

RamyaLogalingam wrote:
user.dir == /opt/apps/install.dir.123568
user.language == en
user.region == null
__________________________________________________________________________

XMLScriptReader: unable to parse the provided script file. File may have been invalid...
java.lang.NullPointerException
at Flexeraan8.am(Unknown Source)
at Flexeraan8.ak(Unknown Source)
at Flexeraan8$1.aa(Unknown Source)
at Flexeraair.ad(Unknown Source)
at Flexeraan8.ac(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.b1(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.a8(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.au(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.consoleInstallMain(Unknown Source)
at com.zerog.ia.installer.LifeCycleManager.executeApplication(Unknown Source)
at com.zerog.ia.installer.Main.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.zerog.lax.LAX.launch(Unknown Source)
at com.zerog.lax.LAX.main(Unknown Source)
Unable to load the script.

=======================================================

Installer User Interface Mode Not Supported

Unable to load and to prepare the installer in console or silent mode.

=======================================================

SHUTDOWN REQUESTED
(X) commiting registry
(X) shutting down service manager
(X) cleaning up temporary directories
System's temporary directory = /tmp
Exiting with exit code: 2000
cleanUp()
calling cleanUpUNIX()


Note : Tried by setting up DISPLAY="", but still facing issue. Please help on this asap.



This worked for me:

DISPLAY=""
export DISPLAY

Just in case you didn't do the export piece.
0 Kudos
fiosbor
Pilgrim

sturge wrote:
Try running this after entering "export LAX_DEBUG=true" if you haven't already. Maybe it will give more info

I did find this link. aboutmens review of sizegenetics Not sure if it relates to you. It suggests a Linux library is missing.

http://www.novell.com/support/kb/doc.php?id=3942266


this link. Not working ?
0 Kudos
Mariyam
Pilgrim

My project was using InstallAnywhere 2013 so far and recently, we upgraded to InstallAnywhere 2017. Soon after the upgrade, we started facing issues on starting Installer with the error message '
Installer User Interface Mode Not Supported Unable to load and to prepare the installer in console or silent mode.' The issue is happening in linux environment when the DISPLAY variable is set and works fine when the value is unset. With the old version of InstallAnywhere, it was working fine with the DISPLAY variable set.
Why is this issue happening with the latest InstallAnywhere? Is there any plan to get this issue resolved by flexera?
0 Kudos
phanik
Pilgrim

another work around for this issue is...

run below commands, if you find any of these files then try to delete both or at least one. Try install your product.

rpm -qa | grep xorg-x11-fonts-Type1
rpm -qa | grep stix-fonts
0 Kudos