02-10-2022 07:57 AM
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.
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
02-11-2022 10:44 AM - edited 02-11-2022 10:45 AM
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.
02-14-2022 05:23 AM
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...
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
02-16-2022 05:19 PM
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?
02-21-2022 12:35 AM
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
02-21-2022 10:48 PM
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:
Hopefully some of that helps zero in on the source of the problem.
02-22-2022 02:17 AM - edited 02-22-2022 02:17 AM
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
02-22-2022 12:03 PM
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:
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?
02-23-2022 02:42 PM
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:
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?
03-29-2022 10:53 AM
I got exactly the same error when tried to install the CompactRIO, has the problem been solved? Thank you!
Junyan