Using jniwrapper custom code in install4j installers -


we have installation script written in install4j.

our installer needs call custom code library jniwrap.dll. included jniwrap.dll install4j project , declared in 'installer' > 'custom code & resources'.

unfortunately installation fails: jniwrap.dll cannot loaded because it's not in search path.

do know how error can fixed? jniwrapper's license file? have insert install4j project, too?

thank in advance.

unfortunately installation fails: jniwrap.dll cannot loaded because it's not in search path.

the parent directory of extracted file not in search path. have call

system.load((string)context.getvariable("sys.resourcedir")      + file.separator + "jniwrap.dll"); 

to load library.

what jniwrapper's license file? have insert install4j project, too?

if needs in same directory dll, yes.