LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I create installer that checks whether the Labview RTE 7.1 is already installed?

I have the following problem: I need to create an installer that checks whether the RTE is already in place. If yes, just install the application. If not, skip installation of RTE. Any ideas how to do that? I don't mind doing 2 separate intallations...
 
By the way, is there any way to check whether the program that is intended to be installed is actually there?
 
Regards, Dan
0 Kudos
Message 1 of 5
(2,677 Views)

Hello Dan,

Great question -- all you need to do is build your installer and bundle the runtime engine with it.  When the user installs your program the installer you build with the app builder will automatically take care of what you describe.

As far as your second question is concerned, are you trying to determine this programmatically or though Windows in some way?  If you want to do it through Windows, just check control panel-> add/remove programs for the program or rerun the installer.  If it's been installed you'll get a different screen when you run the .msi setup.  If you want to do it programmatically you'll probably need to make calls to the Windows API to get Windows to return that information for you.  If you need more help on that let us know.

Hope it helps -- have a great day!

Travis M
LabVIEW R&D
National Instruments
Message 2 of 5
(2,670 Views)

Should I understand that the installer checks whether the program is already installed and warns you about it in some way? And the same is valid for the RTE?

Otherwise, thanks for the rapid responce.

Regards, Dan

0 Kudos
Message 3 of 5
(2,665 Views)


@Dan Kostov wrote:

Should I understand that the installer checks whether the program is already installed and warns you about it in some way? And the same is valid for the RTE?

Otherwise, thanks for the rapid responce.


If you include the Runtime Engine in your application builder its installer will check if the same version of the runtime engine is already present on the system and if so skip installation of the runtime engine.

For the application at least in LabVIEW previous to 8.0 if the application is already installed and you didn't change the Product Code in the Installer Settings->Properties dialog then the installer will actually prompt the user to deinstall the application instead. In LabVIEW 8 I believe this last point has been changed somewhat but I don't remember the exact specifics at the moment.

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 4 of 5
(2,658 Views)
Thanks for the thorough explanations!! 
0 Kudos
Message 5 of 5
(2,648 Views)