Solution
Default Error Logs
There are error logs that are enabled and generated by default when an issue occurs with NI Package Manager. They are located locally at C:\Users\<Windows Username>\AppData\Local\National Instruments\NI Package Manager\Logs
Note: By default, the AppData directory is hidden on Windows machines. If you cannot find the AppData folder on your system, navigate to C:\Users\<Windows Username>\ and follow Microsoft's directions on this page to show hidden folders.
Configuring Additional Error Logs
Two additional logs, cURL log and the MSI log, can also help with troubleshooting issues. To enable or disable these additional logs, use the following commands on your local command prompt terminal:
- Enabling MSI Logs:
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" config-set nipkg.plugin.wininst.msilogs-enabled=true - Disabling MSI Logs:
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" config-set nipkg.plugin.wininst.msilogs-enabled=false - Enabling cURL Logs:
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" config-set nipkg.curldebugfile-enable=true - Disabling cURL Logs:
"C:\Program Files\National Instruments\NI Package Manager\nipkg.exe" config-set nipkg.curldebugfile-enable=false
After enabling the log generation, reproduce the error in NI Package Manager again as logs will only be created when an error is encountered. These additional error logs will also be placed in C:\Users\<Windows Username>\AppData\Local\National Instruments\NI Package Manager\logs
Note: NI recommends disabling MSI logs after finishing troubleshooting installation issues. Having MSI logs enabled will increase the time it takes to install packages significantly.