Assemble a relative file package by creating a root directory that contains subdirectories, source files, and configuration files.

For detailed explanation and examples of the control file you include in a package, refer to the Control File Attributes topic:

Before you build a relative file package, assemble all appropriate source files and subdirectories into a single root directory.

  1. Create a root directory to hold all components of the relative file package.
    For example: C:\temp\MyRelativeFilePkg
  2. Inside the root directory, create a control subdirectory.
    For example: C:\temp\MyRelativeFilePkg\control
  3. Inside the control subdirectory, create a control file.
    1. Using a text editor, create a new document and name it control.
    2. Enter all control file attributes and values needed for your package.
      See Control File Attributes topic for more information about attributes for your control file.
    3. Enter relative-file for the XB-Plugin attribute to indicate that the package is a relative file package.
    4. Save the file and omit the file extension.
  4. Inside the root directory, create a data subdirectory.
    For example: C:\temp\MyRelativeFilePkg\data.
    Package Manager installs any files inside the data subdirectory to the installation path. The default installation path is: C:\Program Files\National Instruments\NI Package Manager\Installed

    Use the --install-root=<DIRECTORY> option with install and uninstall commands to specify a non-default installation path.

    Note Package Manager does not display installed and available relative file packages. Use the command line interface to access Package Manager with relative file packages. Refer to the Accessing the Command Line Interface for Package Manager topic for more information.
  5. (Optional) Inside the data subdirectory, create one or more subdirectories.
  6. Inside the root directory, create a Debian binary file. This file declares conformity to the Debian standard. For more information, visit debian.org.
    1. Using a text editor, create a new document and name it debian-binary.
    2. Enter 2.0 .
    3. Save the file and omit the file extension.
The following figure shows an example relative file package: