LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Installer missing files

I'm using Labview 8.5 and using the Application Builder to create an executable and installer. My VI uses DAQmx and lots of it.
 
On the first time through, I included the 8.5 Run-Time engine. When installing on the target machine (that has never seen any NI software) and rebooting, it complains of several ni*.dl's missing
listed below, then lists some 30 odd missing DAQmx subVIs.
 
I read in a thread that I should include the DAQmx thing. I have version 8.6.  Okay ......
 
Now when trying to build the installer, it's asking me for the 8.2.1 product distribution. I have the 8.2 CD but it doesn't like it.  It says it's not the right CD, and will not continue.
I can't seem to be able to manually add files to be put into the System32 folder - that would be a nice feature.
What do I need to do to fix this so that all dependent files are included in the installer? Do I need to upgrade something to make it quit asking me for the 8.2.1 CD?
LabView on the host machine started with ver 7.something, then 8.2, and now 8.5 with all versions still present on the hard drive.
 
Another silly thing I've seen on the target machine is that if I ignore all the above errors, I can still see my front panel. It's broken, but I can see it. The font spacing or size is way different to the point where
text descriptions are running into adjacent controls. Is this a Windows setting? I'm using WinXP Pro on both the host and target machines.
 
Missing DLLs:
nidimu     nilaiu
nidmxfu   nimdbgu
nimerc     nimhwcfu
nimru2u   nimstsu
nimxdfu   nimxpu
niorub      nipal32
nipalu      nipanu
nipalut     nirpc
 
I'm not sure if the above list is inclusive, but should be close.
 
Any help would be greatly appreciated!
Thanks,
Gary
0 Kudos
Message 1 of 4
(3,526 Views)
Hi Gary,
When you installed the DAQmx 8.6 drivers, did you install LabVIEW first before you install the driver? If that's the case, you need to change the installation of DAQmx 8.6 to support LabVIEW 8.5
To build an installer for your code, you need the version of LabVIEW you wrote the code in as well as the driver you were using when you wrote the code.  However, when you upgrade, you can upgrade the version of driver and LabVIEW, in which case you can include the updated version of the driver and Run Time Engine when you try to include additional installers.
Please refer to this article as to why it's asking for the older distribution of LabVIEW.
http://digital.ni.com/public.nsf/allkb/C3666BA408F81E59862570D20056E692?OpenDocument
To upgrade your code to be using the new drivers and software, please make sure your driver's properly installed for LabVIEW 8.5. Make a back up of your current project.  Open up your project in LabVIEW 8.5 and go to Tools->Advanced->Mass Compile and mass compile your code.
You should then be able to build an exe with the newest version of DAQmx 8.6.

Yi Y.
Applications Engineer
National Instruments
http://www.ni.com/support
0 Kudos
Message 2 of 4
(3,497 Views)

Thank you for your reply!  It took me a while to finally get everything to work. I took your recommendation with little success at first, then realized it was the old versions still on the hard drive that was giving me trouble.  SO .... I un-installed everything, cleaned the registry (the uninstaller left a LOT in there), defragmented, and reinstalled LV 8.5 with the associated programs.

I didn't know what the Mass Compiler did before and now I do thanks to your tip!  Mass compiling, rebuilding the EXE, and then the installer went smoothly, only asking for the 8.5 CD. I've since copied the CD to the hard drive so it won't ask again on subsequent builds.

WHEW!

Now to figure out how to get the Startup VI's icon on the desktop wtihout it being inside a folder.......

 

 



Message Edited by GaryAtAMI on 11-20-2007 06:39 AM
0 Kudos
Message 3 of 4
(3,468 Views)
Hi Gary,
I'm glad you worked out the installer issue.
I'm not sure what you meant by "get the Startup VI's icon on the desktop wtihout it being inside a folder"
If you meant shortcuts to your executable, when you create an installer, you can create shortcuts to your exe and install them to any directory of your choice.  It's in the "Shortcuts" section when you create an installer.

Yi Y.
Applications Engineer
National Instruments
http://www.ni.com/support
0 Kudos
Message 4 of 4
(3,443 Views)