LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LV2011SP1 Build Error

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

0 Kudos
Message 1 of 24
(4,031 Views)

Hi,

 

I would suggest doing a repair install of LabVIEW 2011 SP1 using a downloaded installer instead of the disk. You can download it from here or from here if you have SSP. Please post back if that resolves the issue.

 

Regards,

0 Kudos
Message 2 of 24
(4,007 Views)

No it does not fix the issue. I get the attached error.

0 Kudos
Message 3 of 24
(3,984 Views)

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

0 Kudos
Message 4 of 24
(3,981 Views)

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.

-Barrett
CLD
0 Kudos
Message 5 of 24
(3,962 Views)

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.

-Barrett
CLD
0 Kudos
Message 6 of 24
(3,954 Views)

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,

0 Kudos
Message 7 of 24
(3,926 Views)

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.

-Barrett
CLD
0 Kudos
Message 8 of 24
(3,917 Views)

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.

0 Kudos
Message 9 of 24
(3,916 Views)

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?

-Barrett
CLD
0 Kudos
Message 10 of 24
(3,904 Views)