Troubleshooting
- Updated2023-02-21
- 2 minute(s) read
Troubleshooting
Problem: You cannot build your installer because the
Build button is disabled.
The Installer Builder user interface validates the information you enter, and if any information is not valid, the option will be outlined in red. At the bottom right on the status bar, Installer Builder displays an error icon with the number of errors that must be corrected in order for the installer to build. When you click on the error, Installer Builder takes you to tab containing the error, which will be outlined in red. Visit and update the UI tabs that are highlighted in red to fix your build.
Problem: You get an error during an installation.
If you receive an error during installation, try the installation again with logging enabled. For more information on creating and troubleshooting with a log file for a software installation visit http://www.ni.com/info and enter the Info Code creatinganerrorfile.
Problem: When I try to open the application installed with an Installer Builder installer, the application crashes or does
not run.
If your application does not run or crashes, you might be missing a dependency. This problem can occur in the following common scenarios:
- Your application runs on your build machine because your build machine has all of the dependencies installed. You forget to include a dependency in your installer (via NI installer, merge module, or by manually adding any dependencies) and it doesn't run on the target machine because that dependency is missing.
- You have created a .NET application configured for AnyCPU, and it runs on your 32-bit build machine. You include all of the 32-bit dependencies in your installer, and deploy to a 64-bit target machine. Because the AnyCPU application runs as a 64-bit process on 64-bit operating systems, it doesn't find the necessary dependencies.
To fix this issue, rebuild your installer to include the necessary assemblies.