Usage
Several listeners or panels might need access to OS-dependent shared libraries. They are divided into
- built-in libraries,
- 3rd party libraries.
Built-in libraries are available for inclusion at compile time out of the box.
To minimize the size of resulting installers, each native library must be explicitly included. This is done by the <natives>
element.
The <natives>
element can embed an unlimited number of nested <native>
elements.
To add the same library for different processor architectures they must get a different name for each architecture and be added all.
Attribute to <native> | Values | Required | Description |
---|---|---|---|
Example
For using the Shortcut Panel on Windows there are required the ShellLink native libraries to access some native APIs:
How to include native DLLs for ShortcutPanel
<natives> <native type="izpack" name="ShellLink.dll"/> <native type="izpack" name="ShellLink_x64.dll"/> </natives>
Both 32-bit and 64-bit versions are built-in to IzPack.