Skip to content

Individual File Properties

While global settings define default behavior, you can override properties for individual files to place them in specific system directories, extract them conditionally, or prevent them from being uninstalled.

  1. Open the File Manager.
  2. Select the file(s) to modify.
  3. Click Properties in the toolbar, or double-click / right-click for the context menu.

File Properties Editor

By default, files extract to the Main Destination Folder. You can override this per file:

Variable-based paths

Use variables like %DESTPATH%\My Custom Path, %SYS%, %APPDATADIR%, or %MYDOCDIR%\My Software\Assets to target dynamic system locations.

By default, each file is stored inside the package using its source filename. The Archive Name tab of the File Properties dialog lets you ship a file under a different name, without having to keep a manually renamed copy of the source file.

The Archive Name tab in the File Properties dialog, with Override Archive Filename set so XLSPadlockDesigner32.exe is stored in the archive as XLSPadlockDesigner.exe

Simple filename

Enter a plain filename (e.g. XlsPadlockDesigner.exe) to rename the file while keeping its computed folder. Typical use: ship an architecture-specific build such as XlsPadlockDesigner32.exe under the neutral name XlsPadlockDesigner.exe.

Relative path

Enter a path that contains a backslash (e.g. bin\Designer.exe) to set the exact location inside the archive. This overrides the global store path and relative path settings for that file.

Control whether a file is extracted at runtime based on a variable value:

  1. In the File Properties editor, enter a Boolean variable name (e.g. %EXTRACT_DOCS%).
  2. Use Custom Actions earlier in the flow to set it to 1 (extract) or 0 (skip).
ScenarioBehavior
Component variable onlyFile extracts if the component is selected
Conditional variable onlyFile extracts if the variable is 1
Both definedConditional variable takes precedence: the file extracts if its variable is 1, even if the parent component is not selected

If you have enabled the Package Uninstaller, you can set “Do not remove the file” for user-generated data, log files, or shared components that should remain on the system after removal.

Right-click files in the File Manager and select Clear Files Properties to revert all custom settings (destination, condition, uninstaller) to default behavior.