Exemplo n.º 1
0
 /** Invoked when the install finishes. */
 public static void finishedInstall(final String execPath) {
   // Use a runnable as more than likely we've queued up a bunch of
   // Runnables
   try {
     SwingUtilities.invokeAndWait(
         new Runnable() {
           public void run() {
             // do nothing
           }
         });
   } catch (java.lang.reflect.InvocationTargetException ite) {
     Config.trace("Unexpected exception: " + ite);
   } catch (InterruptedException ie) {
     Config.trace("Unexpected exception: " + ie);
   }
   String platformVersion = Config.getPlatformVersion();
   Config.getInstallService().setJREInfo(platformVersion, execPath);
   Config.getInstallService()
       .installSucceeded(Config.isWindowsInstall() && WindowsInstaller.IsRebootNecessary());
 }