LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

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

I get this error "Error: Windows SDK function returned an error. (Error code -12) The system cannot find the path specified." when I build an installer of my program in Labview. It is looking for a file but it is asking for the Measurement Studio CD. this is the message before the error.
 
Copying products from distributions
Copying distribution 'NI Measurement Studio 8.1.2 for Visual Studio 2005' from: D:\VS2005\ to: C:\Program Files\National Instruments\Shared\ProductCache\
 
Please help.
 
--Gio
0 Kudos
Message 1 of 5
(3,482 Views)
Hi sentinel95,

What version of LabVIEW are you using? Did you specify to include any additional installers in your Installer Build Specification? If you are using LabVIEW 8.20, there is an option to cache the driver files locally on the hard drive. This option should appear the first time Application Builder is run. If this is selected, the files are cached and the installation builder will look to that location for future builds. The output looks as if the Application Builder is attempting to cache the distributions. Did you select the option to cache the drivers?
0 Kudos
Message 2 of 5
(3,454 Views)
sentinel95, greetings!

Did you bypass this error?  If so, how?

I get the same error AFTER I specify the location of the said dependencies (i.e., D:\VS2005).

FYI - I started getting this error-message after having upgraded to the latest version of Measurement Studio (8.1.2).

Thanks, C
0 Kudos
Message 3 of 5
(3,315 Views)
Fixed.

1. Deleted old installer
2. Created new installer
0 Kudos
Message 4 of 5
(3,312 Views)
Not Fixed (sorry about that).

My application requires the VISA run-time engine (ver. 4.1)

When I check it, as an additional installer - the builder asks for the Measurement Studio dependencies and produces the said error in this thread.

When I un-check the VISA run-time engine [as an additional installer,] the builder works correctly.

C
0 Kudos
Message 5 of 5
(3,303 Views)