Table Of Contents

Assembling a Relative File Package

Version:
    Last Modified: November 6, 2020

    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 following 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 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. 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\
      spd-note-note
      Note  

      Refer to Accessing the Command Line Interface for Package Manager for guidelines on how to modify the execution of Package Manager processes and install a Relative File package in a path other than the default installation path.

      For example: C:\temp\MyRelativeFilePkg\data.
    5. (Optional) Inside the 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:


    Recently Viewed Topics