Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated

Why do I Receive Error -1 or Error -10 when Building an Installer using the TestStand Deployment Utility?



Primary Software:
Primary Software Version: 4.2.1
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I recently installed new software from the 2010 Developer Suite 2 DVDs or the LabVIEW 2010 Platform DVD. Now, when I try to use the TestStand 4.2.1 or previous TestStand Deployment Utility to build an installer that includes National Instruments Software components, I receive Error -1 or Error -10 during the build as shown below. Why am I getting these errors and how do I resolve them?

Error -1
**************
*** Error: Caught an exception of an unknown type. (Error code -1)
**************
*** Error Details:
Error in MDF API function: _MDFDistCopyList_GetCount
*** End Error Report
**************

Error -10
**************
*** Error: Fatal runtime error. (Error code -10)
**************
*** Error Details:
Error in MDF API function: _MDFDistCopyList_GetCount
Access violation! Structured exception code 3221225477
*** End Error Report
**************


Solution:
Note: This issue is fixed in TestStand 2010.

These errors may be occurring if you are using TestStand version 4.2.1 or previous and your installer includes National Instruments Software components that were installed from the 2010 Developer Suite 2 DVDs or the LabVIEW 2010 Platform DVD and the installation DVD is not in the machine’s DVD drive.

The underlying problem is caused when the National Instruments Software components you are including in your installer were installed using a suite from a location that is no longer available. Rather than displaying a user prompt to insert the DVD or browse to the appropriate location that the software was installed from, the build process will error out.

Solution
To permanently resolve the possibility of encountering this issue, install the patch attached to KnowledgeBase 5D6GMMCZ: Why Can't I Build and Installer When my NI Software is Installed from a Suite? After installing the patch, rebuild your installer with the TestStand Deployment Utility.
 
Workaround
An alternative to installing the patch is to ensure that the DVD used to install the included software components is in the machine’s DVD drive or the location the included software components were installed from is available when building the installer.


Related Links:
KnowledgeBase 5D6GMMCZ: Why Can't I Build an Installer When my NI Software is Installed from a Suite?
NI TestStand 4.x patches required for compatibility with LabVIEW 2010 and later

Attachments:





Report Date: 09/10/2010
Last Updated: 11/29/2010
Document ID: 5D9CSV91

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