LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

create additional installer error code -12 file not found from device driver cd

I'm trying to build an installer for a project that includes several NI drivers - specifically NI-DMM. NI-SCOPE, NI-SWITCH, NI-845x, and a few others (MAX, DAQ, etc). When I build the software standalone (and only include the run-time engine), it works fine. However, when I try to build the installer with the additional installers (mentioned above), the build prompts me for device driver cds, and then fails. Specifically, it fails on the February 2006 Device Driver cd. The error is attached below.
 
I have tried
 - repairing all the installations of the software mentioned
 - using a new project and re-adding the files
 - building the additional installers seperately (no source code installed)
 - copying the driver cds to the harddrive and referencing them there when needed
 
The next step will be to reinstall all of those drivers from scratch, but I really would prefer not to. Does anyone have any ideas (or solutions) regarding this problem?
 
CDK_CreateNewWizard_Invoke.vi.ProxyCaller >> CDK_CreateNewWizard_Invoke.vi >> CDK_InstallerConfiguration_Editor.vi >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> CDK_Engine_Build.vi >> CDK_Engine_PromptForMissingDist.vi >> NI_MDF.lvlib:MDFDistCopyList_CopyItem.vi

Loading product deployment information
Loading product deployment information
Loading product deployment information
Adding files to installer
Done adding files
Preparing to build deployment
Copying products from distributions
Copying distribution 'NI-845x Software 1.0.1' from: C:\National Instruments Downloads\NI-845x\1.0.1\ to: C:\PTF\Builds\**********************<edited out>
Copying distribution 'National Instruments Device Drivers - February 2006, Disk 1' from: C:\National Instruments Downloads\DCD-Feb06-1\ to: C:\Program Files\National Instruments\Shared\ProductCache\
 
**************
*** Error: Windows SDK function returned an error. (Error code -12)
The system cannot find the file specified.
*** End Error Report
**************
 
Done building deployment
0 Kudos
Message 1 of 2
(3,150 Views)

I have had this happen a lot espescially with LV 8.0 -8.20. What I had to do was take the device drivers CD and copy it to the and run the installation of the software from the copy on the hard disk.

When you build an exe with additional installers it looks at the last place that  you installed the drivers from. Anyway it worked for me so it might work for you.




Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 2 of 2
(3,138 Views)