Menu

#1 Win64 installer freezes, installs in wrong location

open
nobody
None
7
2012-01-28
2012-01-28
John B.
No

I'm trying to install the Windows 64bit version, and the installer shows a blank dialog at the end and when I click Next it hangs and never returns. See the attached screenshot to see exactly which dialog. Something else I noticed, is that it installed its directory to "Program Files (x86)" (the 32-bit programs dir) instead of "Program Files", so maybe something is trying to run it as 32-bit and froze.

Rowscope 1.2, Java 6u30, Win7 64-bit.

Discussion

  • John B.

    John B. - 2012-01-28
    • priority: 5 --> 7
     
  • John B.

    John B. - 2012-01-28

    I tried installing to "C:\Program Files\Rowscope" and the installer still froze.

     
  • aferrandi

    aferrandi - 2012-02-11

    I am sorry I am late, but did not get notified of your request (I'll check why) . I will look at it. As you know, Rowscope is installed using IzPack In Windows 7, IzPack has to deal with the "access rights" problems when installing on the "Program Files" directory of Windows and need to execute as administrator, therefore showing a dialog the requests administrator user and password. I suppose something goes wrong here. Could be that for some reason it does not mind that it has to act as administrator and therefore gets blocked.

     
  • aferrandi

    aferrandi - 2012-02-11

    I will re-check the installation on Windows 7 64 bits myself, but here is a pair of possible work-arounds:

    First work-around:
    1) Open a "command line" as administrator (right click on the command line icon in the Start/Programs menu and select "Run as administrator"
    2) Run the installation jar (java -jar <installation file path>).

    Second work-around:
    Install it in a directory under your user directory (which does not require administrator rights) , then copy the newly installed directory under "Program Files"or "Program Files (x86)" .

    Please let me know if one of them works!

     
  • aferrandi

    aferrandi - 2012-02-11

    By the way, I downloaded the PNG file but it looks like to me that it is not a PNG, but an HTML page.

     
  • John B.

    John B. - 2012-02-11

    screen shot of the issue

     
  • John B.

    John B. - 2012-02-11

    I re-uploaded the screen shot and it seems to work now.

    I tried installing to my desktop (which is under my user directory) and it still froze. The blank dialog makes me think this is a misconfiguration of IzPac, possibly about permissions or possibly about 32bit vs 64bit. I tried installing from Administrator command line (to desktop) and it still has the issue. But I notices this got spit out on the command line:

    could not create shortcut instance
    java.lang.Exception: error loading library
    java.lang.UnsatisfiedLinkError: C:\Users\Owner\AppData\Local\Temp\ShellLink_x64.
    dll: Can't load AMD 64-bit .dll on a IA 32-bit platform
    at com.izforge.izpack.util.Librarian.loadArchSpecificLibrary(Unknown Sou
    rce)
    at com.izforge.izpack.util.Librarian.loadLibrary(Unknown Source)
    at com.izforge.izpack.util.os.ShellLink.initialize(Unknown Source)
    at com.izforge.izpack.util.os.ShellLink.<init>(Unknown Source)
    at com.izforge.izpack.util.os.Win_Shortcut.initialize(Unknown Source)
    at com.izforge.izpack.panels.ShortcutPanel.panelActivate(Unknown Source)

    at com.izforge.izpack.installer.InstallerFrame.switchPanel(Unknown Sourc
    e)
    at com.izforge.izpack.installer.InstallerFrame.navigateNext(Unknown Sour
    ce)
    at com.izforge.izpack.installer.InstallerFrame.navigateNext(Unknown Sour
    ce)
    at com.izforge.izpack.installer.InstallerFrame$NavigationHandler.navigat
    e(Unknown Source)
    at com.izforge.izpack.installer.InstallerFrame$NavigationHandler.access$
    100(Unknown Source)
    at com.izforge.izpack.installer.InstallerFrame$NavigationHandler$1.run(U
    nknown Source)
    at java.lang.Thread.run(Unknown Source)
    java.lang.NullPointerException
    at com.izforge.izpack.util.os.Win_Shortcut.getProgramsFolder(Unknown Sou
    rce)
    at com.izforge.izpack.panels.ShortcutPanel.getProgramsFolder(Unknown Sou
    rce)
    at com.izforge.izpack.panels.ShortcutPanel.panelActivate(Unknown Source)

    at com.izforge.izpack.installer.InstallerFrame.switchPanel(Unknown Sourc
    e)
    at com.izforge.izpack.installer.InstallerFrame.navigateNext(Unknown Sour
    ce)
    at com.izforge.izpack.installer.InstallerFrame.navigateNext(Unknown Sour
    ce)
    at com.izforge.izpack.installer.InstallerFrame$NavigationHandler.navigat
    e(Unknown Source)
    at com.izforge.izpack.installer.InstallerFrame$NavigationHandler.access$
    100(Unknown Source)
    at com.izforge.izpack.installer.InstallerFrame$NavigationHandler$1.run(U
    nknown Source)
    at java.lang.Thread.run(Unknown Source)
    Exception in thread "Thread-14" java.lang.NullPointerException
    at com.izforge.izpack.panels.ShortcutPanel.isValidated(Unknown Source)
    at com.izforge.izpack.installer.IzPanel.panelValidated(Unknown Source)
    at com.izforge.izpack.installer.InstallerFrame.navigateNext(Unknown Sour
    ce)
    at com.izforge.izpack.installer.InstallerFrame.navigateNext(Unknown Sour
    ce)
    at com.izforge.izpack.installer.InstallerFrame$NavigationHandler.navigat
    e(Unknown Source)
    at com.izforge.izpack.installer.InstallerFrame$NavigationHandler.access$
    100(Unknown Source)
    at com.izforge.izpack.installer.InstallerFrame$NavigationHandler$1.run(U
    nknown Source)
    at java.lang.Thread.run(Unknown Source)

     
  • aferrandi

    aferrandi - 2012-02-12

    Can you please check if your java runtime is 32 or 64 bits?
    Just open a "command line" and write:

    java -version

    If the java runtime is 32 bits, you'll probably need to use the 32 bits version of RowScope.

     
  • John B.

    John B. - 2012-02-13

    Ah, that probably explains it! I do believe I have the 32-bit JRE, I forgot about that:

    java version "1.6.0_30"
    Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
    Java HotSpot(TM) Client VM (build 20.5-b03, mixed mode, sharing)

    I would suggest seeing if the installer can detect a mis-matched JRE type (32 vs 64 bit) and block the install with a descriptive error message. Thanks!

     
  • aferrandi

    aferrandi - 2012-02-13

    Someone tried but it does not very easy:

    http://comments.gmane.org/gmane.comp.java.izpack.user/5233

    Can I close the bug?

     
  • John B.

    John B. - 2012-02-14

    You can close the bug if you want. I just had one last suggestion. Since the 64-bit JRE is so uncommon, maybe but a "warning" or "note" dialog reminding people it's the JRE version that must match, not the processor architecture. That will probably help lots of us. Thanks! :)

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.