LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error code -12 when building the installer

When I am biulding my project, there was a build error showing as following. I did not change the program and  I was able to build the installer by using the same project file a month ago.
 
Zhengxin 
Thanks 
 
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
Loading product deployment information
Adding files to installer
Done adding files
Preparing to build deployment
Copying products from distributions
Building deployment
Copying setup files
Setting merged database information
Setting product information
Setting developer part information
Starting final build
Validating...
Copying files...
Updating files...
Creating merged database...
 
**************
*** Error: Windows SDK function returned an error. (Error code -12)
*** End Error Report
**************
 
Done building deployment

Message 1 of 7
(3,610 Views)

Hello Zhengxin,

 

Have you taken a look at this KnowledgeBase?  Let us know if this is related to your issue.

Message 2 of 7
(3,594 Views)

Hi Burt,

 

Thanks for your reply. I do run the LabVIEW8.6 in Vista 64bit. I read the KnowledgeBase you gave and still can not solve the problem. I can not navigate to the specified value in the register. I can successfully build the exe file but when come to the installer, the error code occurs. The attachedments show what I saw when I am trying to modify the register. any idea? Thanks

 

Zhengxin 

Download All
Message 3 of 7
(3,586 Views)
Hmm, that is interesting.  Does the error occur no matter what you include with your installer, or is it only certain inclusions that are causing the problem?
0 Kudos
Message 4 of 7
(3,563 Views)

Hi, I had exactly the same problem and I solved it this way:

 

I've installed an Antivirus program "Kasperski Internet Security" and this tool blocks my installer creation!!!!!

When I disable the Antivirus program or define an exception for the labview.exe program, then it works!!!!!

 

Hope that helps

cheers

Hans

0 Kudos
Message 5 of 7
(3,336 Views)
Thank you Hans - I spent two days drilling through the other -12 error posts before I ran across yours.  Kaspersky was the culprit.
0 Kudos
Message 6 of 7
(3,187 Views)

You're welcome 🙂

 

Cheers

Hans

0 Kudos
Message 7 of 7
(3,168 Views)