If a VI that you want to distribute as a stand-alone application or a shared library uses custom error codes in XML-based text files, you must distribute those files with your application or shared library.
If you use the Application Builder to create an installer for the application or shared library, the Application Builder prompts you to select the error code text files you want to distribute. The Application Builder also configures the installation subdirectory for the files.
If you use a third-party utility to create an installer for the application or shared library, complete the following steps to distribute error code text files.
Locate the error code text files you want to distribute.
User-defined error code text files are located in labview\user.lib\errors.
Third-party error code text files are located in labview\project\errors.
Add the error code text files to the installer.
Configure the proper installation subdirectory for the files.
If you are creating an installer for an application, install the error code text files in a user.lib\errors subdirectory of the application directory.
If you are creating an installer for a shared library, install the error code text files in the shared drivers directory on your computer, usually WindowsNational Instruments\shared\errors, MacintoshApplications Support\National Instruments\errors, or UNIX defined by the NIERRORSDIR environment variable.