Manifest Files
InstallAnywhere 2021
Manifest files are text files which specify a list of files and directories. Using a manifest file you create outside of InstallAnywhere, you can identify files and directories to be included in the build. At build time, the manifest file is analyzed and its contents are placed into the installer.
Note:In addition to creating the manifest file, you must also add an Install from Manifest action. See Install Actions.
The manifest file format specifies the file's source, its destination (which is relative to the location of the action in the Visual Tree of the Install view), and optionally, which UNIX file permissions it should have and whether it should be placed on the classpath.
Syntax for File References
F,[SOURCEPATH]relative_path_to_source_file,./relative_path_to_destination_file
F,absolute_path_to_source_file,./relative_path_to_destination_file
Syntax for Putting Files in the Classpath
F,absolute_path_to_source_file,./relative_path_to_destination_file,cp
Syntax for Setting File Permissions on UNIX
F,[SOURCEPATH]relative_path_to_source_file,./relative_path_to_destination_file,755
Syntax for Directory References
D,[SOURCEPATH]relative_path_to_source_dir[/],./relative_path_to_destination_dir[/]
D,absolute_path_to_source_dir[/],./relative_path_to_destination_dir[/]
Examples
F,$IA_HOME$/path/to/source/file.txt,./destination/path/thisfile.txt
F,/absolute/path/to/source/file.txt,./destination/path/thisfile.txt,cp,655
D,$IA_HOME$/path/to/dir,./destination/path/dir
D,/absolute/path/to/dir,./destination/path/dir
Tip:On the General tab of the InstallAnywhere Preference dialog box, you can specify whether a build should stop or continue if a manifest file referenced in the project is not available. See General Settings Tab.
See Also