LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to deploy MySQL Workbench into installer

I have a customer to whom I want to deploy a LabVIEW exe and MySQL Workbench (so that they can view their results).  I would like to have both in the same installer.

 

I recently did something similar by adding an exe to the end of the installer, however, it is not possible to include a .msi file as part of a deployment installer.

 

I thought of putting together a batch file but when MySQL Workbench is included in the installer, it gets split up and it is no longer obvious how to launch it.  Is their a way to include a .msi program as part of a deployment installer and then launch it during the install?

 

Thanks,

Seán

0 Kudos
Message 1 of 2
(2,729 Views)

Hi SeanJ,

You can include 3rd party installers in the LabVIEW installer following the next steps. For .msi installers, you will have to create a batch file first in order to run the .msi installer.
Add the executable (.exe, .bat) for the installer into the LabVIEW project by right-clicking in My Computer. I suggest adding the whole folder containing the installer just to make sure you included all the required files for setup.

When you build the application, add these files into the "Always Included" section in the Source Files category.

When you build the installer, the files should be included when you add the application in the Source Files page.
In the Advanced tab in the installer, click on the "Run executable at end of installation" box and select the 3rd party installer from the Source Files options.

Please a take a look at these articles for information on how to set a batch file and running executables after installation.

Creating a Batch File
http://digital.ni.com/public.nsf/websearch/B2640E34C4654F7B86256D07006D843D

How Do I Make My LabVIEW-Built Installer Run an Executable After Installation?
http://digital.ni.com/public.nsf/websearch/9564f80c4debc4508625656900661050

Running a Batch File Automatically After an Installation to Access Installer Files
http://digital.ni.com/public.nsf/allkb/99632C017ABD96C286256DDE006121C9?OpenDocument

 

Please let me know if you have further questions. 

Kind regards,

Robert P-F
Applications Engineer
National Instruments
Message 2 of 2
(2,677 Views)