Table Of Contents

Assembling a WinInst Package

Last Modified: August 7, 2020

Assemble a Windows Installer (WinInst) package by creating a root directory that contains subdirectories, source files, and configuration files.

For detailed explanation and examples of the configuration files you include in a package, refer to the following topics:

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

  1. Create a root directory to hold all components of the WinInst package. For example: C:\temp\MyWinInstPkg
  2. Inside the root directory, create a control subdirectory. For example: C:\temp\MyWinInstPkg\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 wininst for the XB-Plugin attribute to indicate that the package is a WinInst package.
    4. Save the control file and omit the file extension.
  4. Inside the root directory, create a data subdirectory. For example: C:\temp\MyWinInstPkg\data
  5. Inside the data subdirectory, include any MSI files or executable files.
  6. (Optional) Inside the data subdirectory, create an instructions file.
    1. Using a text editor, create a new document and name it instructions.
    2. Enter all appropriate elements and attributes for your package. See Instructions XML for WinInst Packages for more information about the elements and attributes for your instructions file.
    3. Save the instructions file and omit the file extension.
  7. 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 WinInst package:


Recently Viewed Topics