04-16-2013 03:18 PM
I attempted to build an existing LabVIEW project for deployment on a new computer. This is the first time I have built this project under Windows 7 and LabVIEW 2012 SP1. The build did not complete and the following message was received:
"CDK_Item_OnDoProperties.vi.ProxyCaller >> CDK_Item_OnDoProperties.vi >> AB_UI_FRAMEWORK.vi >> AB_UI_Frmwk_Installer.lvclass:Build.vi >> Installer.lvclass:Build_from_Wizard.vi >> IB_MSI.lvclass:Build.vi >> IB_MSI.lvclass:Engine_Build.vi >> NI_MDF.lvlib:MDFBuildDist_Build.vi
Loading product deployment information
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-488.2 for Windows, Version 3.1.1' from: C:\ProgramData\National Instruments\Update Service\Installers\NI_20130308_0954\Updates\NI-488.2 3.1.1 3.11.99999\ to: C:\ProgramData\National Instruments\MDF\ProductCache\
Copying distribution 'NI-DAQmx 9.6.2' from: C:\ProgramData\National Instruments\Update Service\Installers\NI_20130308_0954\Updates\NI-DAQmx 9.6.2 9.62.49152\ to: C:\ProgramData\National Instruments\MDF\ProductCache\
Copying distribution 'NI-SWITCH 4.6.1' from: C:\ProgramData\National Instruments\Update Service\Installers\NI_20130308_0954\Updates\NI-SWITCH 4.6.1 4.61.49152\ to: C:\ProgramData\National Instruments\MDF\ProductCache\
Building deployment
Copying setup files
Setting merged database information
Setting product information
Setting developer part information
Starting final build
Validating...
Copying files...
Scanning files...
Updating files...
Creating merged database...
Creating installer files...
Build complete successfully.
Copying additional setup files
**************
*** Error: Windows SDK function returned an error. (Error code -12)
Error accessing a resource module "Z:\Projects\CP-26\LabVIEW Code\Builds\CP-26 Installer\Volume\supportfiles\customResource0012.dll".
**************
*** Error Details:
Error in MDF API function: _MDFBuildDist_Build
Error in MetaToolbox::UpdateResourceString.
strId: 2; New String: CP-26 Program Installation (Database Version); LangId: 12
Windows function LoadResource returned an error. Error code: 193
*** End Error Report
**************
Done building deployment"
Please advise. Thanks.
04-17-2013 12:27 PM
Hi Double_D,
Are you trying to build an EXE or an Installer? You may need to ensure that dll links are linking correctly. Which version of LabVIEW was this project originally developed? That may also be an issue. Especially if you are changing LabVIEW versions, Operating Systems and .NET versions. Here is a document that dicusses some possibilities of the error.
http://digital.ni.com/public.nsf/allkb/AFC375154EFBD6AE8625760B005FB723?OpenDocument
04-18-2013 05:11 PM
I was able to get the installer to build correctly by adding the LabVIEW 2010 runtime engine instead of the LabVIEW 2012 version. When I installed the application on the target machine, however, the installer insisted that I needed the 2012 runtime. I then downloaded the 2012 runtime from the NI website and everything appears to be working correctly now.
10-14-2015 12:31 AM
Even I am getting this error
CDK_Item_OnDoProperties.vi.ProxyCaller >> CDK_Item_OnDoProperties.vi >> AB_UI_FRAMEWORK.vi >> AB_UI_Frmwk_Installer.lvclass:Build.vi >> Installer.lvclass:Build_from_Wizard.vi >> IB_MSI.lvclass:Build.vi >> IB_MSI.lvclass:Engine_Build.vi >> NI_MDF.lvlib:MDFBuildDist_Build.vi
Still not getting solution on this , can you please support to resolve the issue .
10-14-2015 04:03 PM
Hi diveshgarg,
Could you give me some more information on your application? Are you building an installer or an executable file? Are you using DLLs in your program? Did you include all subVIs in your build? I have also included a link at the bottom of the post that walks you through how to create an executable.
Link: http://zone.ni.com/reference/en-XX/help/371361B-01/lvhowto/building_a_stand_alone_app/