I'm facing a problem running the installation of ni-daqmx-runtime-core using the following batch script which is run as administrator:
start /wait NIPackageManager23.0.0.exe --prevent-reboot
"c:\Program Files\National Instruments\NI Package Manager\nipkg.exe" install ni-daqmx-runtime-core --accept-eulas -y
It works fine on my virtual machine, but is does NOT work on my local machine, stating the following error message "Unable to locate package 'ni-daqmx-runtime-core' with a compatible version and architecture". Both machines are 64 bit system and use Windows 10, version 22H2. I already tried to specify the package version to ni-daqmx-runtime-core_188.8.131.52366-0+f214_windows_x64 (using the following line "install ni-daqmx-runtime-core:windows_x64_184.108.40.206366-0+f214"), but it did not solve the problem. Additionaly I tried using PackageManager version 23.3.0, but this also did not work out.
I would be pleased to receive any help.
Solved! Go to Solution.
Problem occurs only when using an online installation, using a local package feed works. When going to the online feed's url https://download.ni.com/support/nipkg/products/ni-package-manager/released there are no packages found. Anyone an idea whether the package url has changed or some other advice.
Rafael, when you are trying to use "online feed", I assume you are trying to connect to a ni.com feed, and if so, did you register an ni.com feed that has that package?
nipkg.exe feed-add --name=mydaquri https://download.ni.com/support/nipkg/products/ni-d/ni-daqmx/23.0/released
I very much appreciate your advice, it helped me to resolve the issue.