03-27-2013 02:35 AM
I am using labview2009, when I create a installer, there is an error report as blow:
Error: Windows SDK function returned an error. (Error code -12)
Error accessing a resource module "E:\工作资料\项目资料\绿盾\builds\Untitled Project 1\...\Volume\supportfiles\customResource2052.dll".
The system cannot find the file specified.
**************
*** Error Details:
Error in MDF API function: _MDFBuildDist_Build
Error in MetaToolbox::UpdateResourceString.
strId: 3; New String: ; LangId: 2052
Windows function LoadLibraryEx returned an error. Error code: 2
*** End Error Report
**************
03-27-2013 04:52 AM
Hi super008,
The error can be due to some improper installation of a driver or any NI SW that the Installer requires.
Have you recently installed or Uninstalled any NI Software ?
Also -
You can see in the KB below -
That it could also happen due to some incompatibility with the .NET framework or adding exception in the AntiVirus.
http://digital.ni.com/public.nsf/allkb/AFC375154EFBD6AE8625760B005FB723?OpenDocument
One more question :
Do you have any idea what is this resource :
E:\工作资料\项目资料\绿盾\builds\Untitled Project 1\...\Volume\supportfiles\customResource2052.dll ????
is "Untitled Project 1" your project ?
03-27-2013 09:34 PM
Thanks for your information. As you said, after I closed the anti-viruse software of my computer, the error disappeared.