PDA

View Full Version : UI Mode not set for Linux Uninstaller



shifengzhang
02-11-2015, 01:14 AM
Hi,

I used IA2014 to create the installer for Linux. The installer ran with GUI for the install and uninstall process. Below is my UI Mode setup on the IA2014:
10722

As you can see, I chose the GUI for both Default Unix Installer/Uninstaller GUI Mode. If I ran the installer from the console, the GUI is displayed and the install finished successfully. And the IA debug message displayed:

========= Display settings ===========================================
X display............................... local
UI mode................................. gui

If I ran the uninstaller from the console, I got below debug message, and one NullPointerException. If I ran the uninstaller from the Linux File Browser by double click it, the uninstaller ran successfully and the GUI displayed. So my question is how to setup IA2014 to allow the GUI uninstaller ran successfully from the console.

========= Display settings ===========================================
X display............................... local
UI mode................................. not set
========= VM Command Line ============================================

Exception trace:
java.lang.NullPointerException

at Flexeraaru.ag(Unknown Source)

at com.zerog.ia.installer.LifeCycleManager.init(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)


Thanks,
Shifeng