LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Installer build errors 3 & -12

Hi,

I am building a LabVIEW 2012 installer with the following drivers:

NI-DAQ 9.7.5

NI-Serial 4.0

Ni-VISA 5.4.0

When I run the installer I get a pop-up window that indicates some of the installers are not available on the computer.  It directs me to insert the NI Developer Suite 2012 DS2 DVD 1 to install “NI System Components.”  So, I put the indicated DVD into the computer and press OK.  The Installer “thinks” for a while and then I get the build error that follows:

“Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:

CDK_Build_Invoke.vi.ProxyCaller >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> IB_MSI.lvclass:Build.vi >> IB_MSI.lvclass:Engine_Build.vi >> NI_MDF.lvlib:MDFDistCopyList_CopyItem.vi

 

 

Loading product deployment information

Adding files to installer

Validating...

Copying files...

Scanning files...

Updating files...

Build complete successfully.

Done adding files

Preparing to build deployment

Copying products from distributions

Copying distribution 'NI Developer Suite 2012 DS2 DVD 1' from: E:\ to: C:\ProgramData\National Instruments\MDF\ProductCache\

 

**************

*** Error: Windows SDK function returned an error. (Error code -12)

The system cannot find the path specified.

 

**************

*** Error Details:

Error in MDF API function: _MDFDistCopyList_CopyItem

Windows function FindFirstFile returned an error. Error code: 3

*** End Error Report

**************

 

Done building deployment”

 

Any ideas?

 

Thanks,

B

0 Kudos
Message 1 of 14
(3,679 Views)

I've also attached the build log.

 

Thanks,

B

0 Kudos
Message 2 of 14
(3,664 Views)

NI-DAQ version 9.7.5 makes me think you have a co-Install of LabVIEW 2013 or something else off the Aug 2013 DVD set or later.

 

If so, you need to configure LabVIEW 20xx for use with .NET 4.0 (see here)

 

Once you install some system components from the Aug 2013, a little birdie told me that you must target Windows XP SP3 or higher.  .NET4.0 and sp3 for Win XP may have some co-dependancies that I cannot claim to fully understand.Smiley Wink

 

 


"Should be" isn't "Is" -Jay
0 Kudos
Message 3 of 14
(3,651 Views)

Thanks for the quick reply!  I have LV 2011, 2012, & 2013 installed on my Win 8 box.

 

I followed your advice and put the config file in the same directory as the LV 2012 exe.  Here's the contents of the file:

 

<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
</startup>
</configuration>

 

However, I still get the same errors.

 

Any other ideas?

 

Thanks,

B

0 Kudos
Message 4 of 14
(3,634 Views)
Its 4.03.... I forget exactly. and am mobile. dig through profile page tags for .net

"Should be" isn't "Is" -Jay
0 Kudos
Message 5 of 14
(3,607 Views)

Hi Jeff,

The registry has the following keys for .net framework v4 Full:

Release = 378389

TargetVersion = 4.0.0

Version = 4.5.50709

 

Which of these values would you use and how would you build the text for the config file?  I've tried a number of combinations to no avail.  The only combination that doesn't error when I launch LabVIEW is the text I posted in the previous post.

 

Thanks,

B

0 Kudos
Message 6 of 14
(3,586 Views)