01-29-2024 10:09 AM
Hello!
The NI Paket Manager wants to install the Microsoft Windows Desktop Runtime - 6.0.22(x64) when installing the Real-Time Module, which unfortunately fails. I noticed in the log file that my Windows version seems to be recognized incorrectly:
[05AC:47BC][2024-01-29T16:17:53]i001: Burn v3.14.0.5722, Windows v6.1 (Build 7600: Service Pack 0), path: C:\WINDOWS\Temp\{F4EF8CD0-E36B-49C9-A4F9-901C78495270}\.cr\windowsdesktop-runtime-6.0.22-win-x64.exe
Which causes the error:
[05AC:47BC][2024-01-29T16:17:54]e000: Error 0x81f40001: Bundle condition evaluated to false: ((VersionNT > v6.1) OR (VersionNT = v6.1 AND ServicePackLevel >= 1))
According to `winver` I have Windows 10 22H2 (Build 19045.3930) so it should actually say Windows v10.0. I have already installed the Windows Desktop Runtime - 6.0.22(x64) manually (without any problems) but the Paket Manager doesn't care and still tries.
Any idea what I can do?
The rest of the log is in the attached file. The Paket Manager error log is rather short:
===== 2024-Jan-29 16:19:26.917547 =====
Exception in ni::pkgclient::TransactionBase::StartInternal. Error code: -125083
Request type: ComplexSolverTransaction (30)
-125083: An error occurred while installing a package: ni-msdotnet-desktop-runtime-60 (23.8.0.49180-0+f28)
File: source\nipkg_client\pkgclient\PluginInteraction.cpp
Line number: 266
Additional error information:
-125441: The executable returned error '1' after running the command 'path='"D:\my_user\AppData\Local\Temp\nipkg-bb2d-a722-1a5f-717b\data\DotnetInstallerRunner.exe"', arguments='windowsdesktop-runtime-6.0.22-win-x64.exe'' for the custom operation.
File: C:\dev\_r\17\src\package_manager\nipkg\source\shared_agents\Base/ErrorHandler/ErrorInfo.h
Line number: 335
09-02-2024 03:50 AM
@Jens_S wrote:
...
According to `winver` I have Windows 10 22H2 (Build 19045.3930) so it should actually say Windows v10.0.
...
I ran into a similar error when using the nipkg.exe command line to install the package. Later I found it was due to nipkg.exe was ran in compatibility mode for Windows 7. Did you somehow run NIPackageManager.exe in compatibility mode for Windows 7?
This could impact how windowsdesktop-runtime-6.0.22-win-x64.exe retrieves the OS version information.