Including the MySQL Connector ODBC Prerequisite

InstallShield 2016

Project • This information applies to the following project types:

Basic MSI
InstallScript
InstallScript MSI

You can include in your installation an InstallShield prerequisite that installs MySQL Connector/ODBC 3.51. It enables end users to connect to a MySQL database server that uses ODBC. Before you can add this InstallShield prerequisite to your projects, you must download the MySQL Connector/ODBC driver and configure the InstallShield prerequisite on your system.

To add the MySQL Connector ODBC 3.51 prerequisite to your system so that you can add it to your projects:

1. Open Windows Explorer and browse for the InstallShield prerequisite template folder. The default location is:

C:\Program Files\InstallShield\2016\SetupPrerequisites\Templates

2. Copy the MySQL Connector ODBC 3.51.prq file that is in the Templates folder, and paste it in the InstallShield prerequisite folder. The default location is:

C:\Program Files\InstallShield\2016\SetupPrerequisites

3. Visit http://dev.mysql.com/downloads/connector/odbc/3.51.html and download the MSI installer for the MySQL Connector/ODBC 3.51 driver for Windows.
4. Save the file in the following location:

InstallShield Program Files Folder\Objects\MySQL\Redist

The next time that you launch InstallShield, the MySQL Connector ODBC prerequisite is available in the Redistributables view.

If you want to change the location on your machine where you store the installer for the MySQL Connector/ODBC 3.51 driver, you can do so by opening the MySQL Connector ODBC 3.51.prq file in the InstallShield Prerequisite Editor and modifying the settings. To open the InstallShield Prerequisite Editor, click Prerequisite Editor on the Tools menu. For more information, see Specifying Files for an InstallShield Prerequisite.

See Also