Error Generating Preview When Building an Installer or Package in LabVIEW

Updated Oct 23, 2023

Reported In


  • LabVIEW Application Builder Module
  • LabVIEW
  • LabVIEW 2013

Operating System

  • Windows

Issue Details

  • When I try to build an installer or package in LabVIEW, I get the following error:
  • I recently updated a legacy LabVIEW application that includes a LabVIEW library (.lvlibp). Since my LabVIEW upgrade, my installer now fails to build stating with the following error. 
The build was unsuccessful.
Possible reasons
Error generating preview for executable.



This issue is usually caused by conflicting or missing dependencies, follow the next steps to try to solve this issue.
  • Resolve any conflicts presented on your project. You can find conflicting items by viewing the full path of an item by right-clicking on the project root and selecting View » Full Paths. You can also go to Project » Resolve Conflicts to display the Resolve Conflicts Dialog Box. See Resolving Project Conflicts for more details.
  • Make sure that all VIs listed in the Always Included section of your Build Specifications are called in the executable(s) being installed. This message can arise if a VI is always included but never called. You can remove VIs that are not being called in the settings in the Additional Exclusions category of your executable's Build Specifications by checking the box Remove unused members.
  • Delete and recreate the Build Specifications for your installer or package.
  • If you are using LabVIEW 2013 upgrade to LabVIEW 2013 SP1 or later, there is a known issue tracked by ID 429282 in LabVIEW 2013 and fixed in subsequent versions.

Additional Information

To get more details about the error in the building process log the build by adding the INI token NI_AppBuilder_Logging=True to your LabVIEW.ini file. It will create a log register in the same folder where the project is located.