[izpack-users] Problem creating shortcuts with Windows(UnsatisfiedLinkError)
benjamin at hanzelmann.de
Mon Oct 9 10:02:56 CEST 2006
On Mon, Oct 09, 2006 at 09:47:59AM +0200, Bartz, Klaus wrote:
> Hi Benjamin,
> it seems so that the OS API function CoInitializeEx fails.
> I do not know why; at other installations it works.
I hate this kind of errors. ;)
> What I do not understand is the line
> >> java.lang.UnsatisfiedLinkError: initializeCOM
> That line will be written if the the shortcut dll will not be found.
> But then "could not create shortcut instance" should not be thrown.
> Do you have added
> <native type="izpack" name="ShellLink.dll"/>
> in your installation description file?
Yes, in http://lupus.cs.uni-dortmund.de/~hanzelm/ are all the XML-files
used for the installer. The ShellLink.dll is included in the
JavaABC-Installer.jar under the name "native/ShellLink.dll".
> Works the IzPack installation on the box where JavaABC-Installer fails?
I did not try that, I will give it a go later today...
> Secound puzzle for me is the time the exception will be thrown.
> If I look into the code or test, the code will be performed at
> panelActivate of ShortcutPanel. Are the ShortcutPanel your first panel?
No, it is not.
As far as I understood the code the dll is bound to the Java class at
startup, and that fails.
Thanks for helping,
More information about the izpack-users