Error -12: SDK Error When Building a LabVIEW Installer or Installing LabVIEW

Updated May 3, 2018

Reported In

Software

  • LabVIEW Base
  • LabVIEW Full
  • LabVIEW Professional
  • LabVIEW Application Builder Module

Issue Details

When I build my installer or am installing LabVIEW, I am getting the following error:

Error: Windows SDK function returned an error. (Error code -12)



How can I fix this?

Solution

There are three known possible reasons this error could appear:
 
  1. The .NET Framework needs to be updated to at least the .NET 3.0 Framework Service Pack (SP) 2. You can download this and other versions of the .NET Framework from Microsoft's website.  The .NET Framework 3.5 SP 1 is available here: Download Details: Microsoft .NET Framework 3.5 Service Pack 1.
  2. The software package Kaspersky Internet Security is blocking LabVIEW. Adding LabVIEW.exe as an exception or disabling Kapersky should resolve the issue.  
  3. The installer is being built on a network drive.  Change the Installer destination in the Build Specification to be on a local drive or USB stick.
This is only known to be an issue with Kaspersky, but it is possible that other virus scanning or computer security software may block LabVIEW as well.  If you are still receiving the error disable any other anti-virus and security software and try building your installer again.

WAS THIS ARTICLE HELPFUL?

Not Helpful