LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Runtime Error building Installer with NI-VISA Runtime

Greetings,  I'm getting this error whenever I check the "NI-VISA Runtime" option in the installer app builder.



Everything builds fine when I check only the Runtime Engine.  Shown below is what causes the RUNTIME ERROR and closes Labview Unexpectedly.





Any help you could provide would be very much appreciated.

Regards,

JD
0 Kudos
Message 1 of 2
(2,853 Views)
Hi JD,

This is a relatively common error with the Application Builder that can happen for several different reasons, namely registry keys pointing to installations that no longer exist. The easiest way to identify the problem is to get detailed information about the installer build. Here are directions:

LabVIEW has the ability to create a very detailed log of the events that occur when building an application or installer. To enable this feature, open up the LabVIEW.ini file and copy "CDK.EnableLog=true" to the bottom of the file. Save the changes and close the ini file. The LabVIEW.ini file is usually located in C:\Program Files\National Instruments\LabVIEW X.X
  1. Enabling this feature will create a log file in the %temp% directory of your computer (%...% means a computer variable) .
  2. To find out where this temp directory is located, go to Start>>Run. Type in "cmd". Then type "set". This will return all of your computer's variable names.
  3. Look for TEMP in the list of variable names. You should see something like "TEMP=C:\DOCUME~1\user\LOCALS~1\Temp".
  4. Navigate to this directory using Windows Explorer.
  5. You should see a file named "Name.log" where "name" is the name of your build specification. For example, you might see "My Installer.log" if the name of your build specification is "My Installer".
This will give you a more detailed log of the attempted build and, if I'm correct about why this particular build failed, show you which installer is expected at that registry. If the registry points to a directory without the necessary installer (i.e. VISA), simply delete the registry and allow the App Builder to prompt you to to point to the correct location.

Michael K.

| Michael K | Project Manager | LabVIEW R&D | National Instruments |

0 Kudos
Message 2 of 2
(2,839 Views)