Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Creating a Debug Log of a LabWindows/CVI Installer Build

Primary Software: LabWindows/CVI Development Systems>>Full Development System
Primary Software Version: 8.5.1
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
When I build my LabWindows/CVI distribution kit, I keep running into build errors. How can I find out more information about the errors that are occurring?

Solution:
LabWindows/CVI 8.0 and later provide the ability to create a very detailed log of the events that occur when building an application or installer. To create the detailed log, follow the steps below:
  1. Open a fresh instance of LabWindows/CVI and load the workspace with the problematic distribution.
  2. Select the Build » Distributions » Edit... menu item, highlight the problematic distribution and click Edit. This will launch the Edit Installer dialog box.
  3. In the Edit Installer dialog box, press Ctrl+Shift+L. This will cause a detailed debug log to be written to your temp directory.
  4. Build your distribution.

The debug log should be located in the %temp% directory of your computer (%...% means a computer variable). To determine where this temp directory is located, follow the steps below:

  1. Select Start » Run, type in "cmd" and then press OK.
  2. Type "set" in the command prompt. 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. You should see a text file named "distBuildDbg.log".

Note The distBuildDbg.log file will only be generated once the distribution creation has started. If an error occurs before the build of the distribution (such as LabWindows/CVI being unable to locate a file) the log file will not be generated.

Related Links:

Attachments:





Report Date: 03/14/2006
Last Updated: 06/27/2008
Document ID: 3VDGA8MY

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit