cancel
Showing results for 
Search instead for 
Did you mean: 
qqqqqq
Pilgrim

add dll in java.library.path

Hi,
I need a dll to be used during pre-install phase.
(more specifically, i need sqljdbc_auth.dll for testing SQL connection)
To use System.loadLibrary(), the dll should be in java.library.path..

how should i do this? (I need in pre-install phase)
how IA handles any custom code with dll dependencies?

waiting for reply
thanks
qqqqqq
Labels (1)
0 Kudos
7 Replies
qqqqqq
Pilgrim

Re: add dll in java.library.path

How we are supposed to use any dll dependency in InstallAnywhere??
0 Kudos
sting74
Pilgrim

add dll in java.library.path

I would very like to know too.
I have the same problem (also for validating SQL connection), but I can't figure it out.

Someone?
Thanks
Sting74
0 Kudos
pv7721
Flexera beginner

Re: add dll in java.library.path

Does your installer bundle any VM? Because if it does, you could put your .dll in the .VM pack.
0 Kudos
sting74
Pilgrim

Re: add dll in java.library.path

it works.
Thank you very much
0 Kudos
jrokicki
Pilgrim

answer?

So what was the answer? Create a custom ZIP file for the VM that contains this DLL?

Is it possible to create a ZIP file that is a dependency of the custom action that just contains the DLL?
0 Kudos
sting74
Pilgrim

Re: add dll in java.library.path

I've added the dll in the bin folder in the file vm.zip in the vm pack. So now, my custom action can used it.
0 Kudos
ray_008
Pilgrim

Re: add dll in java.library.path

Do you know how to bundle a .so file for Linux installer?
0 Kudos