LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

redistributing a CVI Dll

I have a DLL that I created in CVI and I want to redistribute it. I see in
the "C:\Program Files\National Instruments\MeasurementStudio\CVI\redist\msm"
folder there is a merge module for the cvi runtime "cvirte.msm". If I
include this in my Installshield project I get an error when this module is
installed. Can I do this or do I have to spawn the installer that is in the
redist folder. If so which one?

Thanks

John
0 Kudos
Message 1 of 4
(3,266 Views)
Greetings John,

A few things....

Have you looked at using the built-in distribution kit to distribution your DLL (menu, Build, Create Distribution Kit)? It should include all the CVI files that you need to successfully distribute your app (including the RTE files, registry entries, etc).

If you need to modify your distribution kit, there are "getting started" instructions in a whitepaper that shipped with CVI 6.0 (you can find it by going to the very bottom of the help on the distribution kit dialog, and choosing the link entitled "Modifying Create Distribution Kit Installers in LabWindows/CVI 6.0"). In includes information on the various files that the distribution kit generates, as well as some tips on importing the distribution into a third-party installer tool
. Also, it describes the purpose of the exectables in the redist folder (indirectly, but they are the same ones that are copied to the output directory of the dist kit build).

Regards,
- WesW / NI
0 Kudos
Message 2 of 4
(3,265 Views)

Hello

This document should help, it talks about customizing installers.

You can also install the CVI RTE silently.

Type the following line at the command prompt to silently install the CVI Run-Time Engine:
msiexec /i"CVI Runtime Engine.msi" /qb /l*v "C:\temp\install.log"

If you're not in the directory of the msi file, you need to specify the msi's full path. The /i switch means "install the following msi file"; use /x"CVI Runtime Engine.msi" to uninstall instead. /qb means "run in silent mode" and /l*v means "log the installer activity into this file"; the logging is entirely optional.

Hope this helps

Bilal Durrani
NI

Bilal Durrani
NI
0 Kudos
Message 3 of 4
(3,265 Views)
Bilal,

Thanks for the information. I can't find "CVI Runtime Engine.msi" anywhere. I have checked Measurement Studion directories and the original CD. Any ideas?

Thanks
John
0 Kudos
Message 4 of 4
(3,265 Views)