File
Function: This element is used to copy a file to the file system of the installation computer. The target path is either predefined or can be selected by the user.
Parameter | Description |
---|---|
TargetFolder | Contains the path of the destination folder where the file should be copied If this is a string, then the path is used directly. If this is an integer value prepended by a dollar sign ($), then it is a reference to the TargetDirectoryDefinition and the user will have the option to interactively select the desired target path. You can also use environment variables which are between percent signs (%). In addition to the variables which are provided by the operating system, there are also local environment variables:
|
Path |
|
IgnoreArchiveFolder |
Default value: "not enabled" ( |
Overwrite | Defines whether and under what conditions the file should be overwritten if the file already exists in the destination folder The conditions are defined by the combination of Option and Version. |
Option |
|
Version | Version compared to when the option is TargetVersionGreaterOrEqual or TargetVersionSmallerOrEqual, TargetVersionGreater, TargetVersionEqual, or TargetVersionSmaller The string has to correspond to one of the following formats:
The string has to correspond to one of the following formats: Where <major version>, <minor version>, <build> and <revision> are each numbers between 0 and 255 |
Annotation | Additional comment or information about the file This information is visible only within the Package Designer. |
Id | Integer which identifies the file element Has to be unique within the component Requirement: Minimum version of the Package Manager is 3.5.4.0 |