I use a dll in my Netbeans Desktop Application, loading it from /release/modules/lib path in the module that uses it with the instruction Native.loadLibrary(dllName, dllClass.class);
.
From the IDE all works fine, but when the application is installed, the dll doesn't works. Making some tests I probe that changing the dll file permissions to adding it write permission, makes that the dll working fine (dll file in the installed application). Also, executing the application with admin permissions works fine.
The target operating system is Windows (I've tested in win 7 and 10) and the install path is in c:\program files(x86).
The question is if there is a way to make from the Netbeans IDE that this dll file has this write persmission when deployed.
Thanks in advance.