AutoHotkey Silent Install (How-To Guide)

AutoHotkey is a free, open-source custom scripting language for Microsoft Windows that allows users to automate repetitive tasks in any Windows application. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of AutoHotkey from the command line using the EXE installer.

How to Install AutoHotkey Silently

AutoHotkey Silent Install (EXE)

  1. Navigate to:
  2. Download the AutoHotkey_w.x.y.z_setup.exe 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: AutoHotkey_w.x.y.z_setup.exe /S
  6. Press Enter

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

Software Title:AutoHotkey
Installer Type:EXE
Silent Install Switch:AutoHotkey_w.x.y.z_setup.exe /S
Silent Uninstall Switch:"C:\Program Files\AutoHotkey\AutoHotkey.exe" "C:\Program Files\AutoHotkey\Installer.ahk" /Uninstall
Download Link:
PowerShell Script:

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

Additional Configurations

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 AutoHotkey to “C:\AutoHotkey”

AutoHotkey_w.x.y.z_setup.exe /S /D="C:\AutoHotkey"

How to Uninstall AutoHotkey Silently

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

Notepad++ Silent Install (How-To Gu...
Notepad++ Silent Install (How-To Guide)
  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter the following command:

AutoHotkey Silent Uninstall (EXE)

"C:\Program Files\AutoHotkey\AutoHotkey.exe" "C:\Program Files\AutoHotkey\Installer.ahk" /Uninstall

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