Index: trunk/src/lib/com/izforge/izpack/installer/GUIInstaller.java
===================================================================
--- trunk/src/lib/com/izforge/izpack/installer/GUIInstaller.java	(revision 2686)
+++ trunk/src/lib/com/izforge/izpack/installer/GUIInstaller.java	(working copy)
@@ -85,6 +85,29 @@
      */
     public GUIInstaller() throws Exception
     {
+        try {
+            init();
+        } catch (Exception e) { 
+            showFatalError(e);
+            throw e;
+        } catch (Error e) { 
+            showFatalError(e);
+            throw e;
+        }
+    }
+    
+    private void showFatalError(Throwable e)
+    {
+        try {
+            JOptionPane.showMessageDialog (null, "Error: "+e.toString(), "Error", JOptionPane.ERROR_MESSAGE);
+        } catch (Exception e2) {
+            e2.printStackTrace();
+        }
+    }
+    
+    private void init() throws Exception
+    {
+    
         this.installdata = new InstallData();                
         
         // Loads the installation data

