mssm1996
Posts: 1
Joined: Sun May 26, 2019 9:35 pm

Add MySQL to Path Variables

Hi there,

I'm new in advanced installer and i want to use it to make an .exe file for a java desktop application.
My Java App need MySQL 5.7 to run.

I've added MySQL 5.7 installer as a prerequisites but MySQL 5.7 installer doesn't have an option to add MySQL /bin directory to OS path variable.
How can i proceede to install mysql 5.7 and have its bin directory in the path variable ?

Thanks in advance.
Catalin
Posts: 6592
Joined: Wed Jun 13, 2018 7:49 am

Re: Add MySQL to Path Variables

Hello and welcome to Advanced Installer forums,

In order to achieve this, you can use our predefined support for creating/modifying environment variables. All these changes can be performed from the "Environment" page (which can be found under the "System Changes" section from the left pane).

After clicking on it, you can either press the "New Variable" button from the toolbar or right click --> "New Variable".

After doing so, you can configure it as it follows:
EV.PNG
EV.PNG (9.72 KiB) Viewed 1537 times
Depending on where you want your value added, you can either check or not check the "System variable" checkbox. That option refers to this:
USERSYSTEM.PNG
USERSYSTEM.PNG (24.88 KiB) Viewed 1537 times
Hope this helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”