NI Package Manager (NIPM)

取消
顯示結果 
搜尋替代 
您的意思是: 

Installation error: ni-metauninstaller (22.0.0.49152-0+f0)

已解決!
前往解決方案

The issue persists.

0 積分
11 條訊息(共 16 條)
5,064 檢視
解決方案
由主題作者所接受 EuanM

EuanM - thanks for posting the MSI level debug log - as that's where the problem is occurring. This ni-metauninstaller is common across all products and versions, and is also often first to install, so that's why you're seeing it in all cases. 

Looking carefully at the log, there is this failure:
SHGetFolderPath(CSIDL_COMMON_DOCUMENTS) failed with error 2147942402

The log doesn't have all of the details, but what looks to be happening is that the MSI tries to lookup the Windows location for Common Documents, but it fails because this location doesn't exist, which causes the MSI itself to fail when it can't resolve all directories.

This article give one possibility for Common Documents being broken. As such, my suggestion is to open a Windows command prompt, and try the following:
echo %public%
dir %public%

dir %public%\documents

Share the output of those commands, but if either of the latter two return something like "file not found", then the solution could be adjusting the value of the PUBLIC property as that article describes (or making what directory PUBLIC points to available, such as if it's a network location).

 

12 條訊息(共 16 條)
5,054 檢視

To add, looks like there was a similar issue reported in 2020 here.

As such, also check that the following registry key value points to a folder that exists and is accessible by this user:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders, Common Documents

13 條訊息(共 16 條)
5,047 檢視

Hello all.

 

This was the problem, it was not able to find the common documents. Once access was restored, the installation proceed smoothly.

0 積分
14 條訊息(共 16 條)
5,035 檢視

I am facing the same issue on Win10. How/where will this logfile be located?

 

Edit -

Ok found it: C:\Users\<user name>\AppData\Local\National Instruments\NI Package Manager\Logs\

 

Edit-Edit:

Running Ni Package manger as admin removes the error related to ni-metauninstaller. But despite no error: TDM importer for MS Excel still does not work

0 積分
15 條訊息(共 16 條)
4,281 檢視

I had a similar problem but I didnt really get what should I do with this. But in the end, I just need to make sure that this folder exist in my PC (Win11): 

 

C:/Users/Public/Documents

 

And I had to create this folder manually with Admin rights.

0 積分
16 條訊息(共 16 條)
1,138 檢視