NI Package Manager 20.7 dropped support for Windows 7/8/8.1 and all 32-bit OSes. After its release on April 9, 2021, building 32-bit deployments in LabVIEW, TestStand, NI Package Builder, or LabWindows/CVI on 64-bit OS internet-connected systems will create package installers that might fail to install on 32-bit OSes. Attempting to install the built deployment will result in the installer reporting that it is unable to locate ni-package-manager (or other Package Manager packages) with a compatible version and architecture. Note: deployments built before April 9, 2021, are not affected and should still install successfully.
A workaround for preventing this error from happening on your computer with any of those Operative Systems is to downgrade the version of the NI Package Manager. Use the following steps to change the version of Package Manager to 20.6 and prevent it from upgrading:
- Downgrade the machine to Package Manager 20.6 by running the following command in an elevated command prompt: "C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" install --allow-downgrade --accept-eulas --force-locked –y ni-package-manager=184.108.40.206316 ni-package-manager-upgrader=220.127.116.11316 ni-package-manager-released-feed=18.104.22.168316 ni-package-manager-deployment-support=22.214.171.124316 system-windows-x64=126.96.36.199316
- Hide the online feed which contains the Package Manager 20.7 packages by doing one of the following:
- (Recommended) Go to C:\Program Files\National Instruments\NI Package Manager\Settings, and rename ni-package-manager-released.ini to ni-package-manager-released.ini.bak.
- Or, disconnect the machine from the network.
- Clear the cached EULAs by deleting the contents from the directory C:\ProgramData\National Instruments\NI Package Manager\eulas
If you want to revert those changes, you can do it following the next steps:
- If the machine was disconnected from the network, reconnect the machine to the network.
- Re-enable upgrades for Package Manager by either:
- Renaming ni-package-manager-released.ini.bak to ni-package-manager-released.ini in the C:\Program Files\National Instruments\NI Package Manager\Settings directory.
- Running the following command in an elevated command prompt: "C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" repair –y ni-package-manager-released-feed
- Installing Package Manager 20.7 or newer.