This article describes how to use the Extract To File Plugin in order to extract a file that is contained in the installer's archive to a location that is in the installer's classpath during the Pre-Install summary. This is especially useful if the installer uses custom actions which need a native library in the installer's classpath in order to make native calls using JNI.
A sample InstallAnywhere project is attached to this article which demonstrates how to extract a file which is included in the installer's $DO_NOT_INSTALL$ Magic Folder to a directory which will be in the classpath of the installer.