"Error Generating Preview" When Trying to Build an Executable or an Installer in LabVIEW

Updated Mar 19, 2020

Reported In


  • LabVIEW 2013 Full
  • LabVIEW Application Builder Module
  • LabVIEW Full
  • LabVIEW Professional

Operating System

  • Windows

Issue Details

  • When building an installer using the LabVIEW Application Builder, I get "Error Generating Preview". Why is this happening and how can I fix it?
  • When I build an installer in LabVIEW 2013, I see "Error Generating Preview". How can I build my installer?


If you are using LabVIEW 2013, this is likely caused by a known issue tracked by CAR 429282 and fixed in LabVIEW 2013 SP1. The recommended fix is to upgrade to LabVIEW 2013 SP1 or later.

Otherwise, a common cause of this error is conflicting or missing dependencies:
  • 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 EXE Build Specifications by checking the box "remove unused members".
  • Try deleting and recreating the Build Specifications for your installer.