LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Distribution kit

Hello
I've "developed" a small CVI (8.1.1) application that does not use anything but standard CVI calls.
 
In the distribution "manager" only the LabWindows/CVI runtime Engine and the NI daq mx 8.5 options are included.
 
When sending the distribution kit to the client the installation suceeds but the enclosed error message appears
when trying to start the application.
Unfortunately it is in Norwegian but someone might recognize the error window.
Regards Per Borgvad
 
0 Kudos
Message 1 of 8
(4,431 Views)

Your attachment is missing - perhaps due to the fact that the "Preview" button when posting to this forum causes any attachments to be lost. If you can translate that message into English you probably will get a lot more responses.

Without seeing it, my guess is that you are missing some dependencies - check for them in the top right pane of the Files tab, and ensure that they exist in the  file to go onto target machine.

Good luck.

0 Kudos
Message 2 of 8
(4,424 Views)

First let me correct an error. It's only the LabWindows/CVI runtime Engine that is

included under drivers & Components.

As for dependencies, the following are included :

1: The output file (exe)

2: The UIR file

3: DLL Dependencies

I try again to enclose the error message. It's a lot of text (in Norwegian) that acually tells nothing.

Regards Per

0 Kudos
Message 3 of 8
(4,417 Views)
Hello,

I have similar experiences - I've migrated from CVI 8.1 to the 8.5 with my five year's developed project with the distribution settings also (I made no change on this).
When I created distribution kit under CVI 8.1, the instalation (and first run) was without any problem.
But when I use the distribution created under the CVI 8.5 IDE, I get similar error message (unfortunately I have no screenshot). This happened ONLY on the computer, where it was the first installation of cvirte.dll (this means - first instalation of my project). When this kit acts as upgrade of existing version of my application, nothing happened wrong.
To overcame this problem, I use "brutal force" way - first use the "old" distribution kit (under 8.1) and made an upgrade with 8.5 distribution.

George
0 Kudos
Message 4 of 8
(4,312 Views)
Hi,
from our customer I receive a windows crash report, illustrating the problem descripted before (instalation from distribution kit on fresh computer, kit build under LW 8.5). Unfortunately I can't decode any useful information from these files. Any suggestion to overcame this?
Thanx
0 Kudos
Message 5 of 8
(4,196 Views)
Unfortunately, the dialog in the image is a generic Windows crash dialog, and I have no idea what the other two files are.  In order to investigate this, I need you to tell me a few things. 

1. Are you able to reliably reproduce the problem on your own computer(s), or is this only something you have heard about from your customer? 
2. Does the crash always happen immediately when launching the program?
3. Please post a screen shot of the Drivers & Components tab of the Edit Installer dialog, making sure you have the LabWindows/CVI Run-Time Engine tree expanded and selected, so that its information is displayed in the 'Selected Component' portion of the tab.

Also, if you can reproduce the issue, I would ask that when installing the dist kit, you do so from the command line and pass arguments to generate a log file:

setup.exe /log <filename>.txt

This gives a detailed log of the installation process.  If you create and post log files for both the clean install scenario and the upgrade scenario (which you mentioned avoids the problem), a comparison of the two may help tell us what is going on.

Thanks.

Mert A.
National Instruments
0 Kudos
Message 6 of 8
(4,185 Views)
Hi, Mert,

thanks for your suggestion, I try to answer:

ad 1) On my computer I'm unable to reproduce this problem (because the application is here for years). But when there is first time instalation on (any) computer, the problem is replicable (I do the instalation this month five times - on different comps - and the behaviour was the same).
ad 2) Installation process is sucessfully finished (note the message "Restart computer" is not invoked!). Regardless of this I always restart and after launching the apllication, the execution crashes just after displaying the splash panel "About".
ad 3) The log file and screenshot is attached. The file setup_8_5.log has been created by the distribution kit from LW 8.5, similarly the setup_8_1.log. I'm also pack the projekt files Terminal_8_?.prj, the section [Distribution Kit] seems to be same regardless to the LW version.

Thanks,
George
0 Kudos
Message 7 of 8
(4,159 Views)
I did not immediately see anything going wrong from the installation logs.  Was the 8.5 log for an upgrade of an existing install, or was it a first installation?  I had meant for you to send two logs, both from 8.5 installers: one doing an upgrade of an existing installation, and the other doing a first installation.  But don't worry about that; since you say that the crash happens after a splash screen, the crash must be happening within a call your program makes.  This means that you should be able to locate that crashing function call by fprintf debugging.  Just have your program write lots of trace messages to a file (don't forget to flush after each write!) after the splash screen code, and before any other UI is displayed.  If you can find out which CVI library call is crashing, it should be a big help in determining the actual problem.

Also note that starting with CVI 8.0, the distribution settings are kept in a separate .cds file, not in the .prj.  The old settings remain in the prj in case you want to continue to build your dist kit in a pre-8.0 version of CVI.

Mert A.
National Instruments
0 Kudos
Message 8 of 8
(4,147 Views)