LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Warning 16058 when building Package Installer with Package Builder

Solved!
Go to solution

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

Download All
0 Kudos
Message 1 of 9
(1,931 Views)

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?

Scott Richardson
https://testeract.com
0 Kudos
Message 2 of 9
(1,880 Views)

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!

Download All
0 Kudos
Message 3 of 9
(1,843 Views)

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?

Scott Richardson
https://testeract.com
0 Kudos
Message 4 of 9
(1,828 Views)

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?

Scott Richardson
https://testeract.com
0 Kudos
Message 5 of 9
(1,822 Views)