LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Installer and DAQ-MX: Error Code

Solved!
Go to solution

Hi,

 

I found this question was asked a few times back in 2009 and 2007 but the answesr on the forum don't really help me - partially because they say : oh it just worked.

 

 

I'm trying to craete my first installer for a LabView project.

 

It is simply a DAQ assistant for an NI Card. I am trying to move my application from a comptuer with LabView to the one with the card = without labview and I'd rather not install labview on both.

 

When I include DAQ-MX and the Run Time module I get this error code fro the installer.

 

 

Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:


CDK_Build_Invoke.vi.ProxyCaller >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> IB_MSI.lvclass:Build.vi >> IB_MSI.lvclass:Engine_AddProductsToDistribution.vi >> NI_MDF.lvlib:MDFDistBuildList_Close.vi


Loading product deployment information
Loading product deployment information

**************
*** Error: Improper function call or command line argument. (Error code -30)
Type 'DefaultFull' of product 'NI Security Update KB5Q5FJ4QW for the LabVIEW Run-Time Engine 8.2' is not found on the source distribution. Insert the correct source distribution or select another product type.
**************
*** Error Details:
Error in MDF API function: _MDFDistBuildList_Close
Error in MDF::DistributionBuildList::AddDependentProducts.
*** End Error Report
**************

 

Don't quite know what it means 😞

 

For this one

 

Type 'DefaultFull' of product 'NI Security Update KB5Q5FJ4QW for the LabVIEW Run-Time Engine 8.2' is not found on the source distribution. Insert the correct source distribution or select another product type.

 

I think it means that it's not finding the CD from where to get this install wizard? Is that it? Well it is never prompting me for a media where to find this file... so I'm stumped.

 

Any help would be appreciate, I'll reply on the weekend too!

 

Thanks!

 

Also, I<m trying to craete an installer for a .net application. Anything I need to know in particular for that? i.e. where do I include my .dll file? Does that go in the source files?

 

 

Thanks.

 

I've attached the only file in my project that I am trying to install...

 

Lol.

 

 

0 Kudos
Message 1 of 30
(4,360 Views)

I believe that this is a result of the DAQmx Drivers being installed when you installed the Run Time module. It most likely recognizes that disc as being the original source of the DAQmx installation. If this is still happening after doing a repair of LabVIEW, I would recommend downloading and reinstalling the DAQmx drivers from in.com/downloads. 

 

I was able make an application using the VI you supplied.

0 Kudos
Message 2 of 30
(4,354 Views)

Ok I'll try and repair it.

 

By the way, you made an installer and an application right?

 

Thanks!

 

0 Kudos
Message 3 of 30
(4,347 Views)

Yeah. If the repair of LV and/or reinstall of the DAQmx driver from ni.com does not work, it might also help to see a screenshot of the error and also the installers that you are including.

 

Here is also a link to application building check list. Building Application Checklist 

0 Kudos
Message 4 of 30
(4,345 Views)

Not in office until Sunday.

 

I will try then.

 

Many thanks.

 

0 Kudos
Message 5 of 30
(4,343 Views)

Am currently reinstalling labview - will update on it ASAP.

 

Tried to repair it but it had some permission issue when trying to delete this one file. 

 

I've spent 1:30 unisntalling labview and now I'm spending another 1:30 installing labview. 

 

So much work to do and now waiting on a fresh install...

 

I hope this works...

 

0 Kudos
Message 6 of 30
(4,318 Views)

Make sure to install in this order. 

1. Labview

2. Toolkits

3. Device Drivers

0 Kudos
Message 7 of 30
(4,316 Views)

...

 

I just popped in the 3 CDs and checkmarked everything - even the device drivers I don't need.

 

Will that bug?

 

I should add that Labview was the first thing to install, then the Real Time Module, it's going through a bunch of toolkits now and drivers.

 

0 Kudos
Message 8 of 30
(4,314 Views)

Hi, the message "...KB5Q5FJ4QW" basically means knowledge base (KB) 5Q5FJ4QW. You can check it here. In summary, the NI Security Update force all users to be administrators, for security purposes, otherwise their applications won't run. The article states that you have two option:

 

1 - Download and install NI Security Update 5Q5FJ4QW from Drivers and Updates to each machine. OR

2 - After installing the update to a development machine, rebuild an application installer that includes the LabVIEW or LabWindows/CVI Run-Time Engine and run it on each target machine.

 

I hope this helps

Alejandro C. | National Instruments
0 Kudos
Message 9 of 30
(4,309 Views)

I am an administrator though.

 

But I will try what you have just posted.

 

Thanks!

 

0 Kudos
Message 10 of 30
(4,307 Views)