NI Package Manager (NIPM)

cancel
Showing results for 
Search instead for 
Did you mean: 

Error installing package NI CompactRIO

Hello,

 

I have a problem installing the CompactRIO drivers onto a Win10 measurement PC. LabVIEW itself installed correctly but when I try to install the compactRIO drivers I do get the following error.

 

Floris_0-1644500731579.png

 

I have installed LabVIEW on numerous machines and have never seen this error before, anyone have any ideas ??

Below (and attached) part of the errorlog.txt

 

[‎10/‎02/‎2022 09:46] 

===== 2022-Feb-10 08:50:06.781296 =====

Exception in ni::pkgclient::TransactionBase::StartInternal. Error code: -125083

Request type: 30

-125083: An error occurred while installing a package: ni-usbvcp (6.7.6.49152-0+f0)

File: source\nipkg_client\pkgclient\PluginInteraction.cpp

Line number: 258

 

Additional error information:

-125530: An error occurred while installing the MSI at 'NI-USBVCP64.msi'.

File: E:\dev\_r\7\nipkg\source\shared_agents\WinInstall/ErrorHandler/ErrorInfo.h

Line number: 102

 

 

Thanks for reading

 

 

 

 

0 Kudos
Message 1 of 11
(4,990 Views)

Hi Floris -

The underlying error is from the MSI in the error message. I would recommend following the instructions in Generating and Locating NI Package Manager Error Logs for obtaining MSI logs, try to install again to reproduce the error, and then review new log files and post back to this forum thread in case anyone else can help.

Scott Richardson
https://testeract.com
Message 2 of 11
(4,963 Views)

Thanks Scott,

 

Followed the instructions and have the log files attached. It seems a MSI installation error with code 1603 caused the install failure. Unfortunately a error 1603 can be caused by a few things according to: https://docs.microsoft.com/en-us/troubleshoot/windows-server/application-management/msi-installation...

 

  • Windows Installer is attempting to install an app that is already installed on your PC.
    • Can't find it
  • The folder that you are trying to install the Windows Installer package to is encrypted.
    • Nope
  • The drive that contains the folder that you are trying to install the Windows Installer package to is accessed as a substitute drive.
    • Don't known what this means 
  • The SYSTEM account does not have Full Control permissions on the folder that you are trying to install the Windows Installer package to. You notice the error message because the Windows Installer service uses the SYSTEM account to install software.
    • I have full admin rights

 

Copy-paste part of log-file

DIFXAPP: INFO: RETURN: DriverPackageInstallW (0xE0000247)
DIFXAPP: ERROR: encountered while installing driver package 'C:\Program Files (x86)\National Instruments\Shared\USBVCP\slabvcp.inf'
DIFXAPP: ERROR: InstallDriverPackages failed with error 0xE0000247
DIFXAPP: RETURN: InstallDriverPackages() 3758096967 (0xE0000247)
CustomAction MsiInstallDrivers returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)

 

Can't really find the cause of this error, hope someone can guide me towards a solution. 

 

Floris Overwater

0 Kudos
Message 3 of 11
(4,945 Views)

Hey Floris,

 

Issues like this can be caused if the user has deselected the 'ni-certificates' package from being installed during the 'Additional Software for Installation' screen. Can you confirm whether or not this package is selected for install or already installed on the system that this is happening on?

 

Usually, choosing not installing the 'ni-certificates' package will result in a driver signing pop-up asking the user to 'Install anyways' or 'Trust National Instruments', but it's possible that certain user or group policies on your operating system prevent those dialogues from being shown to the user and instead just reject the driver installation if the trusted certificate isn't already installed on the system. That ni-certificates package is normally selected by default with all install transactions that install a driver, but it is deselectable to allow for users that must comply with certain security standards.

 

If ni-certificates is already installed or selected for install along with this driver, then we'll need to know more about your operating system. Could you provide information on what specific build and bitness of windows 10 that you're using?

Evan D.
Installer R&D
National Instruments
Message 4 of 11
(4,928 Views)

Hi Evan, thanks for the reply. 

I checked and all I could find regarding certificates in the NI Package Manager was the 'NI Certificates Installer 21.5.0' which was installed. Regarding the PC I have admin rights on this PC and the following information.

 

Device specification

Device name nlr02411w
Full device name nlr02411w.nlr.nl
Processor Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz 2.81 GHz
Installed RAM 8.00 GB (7.83 GB usable)
Device ID 4880FF2B-553C-4174-9265-1B26D8B4D32A
Product ID 00329-10330-57096-AA130
System type 64-bit operating system, x64-based processor
Pen and touch No pen or touch input is available for this display

 

Windows specification

