LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Fail to download Report Generation Toolkit

Solved!
Go to solution

Hello community, 

I am trying to download the Report Generation Toolkit from NIPM. Then an error message pop up.

An error occurred while installing a package: ni-labview-2022-database-toolkit (22.3.0.49305-0+f153)

Additional error information: An error occurred while installing the MSI at 'LVDBT00\LVDBT202264.msi'.

I tried to look it up on google but came out nothing. 

Also tried to download the database toolkit separately and download previous version, failed again.

Can anyone help me on this??? This really bothers me. 

Thanks a lot for taking a look and respond to my post.

Billy.

0 Kudos
Message 1 of 7
(1,580 Views)
Solution
Accepted by topic author Billy90

Hi Billy, the error you are getting is where the low-level MSI is generating an error. You can obtain more details for others to help debug this issue, specifically log files that Windows can generate. Please follow the instructions in Generating and Locating NI Package Manager Error Logs for obtaining Package Manager and MSI log files. Specifically, enable MSI logging, attempt to install again to reproduce the error, and then review the new log files that were updated and created. You can post the log files on this forum thread for others to review as well.

 

The files of interest include any updated and any new files in these directories:

  • %localappdata%\National Instruments\NI Package Manager\Logs\
  • %localappdata%\National Instruments\NI Package Manager\Logs\NIPkgLogs\
  • %localappdata%\National Instruments\NI Package Manager\Logs\WinInstMSI\
Scott Richardson
https://testeract.com
0 Kudos
Message 2 of 7
(1,528 Views)

@Scott_Richardson  已寫:

Hi Billy, the error you are getting is where the low-level MSI is generating an error. You can obtain more details for others to help debug this issue, specifically log files that Windows can generate. Please follow the instructions in Generating and Locating NI Package Manager Error Logs for obtaining Package Manager and MSI log files. Specifically, enable MSI logging, attempt to install again to reproduce the error, and then review the new log files that were updated and created. You can post the log files on this forum thread for others to review as well.

 

The files of interest include any updated and any new files in these directories:

  • %localappdata%\National Instruments\NI Package Manager\Logs\
  • %localappdata%\National Instruments\NI Package Manager\Logs\NIPkgLogs\
  • %localappdata%\National Instruments\NI Package Manager\Logs\WinInstMSI\

Dear, 

Thanks for responding to my post. 

I did tried your way but cannot read those files and here's the content:

From:  "C:\Users\UserName\AppData\Local\National Instruments\NI Package Manager\Logs\errorlog.txt"

===== 2023-May-14 20:14:06.058857 =====
Exception in ni::pkgclient::TransactionBase::StartInternal. Error code: -125083
Request type: 30
-125083: An error occurred while installing a package: ni-labview-2023-database-toolkit (23.1.0.49246-0+f94)
File: source\nipkg_client\pkgclient\PluginInteraction.cpp
Line number: 258

Additional error information:
-125530: An error occurred while installing the MSI at 'LVDBT00\LVDBT202364.msi'.
File: C:\dev\_r\14\nipkg\source\shared_agents\WinInstall/ErrorHandler/ErrorInfo.h
Line number: 102

 

From: "C:\Users\UserName\AppData\Local\National Instruments\NI Package Manager\Logs\agentsErrorLog.txt"

Error -125530! An error occurred while installing the MSI at 'LVDBT00\LVDBT202364.msi'.

Details:
MsiInstallProduct returned 1601.
An error occurred in OnTransactionStep for transaction type 'install'.

Error Context:
NIPkg::Agents::WinInstall::Installer::Install: Installing a package
NIPkg::Agents::WinInstall::Installer::InstallWIAPackage: Installing a WIA package

 

I also attached a .txt file to the post. 

However, I did successfully download the data connectivity toolkit as well as the report generation tool kit (Kinda).

So I delete all the NI applications including NIPM, then re-installed all the NI applications and Labview.

When trying to download the data connectivity toolkit and the report generation tool kit, the error appeared AGAIN. 

But eventually I download the 32 bit version. and everything works perfectly fine. 

Thanks a lot for your help and the information.

If you have any clue about this please feel free to tell me how to fix this. 'Cause not getting the 64bit version is kind of annoying to me haha.

Have a great day!

Billy 

0 Kudos
Message 3 of 7
(1,478 Views)

If you are learning (and getting started with) LabVIEW, you do not need the 64-bit, slightly-less-stable version!  I've been successfully usiing LabVIEW since Version 7, and have never installed the 64-bit version (because I didn't need the huge memory space, nor its "missing features").

 

You also say "So I delete all the NI applications including NIPM, then re-installed all the NI applications and Labview."  Count yourself "lucky", as "deleting all the NI Applications including NIPM" can leave you with a PC where you cannot ever install LabVIEW without reinstalling Windows!  [I've been there, unfortunately ...].

 

Bob Schor

0 Kudos
Message 4 of 7
(1,469 Views)

@Bob_Schor wrote:

If you are learning (and getting started with) LabVIEW, you do not need the 64-bit, slightly-less-stable version!  I've been successfully usiing LabVIEW since Version 7, and have never installed the 64-bit version (because I didn't need the huge memory space, nor its "missing features").

 

You also say "So I delete all the NI applications including NIPM, then re-installed all the NI applications and Labview."  Count yourself "lucky", as "deleting all the NI Applications including NIPM" can leave you with a PC where you cannot ever install LabVIEW without reinstalling Windows!  [I've been there, unfortunately ...].


That does depend what the OP meant with "delete". The literal delete where you just try to delete all the files from the harddisk is indeed a very good way to get into a state where you can't uninstall anymore(since the products are not really there anymore) but also can't (re)install anymore, since there are still artefacts in the registry that indicate that the products or parts thereof are there and these misleading hints lead the installer into nirvana land.

 

If he meant to deinstall everything through the NIPM and NI Installer entries, then things should be much better (although I had cases that went actually horrible wrong too even through these tools, but I can not claim that I did not do anything not so officially correct before, that eventually led the uninstaller to do bad things).

Rolf Kalbermatter
My Blog
0 Kudos
Message 5 of 7
(1,464 Views)

Well, the funny part is that when I tried to delete everything through NIPM, the error messages popped up AGAIN. Multiple error messages… 

So instead of deleting everything through NIPM, I just simply dragged everything to the trash can and deleted them all. 
Luckily, I can still download LabVIEW on my PC. 

0 Kudos
Message 6 of 7
(1,445 Views)

Billy90, glad that 32-bit toolkit installation worked for you. The issue you hit with the 64-bit toolkit will continue to occur in the future, so we would need to see the MSI log files created when installing it to potentially debug the underlying issue on your system. The files you shared above did not include it.

 

As mentioned above, deleting installed files can get your system into an odd state.

  1. NI software packages use MSIs to install software, so the OS tracks what MSIs are installed, and caches the required files to perform uninstallation operations for those MSIs. It is highly discouraged to delete files from the MSI cache. Doing this will typically prevent you from being able to upgrade or uninstall most software.
  2. If the NIPM program directory is deleted, the only way to fix is to wait for a newer version of NIPM to release and then install that.
  3. It is important to not delete NI installed packages database under C:\ProgramData\National Instruments\NI Package Manager\, which tells NIPM what it thinks is installed. During uninstall and upgrade operations, NIPM relies on this database to know what to ask of the OS, such as uninstalling software using the MSI cache.
Scott Richardson
https://testeract.com
0 Kudos
Message 7 of 7
(1,416 Views)