Assemble an End-User License Agreement (EULA) package by creating a root directory that contains subdirectories, source files, and configuration files.

For detailed information and examples of configuration files you include in a package, refer to Control File Attributes.
  1. Create a root directory for all components of the EULA package.
    For example: C:\temp\MyEulaPkg
  2. In the root directory, create a Debian binary file.
    Note A Debian binary file declares conformity to the Debian standard. For more information, visit debian.org.
    1. Using a text editor, create a new document.
    2. Enter 2.0 in the file.
    3. Save the file as debian-binary and omit the file extension.
  3. In the root directory, create a control subdirectory.
    C:\temp\MyEulaPkg\control
  4. Inside the control subdirectory, create a control file.
    1. Using a text editor, create a new document and enter all control file attributes and values required for your package.
      Architecture: windows_x64
      Conflicts: ni-package-manager
      Description: This is a custom license agreement for my software.
      XB-DisplayName: My Software License Agreement
      XB-EulaTitle: My Software
      Homepage: https://www.mycompany.com
      Maintainer: My company <support@mycompany.com>
      Package: eula-mycompany
      XB-Plugin: eula
      Section: Infrastructure
      XB-UserVisible: no
      Version: 1.0.0.0
      Note To display a EULA during package installation, add the XB-EULA attribute to the package control file and set the attribute value to the name of the EULA package. When building a feed, ensure that you include the EULA package along with any package that references it.
    2. Save the file as control but omit the file extension.
  5. In the root directory, create a data subdirectory.
    C:\temp\MyEulaPkg\data
  6. In the data subdirectory, create your license file with file extension .rtf or .txt.
    C:\temp\MyEulaPkg\data\my-company-software-license.rtf
The following is an example EULA package:

You can display a localized license agreement file by adding language-specific directories and files. The file in the root data displays if there is no language license agreement that matches the language of the displayed installer. Below is an example of a EULA package that outputs localized license agreement files: