LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Distribution Setup Installation Fail

I am currently using the distribution feature inside CVI LabWindows 2013 for a test procedure that involves various lab equipment (oscopes/sensors/power supplies). I have managed to include all the proper drivers, so I think, inside of the distribution. When I run the final setup.exe file on a different machine, I am able to install the entire test procedure. However, at the very end of the installation, I am given a message that says that the installation failed to install and prompts me to restart the machine. When I restart the machine, the test procedure is successfully installed as a program on the machine and the proper program files for the test procedure is also on the machine. The test procedure will then open up and function properly. I am just wondering why this fail message comes up at the end of the installation if everything seems to be fine after the machine restart. This test procedure is for customers so I would like to remove this "fail" message if possible.

0 Kudos
Message 1 of 12
(6,705 Views)

What kind of machine are you testing this installer on?

 

Is this another development PC, or a PC with a clean copy of Windows? It sounds like your installer may be installing drivers that already exist on your PC, which could explain both why you get an error message, and why everything works (because all of the drivers are already there).

 

If you aren't sure what state the client computers will be in, you may want to consider just letting them install the drivers seperately, and only include the dependencies necessary for your software.

 

You could also look into something like Batch Installer Builder .

 

Hope this helps!

https://www.linkedin.com/in/trentweaver
Message 2 of 12
(6,683 Views)
On the NI Drivers & Components tab, what installers (and versions) do you have selected? Do you have any custom scripts that run as part of your distribution?
Daniel Dorroh
National Instruments
Message 3 of 12
(6,676 Views)

--------------------------------------------------------------------------------------------------------------

Checked:

 

NI LabWindows/CVI Shared Run-Time Engine

NI agx2k3k IVI Specific Driver

NI-VISA Runtime 14.0

 

---------------------------------------------------------------------------------------------------------------

Square Checker (not exactly sure what that indicates, I am new to LabWindows):

 

NI LabVIEW Run-Time Engine 2012 SP1 f9

NI LabVIEW Run-Time Engine 2013 SP1 f2

NI LabVIEW Run-Time Engine 2014

---------------------------------------------------------------------------------------------------------------

 

WireWeaver was right. The issue is that multiple versions of a driver are trying to be installed. When the setup "skips" installation of one of those drivers, I guess at the end of the installation when everything is checked for installation, the installer reads those skipped drivers as not being installed. Therefore, I get this installation fail message, even though I have all the required files. I believe I have found the issue but I do not know exactly what to do. We need the NI IVI Compliance Package 4.5.0 to be added into the distribution from LabWindows. However, when I try to add this driver into the distribution, LabWindows cannot locate it and ask for DeviceDriversAug2014 during the distribution creation. I found an exe off NI's website, ICP400.exe, to suffice for my program but I would like to have everything included in the distribution instead. Is there a way I can provide the proper "files" for the IVI Compliance Package 4.5.0 inside of the distribution creation?

0 Kudos
Message 4 of 12
(6,654 Views)

If you install ICP 4.5.0 on your development machine, you should be able to include it in your distribution. Here is the download page for ICP 4.5.0 http://www.ni.com/download/ivi-compliance-package-4.5/3065/en/

Daniel Dorroh
National Instruments
Message 5 of 12
(6,644 Views)

So when you say include it on your development machine, does that mean just include the actual .exe into the distribution and then "check" the box for the IVI Compliance Package 4.5.0 in the drivers section of the distribution? Or, do I need to physically install the ICP450.exe and point the distribution to some directory when I am trying to build the distribution WITH the IVI Compliance Package 4.5.0 "checked"

0 Kudos
Message 6 of 12
(6,637 Views)

The particular "overlapped" driver is the NI System API. NET 5.5.0. At 83% through the installaion of my program, I get a message that says a later version of NI System API. NET 5.5.0 is already installed and ask if I want to continue. I am also wondering if the ICP450.exe installs other things that are being installed from the distribution. Maybe if including the ICP450 i nthe distribution, LabWindows will somehow take only the required drivers?

0 Kudos
Message 7 of 12
(6,634 Views)

Would you mind posting a screenshot of the message that displays? Is it an error or just a dialog informing you that a component in your installer won't install?

 

Daniel Dorroh
National Instruments
Message 8 of 12
(6,613 Views)

NI System API .NET 5.5.0 distribution driver issue.

0 Kudos
Message 9 of 12
(6,555 Views)
This error message does not seem alarming. All this means is that the computer on which you are running your installer has a later version of system configuration API. The application should be able to run with a version of the API that is equal to or later than the version with which it was built. When you choose to continue, what happens?
Daniel Dorroh
National Instruments
Message 10 of 12
(6,530 Views)