An Internal Tool or Library Returned an Error When Creating a LabWindows™/CVI™ Distribution Kit

Updated May 19, 2023

Reported In

Software

  • LabWindows/CVI

Issue Details

I get an error message saying that an internal tool or library returned an error when creating a LabWindows/CVI distribution kit. The error does not provide additional information about what could be the source of the error. How can I resolve this issue?

The error message looks similar to the one below:
 
Internal error.png

Solution

This error can happen if you open a LabWindows/CVI workspace by clicking on a .cws file directly from the folder where it is located. In order to work around this issue open LabWindows/CVI first and then select the workspace file and try building the distribution kit again.

If the previous step does not fix the issue please try these troubleshooting steps:
  • Take a look at the debug log created when building a distribution kit to get more detailed information about the errors that are occurring. This debug log file should be located in the temporary folder with the name distBuildDbg.log. In the Related Links section, you can find a link on how to generate this log.
  • Open LabWindows/CVI as admin by right-clicking on it and selecting Run as administrator. Open the .cws file and try rebuilding the distribution kit.
  • Create a new distribution for the same project and try building this new distribution kit.
  •  Verify that LabWindows/CVI is able to locate all the files by looking at the Files tab in the Edit Installer dialog. The files that cannot be found will appear in red. In order to correct this error, exit the Edit Installer dialog, and place the missing files in the correct directory or add the files in their current location to the project.