Installation Target Roots for File Packages
- Updated2026-07-23
- 3 minute(s) read
The directories you create inside the data folder inform Package Manager where to install the files when you build packages.
If you create a subdirectory inside a target root, Package Manager creates the subdirectory on the target system.
Packages with Architecture values windows_all cannot use 64-bit only target roots like ProgramFiles_64 or LV2017DIR64. After encountering these roots, Package Manager returns an error regardless of OS. Packages with Architecture value windows_x64 can use both 32- and 64-bit roots.
Custom Paths
A custom path is an absolute path or network path that is not specifically in a Windows-standard location or an NIPath target root. Configure a custom path in the instructions file. Then use the custom path name in place of a target root path. Other packages do not share the name and value of a custom path.
Windows-Standard Locations
| Target Root | Name in File Package | Default Folder |
|---|---|---|
| Home | Home |
%SystemDrive%\Users\Public or %PUBLIC% |
| Desktop | Desktop | %PUBLIC%\Desktop |
| Documents | Documents | %PUBLIC%\Documents |
| ProgramData | ProgramData | %SystemDrive%\ProgramData |
| Startup | Startup | %ProgramData%\Microsoft\Windows\Start Menu\Programs\StartUp |
| ProgramMenu | ProgramMenu | %ProgramData%\Microsoft\Windows\Start Menu\Programs |
| ProgramFiles |
|
64-bit OS:
|
| System |
|
64-bit OS:
|
| BootVolume | BootVolume | %SystemDrive% |
| NIPkgMgrTemp | NIPkgMgrTemp |
%TEMP%\NIPackageManager
Note
|
| NIPkgMgrTempUnique | NIPkgMgrTempUnique |
%TEMP%\NIPackageManager\Temporary unique
sub-directory per transaction
Note Package Manager deletes files
in this folder after the package installation completes. Use this root only for
customExecute paths. Do not use this root with a customExecute that runs the
uninstall step.
|
Toggling Paths
A toggling path resolves to the bit-specific path that matches the bitness of the operating system. You can use the target roots in ProgramFiles, System, and some NIPaths as toggling paths.
NIPaths Target Roots
NIPaths target roots use ni-paths as a prefix.
| Target Root | Name in File Package | Default Folder |
|---|---|---|
| CVI2020DIR | ni-paths-CVI2020DIR | [NIDIR]CVI2020 |
| CVI2020PUBAPPDATADIR | ni-paths-CVI2020PUBAPPDATADIR | [NIPUBAPPDATADIR]CVI2020 |
| CVI2020PUBDOCSDIR | ni-paths-CVI2020PUBDOCSDIR | [NIPUBDOCSDIR]CVI2020 |
| FLEXLOGGERDIR64 | ni-paths-FLEXLOGGERDIR64 | [NIDIR64]FlexLogger\ |
| IVISTANDARDROOTDIR | ni-paths-IVISTANDARDROOTDIR | [Program Files_32]\IVI Foundation\IVI\ |
| IVISTANDARDROOTDIR64 | ni-paths-IVISTANDARDROOTDIR64 | [ProgramFiles_64]\IVI Foundation\IVI\ |
| LVXXXXDIR64 | ni-paths-LVXXXXDIR64 | [NIDIR64]\LabVIEW
XXXX Note For example, the target root
LV2018DIR64 in the file package uses the
name ni-paths-LV2018DIR64. The default folder
is [NIDIR64]\LabVIEW 2018. |
| MSTUDIODIR | ni-paths-MSTUDIODIR | [NIDIR]\Measurement Studio\ |
| NIADDONSDIR64 | ni-paths-NIADDONSDIR64 | [NIDIR64]\Addons\ |
| NIFPGA51DIR64 | ni-paths-NIFPGA51DIR64 | [BootVolume]\NIFPGA\ |
| NILEGALROOTDIR | ni-paths-NILEGALROOTDIR | [NIDIR]\ |
| NILMLICENSESDIR | ni-paths-NILMLICENSESDIR | [NIPUBAPPDATADIR]\License Manager\Licenses\ |
| NILMPRODUCTINFODIR | ni-paths-NILMPRODUCTINFODIR | [NIPUBAPPDATADIR]\License Manager\ProductInfo\ |
| NIPMDIR | ni-paths-NIPMDIR | [NIDIR]\NI Package Manager\ |
| NIPMDIR64 | ni-paths-NIPMDIR64 | [NIDIR64]\NI Package Manager\ |
| NIPUBAPPDATADIR | ni-paths-NIPUBAPPDATADIR | [ProgramData]\National Instruments\ |
| NIPUBDOCSDIR | ni-paths-NIPUBDOCSDIR | [Documents]\National Instruments\ |
| NISHAREDDIR | ni-paths-NISHAREDDIR | [NIDIR]\Shared\ |
| NISHAREDDIR64 | ni-paths-NISHAREDDIR64 | [NIDIR64]\Shared\ |
| RTFEEDSDIR64 | ni-paths-RTFEEDSDIR64 | [NIDIR64]RT Feeds\ |
| TESTSTANDXXXXDIR | ni-paths-TESTSTANDXXXXDIR | [NIDIR]\TestStand
XXXX\ Note For example, the target root
TESTSTAND2018DIR in the file package uses
the name ni-paths-TESTSTAND2018DIR. The
default folder is [NIDIR]\TestStand 2018\.
|
| TESTSTANDXXXXDIR64 |
ni-paths-TESTSTANDXXXXDIR64 |
[NIDIR64]\TestStand XXXX\ Note For example, the target root
TESTSTAND2018DIR64 in the file package uses
the name ni-paths-TESTSTAND2018DIR64. The
default folder is [NIDIR64]\TestStand 2018\.
|
| VERISTAND2020DIR | ni-paths-VERISTAND2020DIR | [NIDIR]VeriStand 2020\ |
| VERISTAND2020DIR64 | ni-paths-VERISTAND2020DIR64 | [NIDIR64]VeriStand 2020\ |
Related Information
- Assembling a File Package
Assemble a File package by creating a root directory that contains subdirectories, source files, and configuration files.