11-10-2023 02:09 AM
Dear all,
I have a strange problem with the new NI package builder.
With Package Manager I've installed NI-IMAQdx Version 2023 Q1 including all drivers.
When I try to make an Installer of this package with the NI Package Builder I'll get a lot of 16058 warnings, telling me "The solution contains references to packages which could not be found". One example is package "ni-imaqdx-labview-2022-support-x86" version 23.0.0
I've checked the installed package with the Package Manager and found it was actually installed but with a newer version 23.1.0. That's why I get the warnings.
Why is package builder not looking for the latest version installed? And is there a setting inside the Package Builder to change this?
I've experienced this behaviour in other Installer Packages as well and is pretty annoying. It blocks me to create a fully functional installer with the package builder.
Any help is much appreciated.
Thanks, Bernd
Solved! Go to Solution.
11-10-2023 11:25 PM
Can you share what your NI Package Builder project looks like and how are the packages that are included in the warnings are included/referenced by the project, does the warning appear on load of solution or build, and does the build succeed or error?
11-14-2023 08:39 AM
Hi Scott,
the build succeed with a lot of warnings. I've attached the logs in a txt file. The warnings appear after I've started to build the package installer.
I've also attached a screenshot of my Package Builder GUI.
Thanks a lot!
11-14-2023 01:37 PM - edited 11-14-2023 01:47 PM
The 2023 Q1 release on my side has the version of 23.0.0, so I am confused you saying there is a 23.1.0 version as I do not see that version ever being released.
1. Can you generate a list of all installed packages on your system by calling in an admin prompt the following command and capture the console output:
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" list-installed
2. Can you list the files in the C:\ProgramData\National Instruments\NI Package Manager\packages folder and share that?
11-14-2023 02:28 PM
What is it that you are trying to accomplish in the NI Package Builder solution? I am confused by what is the purpose of the custom package that the solution has configured that has the name "NI-IMAQdx" and version 1.0.0.0? What is the package name of that custom package? Are you just trying to build an installer of just NI-IMAQdx? What do you want the installer to include?
11-15-2023 02:44 AM
I've attached the required data as txt files. Maybe I had a wrong guess about the versions, because I saw some packages in the Package Manager displays 23.1.0.0 or similar. However, it's weird that I get a warning for not finding a package, which is actually installed.
11-15-2023 02:47 AM
Yes, I'm trying to create a custom installer for IMAQdx and all included drivers. I already did this for LabVIEW, FPGA and Realtime.
Is it better to just use the Offline Installer maybe, which I can download at NI downloads?
11-15-2023 04:58 PM
Looking at the list of installed ni-imaqdx* packages, the output lists the following:
ni-imaqdx 23.0.0.49313-0+f161
ni-imaqdx-c-support 23.0.0.49309-0+f157
ni-imaqdx-development-support 23.0.0.49309-0+f157
ni-imaqdx-expert 23.0.0.49308-0+f156
ni-imaqdx-isc178x-win 23.0.0.49300-0+f148
ni-imaqdx-labview-support 23.0.0.49309-0+f157
ni-imaqdx-runtime 23.0.0.49309-0+f157
NI Package Builder can include packages in an installer it builds from (a) packages that are installed, or (b) top-level packages that are included in an installer on disk, or (c) packages that the solution builds. The warnings you are seeing represent the recommendations of ni-imaqdx that are not installed and letting you know they are not installed and thus cannot be included in the built installer.
Looking back at the NI Package Manager image you shared earlier, it was of the Packages tab which are packages in registered feeds but are not installed. For example, the "NI-IMAQdx Support for LabVIEW 2022 (xx-bit)" package likely cannot be installed unless LabVIEW 2022 is first installed. This package is likely one of the recommended packages that will be listed when installing NI-IMAQdx when that version of LabVIEW is being installed or is already installed.
You might find the following KB of value: How Can I Build a Custom Installer for Multiple NI Products?
11-27-2023 08:00 AM
Hi Scott,
thanks for the clarification and your help. Much appreciated!!!