Edition Windows 10 Enterprise
Version 21H2
Installed on ‎25-‎01-‎2022
OS build 19044.1526
Experience Windows Feature Experience Pack 120.2212.4170.0

 

Best regards,

  Floris

0 Kudos
Message 5 of 11
(4,884 Views)

Hey Floris,


I just confirmed on a fresh install of Windows 10 Enterprise 21H2 that I am able to install LabVIEW 2021, then CompactRIO 21.0 successfully. I was unable to reproduce your specific problem.


This type of failure is bizarre and I've not personally seen it happen before.  Several more questions/steps come to mind:

  1. Can you check out your SetupAPI device log for anything pertaining to the failed driver installation? It will usually contain more detailed failure information than the NIPKG or MSI logs when driver registeration/installation is failing. Here's a guide for where to find it: https://docs.microsoft.com/en-us/windows-hardware/drivers/install/setupapi-device-installation-log-e...
  2. Does your company have any specific windows group policies around installing drivers?  This is not an issue with a plain Windows 10 Enterprise install and I think that's going to be where the trouble is.
  3. Have you tried installing any other NI drivers? Most of our drivers will install a kernel driver, which is what this is failing on.  I'm curious to see if any kernel drivers can be registered on your system. DAQmx contains several, and it is part of the CompactRIO Device Drivers Installation, so I'd be curious to see if it installs properly.
  4. Can you run `driverquery` from a command prompt and see if you see any ni drivers already registered on the system?  They would usually start with `ni` and look like these:
    1. BullDozier_0-1645505151722.png

       

  5. Have you ever been successful installing CompactRIO onto your system? Did a previous version install successfully?

 

Hopefully some of that helps zero in on the source of the problem.

Evan D.
Installer R&D
National Instruments
0 Kudos
Message 6 of 11
(4,875 Views)

Hi Evan,

 

Thanks again for taking the time to search for a solution. I have tried to answer you're questions below.

 

1. see attached file for the cRIO driver installation part of the original file

2. I have full admin rights on the computer and I don't know of any limiting group policies or how to check if there are any.

3. the NI-DAQmx 21.0.0 was installed correctly without any errors or failures

4. did run 'driverquery' and it looks like the picture you send with plenty of NI entries

5. I have installed NI software, including cRIO, on many systems before without any problem but this is the first time I installed it on this specific computer.

 

Best regards,

  Floris

0 Kudos
Message 7 of 11
(4,871 Views)

Your setupapi.dev.log showed that you might have a corrupted certificate or certificate path on your machine.  The log file indicated that the failure was due to 'A certificate was explicitly revoked by its issuer.`

 

I'm not sure what has caused this on your system. There are legitimate reasons for this to occur, but in this case, I'm thinking it might be a corrupt certificate on the system that has caused it to be in the 'Untrusted Certificates' on that machine.

 

Can you check your certificate manager on that machine and post a screenshot of your untrusted certificates list? It should ideally be empty like this:

BullDozier_0-1645552882968.png

 

To get there, just >>Run 'certmgr.msc' and navigate to 'Untrusted Certificates'.

 

Also, I was looking back through the history and I see we didn't specifically talk about what version of CompactRIO you're having issues with or what medium you're installing it (offline installer or through NI Package Manager). Could you clarify that as well?

Evan D.
Installer R&D
National Instruments
0 Kudos
Message 8 of 11
(4,859 Views)

Further inspection of your setupapi.dev.log shows that the issue is occurring when your system attempts to validate the driver's INF with its CAT file. The CAT file is Microsoft signed and I'm wondering if on your system it shows further details on what might be going on here.

 

Hopefully the installer left the .cat file on your system.  Can you check your file system and see if you have this file:
- "C:\Program Files (x86)\National Instruments\Shared\USBVCP\slabvcp.cat"

 

If so, double-click on the 'slabvcp.cat' file. Then 'View Signature' then 'View Certificate' then navigate to the 'Certification Path' tab. It should look something like this:

BullDozier_0-1645648022063.png

 

I think the root of the issue might that this driver is sha1 signed in 2017 and there's some group policy on your system that prevents sha1 signatures from being installed to your system. The signed certificate should still be a valid signature even though Microsoft is deprecating allowance of new sha1 signatures.

 

I don't know group policies well enough to say specifically which one might cause this, but the fact that this installation works on my Enterprise 21H2 machine and not yours tells me maybe that's what's going on.  Could you look around in your Local Group Policy Editor and see if you see any defined and active policies that might affect sha1 signature validation?

Evan D.
Installer R&D
National Instruments
0 Kudos
Message 9 of 11
(4,835 Views)

I got exactly the same error when tried to install the CompactRIO, has the problem been solved? Thank you!

 

Junyan

0 Kudos
Message 10 of 11
(4,504 Views)