08-31-2006 09:40 AM
08-31-2006 09:52 AM
09-01-2006 11:12 AM
09-04-2006 05:08 AM
09-04-2006 09:05 PM
Yup, and I found this point too, and I want tell, NI is lazy, why I say this, runing time engineer, is whole of program that user created should use whole of runing time engineer source ? and some of the other source, and labVIEW would pack entire "NI default Package files" inside the installer, e.g. entire "models, and script" folders, lvrt.dll, mesa.dll, lvjpeg, lvapp.rsc etc, this is lazy behavior, if labVIEW system can analyse or detect the installer which source would need , which not, and add the detail source into the installer is the better way, why the other EXE creator creates install or exe is small ? example, VC, VB ? and the ini file, yes I know, the ini file can reach some special settings about, and record some issue from user, but sometimes, user don't need the ini file, why there aren't an option to user to select, need ini file or not ? sometimes I hate the ini file following my EXE, and I hope NI would realize it in the not long furture.
09-05-2006 04:59 PM - edited 09-05-2006 04:59 PM
Message Edited by Matt_S. on 09-05-2006 05:01 PM
09-21-2006 04:10 AM
04-09-2008 01:13 PM - edited 04-09-2008 01:14 PM
If you use any of the 3D controls that got added in LabVIEW 6 you will also need the mesa.dll and the models subfolder in the runtime engine folder.
@Michael Stammberger wrote:
Hi,
> How can I create an installer with a minimum of size, e.g. for
> distribution per email.
I'm working with Visual-C++ 6 and somtimes have to call some DLLs
written - or better said "painted" 😉 in LabView. These DLLs provide
just calculations or file-access-functions. No graphical objects.
With the Runtime Engine 7.1 it was very simple to extract the necessary
runtime files - just two files: lvrt.dll and lvapp.dll (~8,5MB)
These two files have to be inside the same folder as the EXE and the
DLLs are.
Then there was the upgrade to LabView 8.0.1. NI made some changes to
the behaviour of the runtime - just good things in mind, but a little
strange to me:
I needed some hours to find the following solution:
1. The file lvrt.dll has to be inside your application folder.
2. At least one of the language-resource folders (!) containing the
files lvapps.rsc and vidialogs.rsc has to be copied into your
application folder. Copy the folder - the RTE looks into the folder and
will not work if you copy only the files into your application folder!
3. The clue: Inside the windows/system32-Folder there is the file
niini32.dll. It is marked with the attribute 'system'. This file has
also to be copied into your application folder.
All these files together need ~16,5MB.
After this, I uninstalled the RTE and my applications are working
properly.
(My application works also without the file vidialogs.rsc. I think this
depends on the use of graphical controls).
Note: I still haven't tested it on a computer, where the RTE has never
been installed before. Maybe the RTE-uninstall is not working properly
and leaves some fragments.
Hope this may help you.
Regards,
Michael