Follow these steps to create an installer or repository,
which will contain the package you create and all dependent packages.
-
Access the Installers and Repositories pane.
-
Select
New Installer or Repository, then select either:
-
New Package Installer to create a package
installer which allows a user to install packages without NI Package
Manager installed by double-clicking on the
Install.exe file. This installer only has a
single version of a given package.
-
New Local Repository to create a repository which
can be consumed by NI Package Manager. A local repository requires the
user installing the files in the repository to already have NI Package
Manager installed. Package Builder currently can only create a new
repository and not add to an existing repository.
-
Select
Add Packages to add packages to the repository or installer.
-
For packages local to the solution, select the checkboxes for the packages to include.
-
For external packages, select
Show Additional Sources. Package Builder can add external packages that have been installed to your PC, as shown in
Installed Packages, or downloaded to your PC as a package installer, shown in
Installer Products.
-
If this is a new solution, then select
to save the solution. This is necessary because build outputs are placed in subdirectories relative to the solution, by default.
-
Build the installer or repository. Use the Errors and Warnings pane to address
errors as needed.
-
If the installer or repository requires solution packages to be built
for the first time or built again, select Build
Solution in the application-wide toolbar.
-
If the installer or repository requires solution packages that have
already been successfully built with your most recent version of the
files, then select Build Installers and
Repositories in the application-wide toolbar to skip
rebuilding the packages.