Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Building Installer problem

Hello all,

 

i am trying to build an installer for a program tha communicates through a serial port with an instrument in LabVIEW 8.5. The .exe is build with no problems, but when i run the installer build i get the following errors that i haven't tried to resolve:

 

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 >> NI_MDF.lvlib:MDFBuildDist_Build.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 'National Instruments Device Drivers - August 2007, Disk 1' from: D:\ANDREAS\ELECTRONICS\LabVIEW8.50\Device Drivers\DCD-Aug07-1\ to: C:\Documents and Settings\ANDREAS\My Documents\Builds\RefLab\REFLAB Setup\
Copying distribution 'NI LabVIEW 8.5' from: D:\ANDREAS\ELECTRONICS\LabVIEW8.50\ to: C:\Documents and Settings\ANDREAS\My Documents\Builds\RefLab\REFLAB Setup\
Building deployment
Copying setup files
Setting merged database information
Setting product information
Setting developer part information
Starting final build
Validating...
Copying files...
Updating files...
 
**************
*** Error: Windows SDK function returned an error. (Error code -12)
*** End Error Report
**************
 
Done building deployment
 

0 Kudos
Message 1 of 2
(3,119 Views)

Hi Andreas B,

 

please try these steps and let me know how they work out:

Uninstall all DAQmx copies you may have (you should only ever be allowed to have one copy)

  1. Then copy your latest version of DAQmx from the CD to your harddrive and install from your harddrive.  (if you do not have a copy of this, you can download it from here)
  2. Open your project and open your top level VI.  Mass compile everything by pressing Ctrl + Shift + pressing the arrow button. 
  3. Rebuild your Executable.
  4. Delete your old installer, and create a new one.  Build the installer without DAQmx.
  5. Now try including DAQmx, if it asks for the installation directory, point it to the location you copied the DAQmx 8.3 CD.


Hope this helps, again please keep us updated on your progress through these steps.

Regards,
Claire Reid
National Instruments
0 Kudos
Message 2 of 2
(3,097 Views)