cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
qqqqqq
Level 7

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
Level 7

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

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
Level 20

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

it works.
Thank you very much
0 Kudos
jrokicki
Level 4

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
Level 3

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
Level 2

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