cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to Include Files and Folders with an Installer at Build Time Using Manifest Files

How to Include Files and Folders with an Installer at Build Time Using Manifest Files

Summary

How to use the manifest files to include files and directories dynamically at build time

Synopsis

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. Adding an Install from Manifest action to the Install sequence will allow you to reference the manifest file in your project. At build time, the manifest file is analyzed and its contents are placed into the installer. The manifest file format is discussed below.

Discussion

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 Sequence 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

Additional Information

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.
Labels (1)
Was this article helpful? Yes No
0% helpful (0/1)
Comments

Hello

I search why all files and folders of my manifest file are not installed on Windows. 

Is there a size limit per line? or altogether?

 

Version history
Last update:
‎Nov 12, 2018 06:44 PM
Updated by: