08-27-2009 09:30 AM - edited 08-27-2009 09:34 AM
HI
I have a problem with the application builder. When I want to make an installer of my application (EXE) I get this error:
CDK_Build_Invoke.vi.ProxyCaller >> 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 'LabVIEW 8.6, Disk 1' from: C:\National Instruments Downloads\LabVIEW\8.6\English\LabVIEW860\ to: C:\Users\Administrator\Desktop\Test\KDS installer\
Building deployment
Copying setup files
Setting merged database information
Setting product information
Setting developer part information
Starting final build
**************
*** Error: An internal tool or library returned an error. (Error code -21)
Error Messages
Error: Part at path "c:\program files\national instruments\shared\productcache\ni labview rutime engine [8.2.1]\lv82rte\lv82runtime.msi" was included by 2 products: 'NI LabVIEW Run-Time Engine 8.2' and 'NI LabVIEW Run-Time Engine 8.2.1'
*** End Error Report
**************
Done building deployment
Can someone tell me what to do about this error?
I'm running LabVIEW 8.6 with NI-DAQmx 8.8 drivers (for my USB-6008)
I also included the drivers in my installation because I need them
thanks
Reggi
WOEPS, can A Moderator pls replace this to the LabVIEW topic?
I placed this post in the wrong section
Sorry
09-14-2009 04:33 AM
Hello Reggi,
Error 21 is one of the more general error. It's not the easiest one to troubleshoot.
Mostly is referring to wrong file paths (including DLL's when using Call Library Function Node).
Strange thing is that you have a LabVIEW 8.6 project, but the error is referring to the LabVIEW 8.2.x Run-Time Engine.
Normally the project should use the LabVIEW 8.6 Run-Time Engine.
Is this an upgraded project? Does the application run without warnings/erros from within the LabVIEW Development environment?
Can you check if your Build Specifications include all the correct paths to the needed files?
Alternatively you may include your project files so we can help you troubleshoot.
09-15-2009 04:49 AM