03-16-2009 05:28 AM
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
Solved! Go to Solution.
03-16-2009 09:33 AM
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
03-16-2009 10:09 AM
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
03-20-2009 01:43 AM
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
04-27-2009 04:13 PM
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 !