08-19-2013 12:18 PM
Hello!
I've created an Installer of my Labview application. I want that, after the installation, install a driver (another .exe file).
I've activated the option "Run executable at end of installation" on the Advanced Properties of the Installer (see attached picture) but when the Installer finish to install my application and try to install the driver it appears an error that says: "Another installer or unistaller is running. Finish that installer or uninstaller and try again". However, the installation of my application finishes well.
Do you know a solution or other way to install a second .exe?
Thank you!
08-19-2013 02:38 PM
If they're both LV programs, just create 2 exe-builders in the project and install them both in the installer.
/Y
08-19-2013 03:06 PM
Thanks for the answer but, one of them is a LV program but the other one is a setup.exe downloaded from internet which I would want to include in the installer.
What could I do?
08-19-2013 03:18 PM
Add the EXE to your project. Then under the build epecification of the EXE add it to the Always Include section. Then make the installer using the previous build. It will now bring along the LabVIEW EXE you made, and the one you specified in the support folder. If you want this EXE to be ran during the install this can be selected in the installer build specifications.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
08-19-2013 05:19 PM
I've done what you say but I'm unable to find in the installer build specification how to select the setup.exe so that it can be run during the install.
I've attached a picture if you want to see my project files tree and where are the two exe's.
Thanks for the support.
08-19-2013 08:39 PM
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
08-20-2013 06:51 AM - edited 08-20-2013 06:53 AM
It's what I do (as I tell on the first post) but when the Installer finishes to install my application (Install finish.png) and it try to install the setup.exe (Install error.png), appears an error that says: "Another installer or unistaller is running. Finish that installer or uninstaller and try again".
Any ideas?
08-20-2013 08:02 AM
@damos wrote:
It's what I do (as I tell on the first post) but when the Installer finishes to install my application (Install finish.png) and it try to install the setup.exe (Install error.png), appears an error that says: "Another installer or unistaller is running. Finish that installer or uninstaller and try again".
Any ideas?
I'm so sorry that I didn't read your first post more closely. The error you are getting is likely because only one instance of an NI installer can be running at the same time. One installer can't cause another to be installed.
One suggestion I do have is you can create your own installer, not including the second installer. Then make a Inno Setup installer, that installs each of them one at a time, and you can use slilent switches so the user only has to tell it to install once. Inno Setup installers aren't complicated but to make it a little easier I use ISTool which makes life a little easier with a GUI.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
09-02-2013 07:23 AM
Thanks. I'll try this.