LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Run executable at end of installation : Another installer is already running

Solved!
Go to solution

Hi,

 

I'm building an installer for my LabView application and I want it to run multiple drivers installers (.exe) through a batch file called at the end of installation.

 

Everything is working great except that when the .bat file is called I get this error popup from NI package manager (translated from French) :

 

Another installation, uninstallation or deployment session, or the NI Update Service is running. End the current session and try again.

 

The thing is the first driver installer the bat file calls is a NI driver (IVI Compliance Package) because nexts drivers require it. 

And if I run the .bat outside the installer it works fine so I think the problem comes from I try to install a NI driver during the installation of NI app, but it's still weird because we can think that the .bat is supposed to be launched after closing the installer of the NI app.

 

I even tried to add a timer before the installation of the first driver (NI), thinking that it was maybe a matter of time that the first installer quit completely but it did not work.

 

If anyone has any idea why, or how I could get around this problem?

 

Thanks !

0 Kudos
Message 1 of 3
(1,345 Views)
Solution
Accepted by topic author OctaveL

There is a method to create the needed NI installers within the application installer itself rather than calling a .bat file. Can you just use that method?

Message 2 of 3
(1,317 Views)

You're right I didn't even think about it because I'm getting back a project that was done like this, but it's obviously the solution.

0 Kudos
Message 3 of 3
(1,279 Views)