LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Installing 2 LabVIEW applications separately on the Windows machine

Hello All.

 

I have a requirement to silently (programmatically) install or update 2 different LabVIEW applications (LabVIEW 2011 SP1 f2 version) separately on Windows XP machine at anytime. I build separate installers (with the runtime engine) for these 2 applications as they run independently for different purposes. I want to know how to silently update these applications without affecting each other. When one application is getting updated/installed, the other one should still be running.  
 

The problem is with the silent uninstall using the specific product name where it uninstalls everything (all the LabVIEW applications) installed on the machine including the runtime engine. This affects the other application. I am using the silent install/uninstall commands from NI website. If I don't uninstall, everytime when I update the same application (using the installer), there will be multiple entry in the Windows registry (Ref: Control Panel - add/remove Programs).

I am looking for a solution...

 

Thank You

0 Kudos
Message 1 of 7
(2,947 Views)

1.  Don't put the run-time engine with the installer for your app.  Just have your installer install only your application.  Put the run-time engine in its own installer.  Or just install them manually from the NI website.  That way if you uninstall, it will only uninstall your app, not the run-time.

 

2.  Thereis a parameter in the application builder that stores an ID for your application.  If you install an application with the same ID in its builder, then it will be treated as an update to an existing app and you won't have multiple versions in Add/Remove programs.  If the ID is different, then it will treat the new installation as a completely different new app leaving the old one still installed as far as Add/Remove programs is concerned.  It is called Upgrade Code under the Version Information section of the build properties for the installer.

Message 2 of 7
(2,932 Views)

Hi houston11,

                      When you install first time labview application toi any of the windows OS than it take longer than usual becasue it will install all the components to run the package or application. And when you uninstall the application, run time engine and VISA etc will be uninstalled untill you will unstall it manually. Please verify this.

 

In other words this is not possible. it wont uninstall all the components.\\

 

Ranjeet

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 3 of 7
(2,916 Views)

@Ranjeet_Singh wrote:

Hi @houston11,

                      When you install first time labview application toi any of the windows OS than it take longer than usual becasue it will install all the components to run the package or application. And when you uninstall the application, run time engine and VISA etc will be uninstalled untill you will unstall it manually. Please verify this.

 

In other words this is not possible. it wont uninstall all the components.\\

 

Ranjeet



Not true Ranjeet.

 

When you install a LabVIEW application (and this means your own code that you have built into an .exe), the installer is only going to install whatever you have told it to install when you built the installer.  So if you told it to only install your .exe, that is all it will do.  It won't magically go out and also install the run-time or other components.  You have to tell the Installer builder that you want to also include the other components such as the run-time, VISA, DAQ, or any other components.

0 Kudos
Message 4 of 7
(2,894 Views)

Dear 

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 5 of 7
(2,872 Views)

And the solution is not to put the additional components in the installer, with your application.  But to create a separate installer just for the additional requirements.  That way uninstalling the application doesn't force you to install the additional run-times.

0 Kudos
Message 6 of 7
(2,870 Views)

Hi 

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 7 of 7
(2,867 Views)