MySQL Workbench Silent Install (How-To Guide)


MySQL Workbench is a visual database design tool that integrates SQL development, administration, database design, creation and maintenance into a single integrated development environment for the MySQL database system. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of MySQL Workbench from the command line using the MSI installer.

How to Install MySQL Workbench Silently

MySQL Workbench Silent Install (MSI)

  1. Navigate to: https://dev.mysql.com/downloads/workbench/
  2. Under Other Downloads
  3. Download & Copy the mysql-workbench-community-x.y.z-winx64.msi to a folder created at (C:\Downloads)
  4. Navigate to: https://aka.ms/vs/16/release/vc_redist.x64.exe
  5. Download & Copy the VC_redist.x64.exe to a folder created at (C:\Downloads)
  6. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  7. Navigate to the C:\Downloads folder
  8. Enter the following commands:
VC_redist.x64.exe /install /quiet /norestart
MsiExec.exe /i mysql-workbench-community-x.y.z-winx64.msi ALLUSERS=1 /qn

After a few moments you should see the MySQL Workbench shortcut in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:MySQL Workbench
Vendor:Oracle Corporation
Architecture:x64
Installer Type:MSI
Silent Install Switch (Step 1)VC_redist.x64.exe /install /quiet /norestart
Silent Install Switch (Step 2)MsiExec.exe /i mysql-workbench-community-x.y.z-winx64.msi ALLUSERS=1 /qn
Silent Uninstall Switch:MsiExec.exe /x mysql-workbench-community-x.y.z-winx64.msi /qn
Repair Command:MsiExec.exe /fa mysql-workbench-community-x.y.z-winx64.msi /qn
Download Link:https://dev.mysql.com/downloads/workbench/
PowerShell Script:https://silentinstallhq.com/mysql-workbench-install-and-uninstall-powershell/

The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.


Additional Configurations

Create an Installation Log File

The MySQL Workbench MSI installer offers the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following commands to create a verbose log file with details about the installation.

Como Hacer CONSULTAS en MYSQL Workb...
Como Hacer CONSULTAS en MYSQL Workbench
MySQL Workbench Silent Install (MSI) with Logging

VC_redist.x64.exe /install /quiet /norestart /log "%WINDIR%\Temp\VC2015-2019x64.log"
MsiExec.exe /i mysql-workbench-community-x.y.z-winx64.msi ALLUSERS=1 /qn /L*v "%WINDIR%\Temp\MySQLWorkbench-Install.log"

Change Default Installation Directory

You can also change the default installation directory by using the following command line parameters. In this example, I’m installing MySQL Workbench to “C:\MySQL Workbench”

VC_redist.x64.exe /install /quiet /norestart
MsiExec.exe /i mysql-workbench-community-x.y.z-winx64.msi INSTALLDIR="C:\MySQL Workbench" ALLUSERS=1 /qn

How to Uninstall MySQL Workbench Silently

Check out the MySQL Workbench Install and Uninstall (PowerShell) post for a scripted solution.

  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter one of the following commands:
VersionMySQL Workbench Silent Uninstall String
8.0.30MsiExec.exe /x {C13035ED-BCB9-4824-A12D-269A7F8D182D} /qn
8.0.29MsiExec.exe /x {90789BBF-2DB7-4B1F-AD36-B850B683376C} /qn
8.0.28MsiExec.exe /x {825E2861-F5B4-4A5A-A3B4-6AA27EEBF499} /qn
8.0.27MsiExec.exe /x {A55178BF-1CFD-431B-AAFB-8871CDE0B839} /qn
8.0.26MsiExec.exe /x {7E665091-6EFA-496D-91BE-BF36D42A8E1E} /qn
8.0.25MsiExec.exe /x {06687940-C076-4E1C-BDF9-0707DCB3ED28} /qn
8.0.24MsiExec.exe /x {917D455D-1D79-4D9E-AF98-8D9B3D593522} /qn
8.0.23MsiExec.exe /x {FA00D64D-CBFE-4EB0-8F87-F92A025190EF} /qn
8.0.22MsiExec.exe /x {90AB709E-8C47-4765-B654-5005B3739938} /qn
8.0.21MsiExec.exe /x {03F63D22-E5CA-47A4-9F02-2DDFA25EE54B} /qn
8.0.20MsiExec.exe /x {F52124A9-E27F-4E6A-940E-1623C2042FF5} /qn
8.0.19MsiExec.exe /x {14722904-CD71-4444-93F6-DBBC58E86CDA} /qn
8.0.18MsiExec.exe /x {6129E3AD-632C-4574-8575-653D9B4FF7C8} /qn
8.0.17MsiExec.exe /x {35D210B9-D26B-47D3-9147-C7017466AE1A} /qn
8.0.16MsiExec.exe /x {C806C745-44EB-4934-8531-7A38D4C75E62} /qn
8.0.15MsiExec.exe /x {000FC0A3-2BDE-4025-B2D6-DE49E976E045} /qn
8.0.14MsiExec.exe /x {096A0B19-97AF-4DE4-8692-B9BF86A451B7} /qn
8.0.13MsiExec.exe /x {3B1F62A9-98B7-4F2A-8D3E-54FCF192EEAB} /qn
8.0.12MsiExec.exe /x {3D4D54C3-6D4E-435F-8894-2125D900822C} /qn
8.0.11MsiExec.exe /x {9C32806F-74F6-4D48-B922-689CA8205785} /qn
6.3.10MsiExec.exe /x {E90FE565-E4A2-49E7-94D9-5B8025C972A1} /qn

Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.

Recent Posts