LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Build error in 8.6 on vista (works on xp)

Solved!
Go to solution

Hi,

 

I having trouble building my installer on Windows Vista. The build works on Windows Xp. I do not find the error message very informative. I have searched the forum but cannot find the exact same error description.

 

Hope someone can help me out on this one. 

 

Best regards

Mattis

 

Build report:

CDK_Item_OnDblClick.vi.ProxyCaller >> CDK_Item_OnDblClick.vi >> CDK_InstallerConfiguration_Editor.vi >> 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
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

 

0 Kudos
Message 1 of 5
(3,415 Views)

The following thread is discussing the same error but with LV 8.2, however there might be some hints to get rid of it:

http://forums.ni.com/ni/board/message?board.id=170&message.id=249866&requireLogin=False

Message 2 of 5
(3,399 Views)
Solution
Accepted by mattis

Try adding the following token to your LabVIEW.ini file:

 

CDK.EnableLog=true

 

This will record a detailed log of the build in your user temp folder, with a file name based on the build spec name, eg C:\Documents and Settings\user\Local Settings\Temp\My Installer.log. If you could post that here, we may be able to point you in the right direction.

 

Thanks,

Bob

Message 3 of 5
(3,393 Views)

Hi Christian and Bob P

 

Thanks for helping me.

 

From the log file i found out that a dll file xerces was not found. I tried to install the driver DVD again but with no luck. I got an error message saying something like a corrupt or missing file (error -41). I called NI support and they suggested me to copy the entire DVD onto the harddrive and do the installation from there. That worked 🙂

 

Best regards

Mattis

0 Kudos
Message 4 of 5
(3,352 Views)

Same error was seen on one of my project while creating installer. I noticed that I could create installer for one of my projects and not the other one. Even while creating exe, I used to get warning of duplicate paths.

 

The installer error went away after i tried deleting the Max channels from my project and then creating installer.

 

Hope this helps you guys in some ways !

0 Kudos
Message 5 of 5
(3,200 Views)