[izpack-users] Problem creating shortcuts with Windows(UnsatisfiedLinkError)

Bartz, Klaus Klaus.Bartz at coi.de
Mon Oct 9 09:47:59 CEST 2006


Hi Benjamin,
it seems so that the OS API function CoInitializeEx fails.
I do not know why; at other installations it works.
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?

Works the IzPack installation on the box where JavaABC-Installer fails?

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?

Cheers

Klaus

>-----Original Message-----
>From: izpack-users-bounces at lists.berlios.de
>[mailto:izpack-users-bounces at lists.berlios.de]On Behalf Of Benjamin
>Hanzelmann
>Sent: Monday, October 09, 2006 9:16 AM
>To: izpack-users at lists.berlios.de
>Subject: Re: [izpack-users] Problem creating shortcuts with
>Windows(UnsatisfiedLinkError)
>
>
>On Wed, Oct 04, 2006 at 03:14:33PM +0200, Benjamin Hanzelmann wrote:
>> Hi,
>> 
>> I have a (hopefully small ;) problem regarding the creation 
>of shortcuts
>> for the Windows menu. When I start the installer via "java 
>-jar ..." I
>> get the following Expection right after the language selection: 
>> 
>> U:\>java -jar JavaABC-Installer.jar
>> could not create shortcut instance
>> java.lang.Exception: unidentified problem initializing COM
>> java.lang.UnsatisfiedLinkError: initializeCOM
>>         at 
>com.izforge.izpack.util.os.ShellLink.initialize(ShellLink.java:481)
>>         at 
>com.izforge.izpack.util.os.ShellLink.<init>(ShellLink.java:349)
>[...]
>
>Nobody knows? *sob*
>
>Ben
>_______________________________________________
>izpack-users mailing list
>izpack-users at lists.berlios.de
>https://lists.berlios.de/mailman/listinfo/izpack-users
>



More information about the izpack-users mailing list