HeidiSQL Silent Install (How-To Guide)


HeidiSQL is a free and open-source administration tool for MySQL and its forks, as well as Microsoft SQL Server, PostgreSQL and SQLite. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of HeidiSQL from the command line using the EXE installer.

How to Install HeidiSQL Silently

HeidiSQL 11.0 Silent Install (EXE)

  1. Download the HeidiSQL 11.0 (32-bit/64-bit) Installer
  2. Download the file to a folder created at (C:\Downloads)
  3. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  4. Navigate to the C:\Downloads folder
  5. Enter the following command:
    • HeidiSQL_11.0.0.5919_Setup.exe /VERYSILENT /NORESTART
  6. Press Enter

After a few moments you should see the HeidiSQL Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:HeidiSQL
Vendor:Ansgar Becker
Version:11.0
Architecture:x86_X64
Installer Type:EXE
Silent Install Switch:HeidiSQL_11.0.0.5919_Setup.exe /VERYSILENT /NORESTART
Silent Uninstall Switch:"%ProgramFiles%\HeidiSQL\unins000.exe" /VERYSILENT /NORESTART
Download Link:https://www.heidisql.com/installers/HeidiSQL_11.0.0.5919_Setup.exe

HeidiSQL 10.3 Silent Install (EXE)

  1. Download the HeidiSQL 10.3 (32-bit/64-bit) Installer
  2. Download the file to a folder created at (C:\Downloads)
  3. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  4. Navigate to the C:\Downloads folder
  5. Enter the following command:
    • HeidiSQL_10.3.0.5771_Setup.exe /VERYSILENT /NORESTART
  6. Press Enter

After a few moments you should see the HeidiSQL Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:HeidiSQL
Vendor:Ansgar Becker
Version:10.3
Architecture:x86_X64
Installer Type:EXE
Silent Install Switch:HeidiSQL_10.3.0.5771_Setup.exe /VERYSILENT /NORESTART
Silent Uninstall Switch:"%ProgramFiles%\HeidiSQL\unins000.exe" /VERYSILENT /NORESTART
Download Link:https://www.heidisql.com/installers/HeidiSQL_10.3.0.5771_Setup.exe

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 HeidiSQL 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.

HeidiSQL 11.0 Silent Install w/ Logging

HeidiSQL_11.0.0.5919_Setup.exe /VERYSILENT /NORESTART /LOG="%WINDIR%\Temp\HeidiSQL11-Install.log"

HeidiSQL 10.3 Silent Install w/ Logging

HeidiSQL_10.3.0.5771_Setup.exe /VERYSILENT /NORESTART /LOG="%WINDIR%\Temp\HeidiSQL10-Install.log"

Change Default Installation Directory

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

HeidiSQL 11.0

HeidiSQL_11.0.0.5919_Setup.exe /DIR=C:\HeidiSQL /VERYSILENT /NORESTART

HeidiSQL 10.3

HeidiSQL_10.3.0.5771_Setup.exe /DIR=C:\HeidiSQL /VERYSILENT /NORESTART

Exclude Desktop Shortcut During Install

The HeidiSQL installer creates a desktop shortcut by default. If you don’t want the desktop shortcut, then you can run one the following command line switches to exclude it.

HeidiSQL 11.0 Silent Install w/ No Desktop Shortcut

HeidiSQL_11.0.0.5919_Setup.exe /VERYSILENT /NORESTART /MERGETASKS=!desktopicon

HeidiSQL 10.3 Silent Install w/ No Desktop Shortcut

HeidiSQL_10.3.0.5771_Setup.exe /VERYSILENT /NORESTART /MERGETASKS=!desktopicon

Disable Update Checks

HeidiSQL 11.0 Silent Install Disable Update Checks

HeidiSQL_11.0.0.5919_Setup.exe /VERYSILENT /NORESTART /MERGETASKS=!activate_updatechecks
  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter the following command & press Enter:
    • Note: This is a Per User Setting
REG ADD "HKCU\SOFTWARE\HeidiSQL" /v Updatecheck /t REG_DWORD /d 0 /f

Disable Usage Statistics

HeidiSQL 11.0 Silent Install Disable Usage Statistics

HeidiSQL_11.0.0.5919_Setup.exe /VERYSILENT /NORESTART /MERGETASKS=!activate_statistics
  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter the following command & press Enter:
    • Note: This is a Per User Setting
REG ADD "HKCU\SOFTWARE\HeidiSQL" /v DoUsageStatistics /t REG_DWORD /d 0 /f

How to Uninstall HeidiSQL Silently

  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter the following command:

HeidiSQL Silent Uninstall (EXE)

"%ProgramFiles%\HeidiSQL\unins000.exe" /VERYSILENT /NORESTART

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