02-22-2011 05:42 PM
I get the following error when I try to build an installer:
CDK_Build_Invoke.vi.ProxyCaller >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> CDK_Engine_BuildDevPart.vi >> NI_MDF.lvlib:MDFBuildDevPart_Open.vi Loading product deployment information Loading product deployment information Adding files to installer ************** *** Error: Windows SDK function returned an error. (Error code -12) Error accessing build path "<PATH> \temp\dp\". Error creating directory "<PATH> \temp\dp\". The system cannot find the path specified. ************** *** Error Details: Error in MDF API function: _MDFBuildDevPart_Open Error in MDF::BuildDeveloperPart::CopyFilesToBuildDir. MetaToolbox: MetaToolbox::CreateDirectoryRecurse failed. Windows function CreateDirectory returned an error. Error code: 3 *** End Error Report **************
I have done the follwoing:
1) Checked the path. The permissions are OK, and I even created the /temp/dp folders
2) Changed the path to c:\temp
3) Emptied the Cache directories (windows 7, so the one in c:\program files/Nat... and the one in c:\programData
4) Installed .NET framework 4.0
5) Removed the VISA runtime package from the installer
6) unchecked "copy installers to disk" in the build spec
Any ideas?
02-23-2011 03:06 PM
Jed Davidow,
I have looked through some resources and found that this code sometimes occurs because the source files to include have disappeared from the installer properties window. Please check that your files are still present and in the correct place and try to build the installer again.
Hope this helps!
Drew