11-30-2015 06:52 AM
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.
12-01-2015 09:47 AM
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!
12-01-2015 07:06 PM
12-03-2015 08:15 AM
--------------------------------------------------------------------------------------------------------------
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?
12-03-2015 10:48 AM
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/
12-03-2015 11:45 AM
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"
12-03-2015 12:08 PM
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?
12-04-2015 09:37 AM
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?
12-07-2015 08:36 PM
NI System API .NET 5.5.0 distribution driver issue.
12-08-2015 05:50 PM