03-22-2012 08:15 AM
I'm installed service pack 1 and today I tried to build an installer. However I get the attached error. Not really sure what that means. Could someone please enlighten me?
Note: it asks for 2011 (SP1) Platform disk 1 and then the drive searches on that for a while - meaning it speeds up then slows down several times. I was thinking maybe I got a bad disk, but it looks fairly clean, not pristine but I never get "good" disks from NI. I can go into windows explorer and read the folders on the disk so I'm not sure that is the issue.
Thanks
Jim
03-23-2012 10:05 AM
03-26-2012 07:53 AM
No it does not fix the issue. I get the attached error.
03-26-2012 08:03 AM
Additional information:
Where it errors out when trying to build the installer is after it asks for Labview SP1 DVD - see attached. I tried pointing it to any/all folders in the "C:\National Instruments Downloads\LabVIEW English\2011 SP1" folder on my hard drive, but it would not accept them as valid locations. The only thing it accepts is the DVD I received in the mail. It searches that disk, then it errors out.
Jim
03-26-2012 09:04 AM
Had same issue on LV2010SP1 when trying to build an installer with several additionals. I narrowed it down to including 2010sp1 LV RTE causing the issue. The builder was asking for Labview 2011 Platform DVD 1. 2011 is installed on the computer, though always from downloads, not from discs, I had thought.
Inserting the disc failed, as it did for the OP.
I did a full install from the disc, took all day long, did not fix the issue.
03-26-2012 10:08 AM
correction, it was DAQmx 9.5: MAX configuration that was giving me build errors. I installed it from a download. Problem not seen on my other dev PC.
03-27-2012 12:06 PM
Thanks for the update on this.
Skydyvr - In your screenshots when you are building your application and getting the error, I see you are including additional installers. Does this error still occur when you are building an installer with no additional installers? And if you are able to build with no installers, can you try to isolate which installers are causing this issue?
blawson - so the problem you were having is coming from the 2010sp1 runtime engine and it asks for the 2011 platform dvd? I am a bit confused by where the error is coming from because then you say it is a MAX configuration file. Would you mind reiterating the issue you are seeing so I can see if I can recreate it at my end?
Also is this something that happens with a specific project you build into an installer or is it an issue with all projects.
Regards,
03-27-2012 12:44 PM - edited 03-27-2012 12:45 PM
Developing in LV2010sp1, my project has an installer build spec for my application and several additional installers. If I include "NI-DAQmx MAX Configuration Support 9.5", which is the additional installer for DAQmx + MAX, then at the very end of the install I get an error similar to the above. If I uncheck this DAQmx installer, the build succeeds. I have not tried the other two DAQmx install options (core, full). I haven't tried this on other projects.
I only see this on one of my development computers.
At first it was asking for the 2011 platform DVD, and inserting it did not seem to help. After I ran a full install from those disks it stopped asking for the disc but still fails with the same error.
03-27-2012 12:45 PM
I can build it with additional installers. The three I need are:
NI-488.2.3.0
NI-VISA Configuration Support 5.1.1 (Not really sure if I need this or the Runtime installer, but this seems more complete so I use this one.)
NI-DAQmx {something} (Again not really sure which one I need.)
So here is the deal. I can build the appliction with the NI-488 and NI-VISA (both runtime and config support).
I can build it with the above 2 and also NI-DAQmx Core Runtime 9.3.5.
However if I choose NI-DAQmx Application Development Support 9.3.5 it errors.
If I choose NI-DAQmx MAX Configuration Support 9.3.5 it errors.
Incidentally, when I choose NI-DAQmx Core Runtime 9.3.5, it does not ask for the platform DVD1. The other two do ask for the DVD.
Thanks for your help Jeff.
BTW, please let me know how I can submitt an invoice to NI for my time in helping to trouble shoot NI's faulty design and/or implementation of this problem.
03-27-2012 01:14 PM
Here's the text from my build errors dialog:
CDK_Build_Invoke.vi.ProxyCaller >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> IB_MSI.lvclass:Build.vi >> IB_MSI.lvclass:Engine_Build.vi >> NI_MDF.lvlib:MDFBuildDist_Build.vi
Loading product deployment information
Adding files to installer
Validating...
Copying files...
Scanning files...
Updating files...
Build complete successfully.
Done adding files
Preparing to build deployment
Copying products from distributions
Copying distribution 'NI-DAQmx 9.5' from: C:\National Instruments Downloads\NI-DAQmx\NIDAQ950f2\ to: C:\ProgramData\National Instruments\MDF\ProductCache\
Building deployment
Copying setup files
Setting merged database information
Setting product information
Setting developer part information
Starting final build
Validating...
**************
*** Error: An internal tool or library returned an error. (Error code -21)
Error Messages
Input file 'C:\ProgramData\National Instruments\MDF\ProductCache\NI LabWindows_CVI CodeGenerator 2010 [10.0.0360]-5\CVI_CodeGen.msi' not found for part 'CVI_CodeGen.msi' in product 'C:\Program Files (x86)\National Instruments\Shared\MDF\Manifests\NI LabWindows_CVI CodeGenerator 2010 {A11A542A-37BF-4943-9810-3F1DC0AD4A1C}.xml'.
**************
*** Error Details:
Error in MDF API function: _MDFBuildDist_Build
Error List
.\InputParser.cpp(387): InstallerError 121
Input file 'C:\ProgramData\National Instruments\MDF\ProductCache\NI LabWindows_CVI CodeGenerator 2010 [10.0.0360]-5\CVI_CodeGen.msi' not found for part 'CVI_CodeGen.msi' in product 'C:\Program Files (x86)\National Instruments\Shared\MDF\Manifests\NI LabWindows_CVI CodeGenerator 2010 {A11A542A-37BF-4943-9810-3F1DC0AD4A1C}.xml'.
While validating input parts.
*** End Error Report
**************
Done building deployment
and details:
Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
I like the details 🙂
So... why is it trying to add the CVI code generator?