Why do I see "Error Generating Preview" When I try to Build an Executable Application or an Installer in LabVIEW

Updated Nov 21, 2017

Reported In


  • LabVIEW 2013 Full

Issue Details

When I build an installer in LabVIEW 2013, I see "Error Generating Preview". How can I build my installer?


There are a couple of reasons this error can be thrown:

When building an installer
You build an executable, but get Error Generating Preview when building an installer. This is likely caused by a known issue in LabVIEW 2013 tracked by CAR 429282 and fixed in LabVIEW 2013 SP1.
The recommended fix is to upgrade to LabVIEW 2013 SP1 or later.

When building an executable
You get Error Generating Preview when building your executable. The reason is application builder is finding linking issues withing your code that is being built into an executable. 
To fix this, use the settings in the Additional Exclusions category of your EXE build specifications to help remove the problem VIs from your build. Use context help (CTRL+H to enable) and mouse over each exclusion to determine what it does. Checking the box for Remove unused members of project libraries will often fix this error. 


Not Helpful