Thonny Silent Install (How-To Guide)

Thonny is an integrated development environment for Python that is designed for beginners. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Thonny from the command line using the EXE installer.

How to Install Thonny Silently

Thonny Silent Install (EXE)

  1. Navigate to:
  2. Download the thonny-x.y.z.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: thonny-x.y.z.exe /VERYSILENT /NORESTART /ALLUSERS
  6. Press Enter

After a few moments you will find Thonny entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:Thonny
Vendor:Aivar Annamaa
Installer Type:EXE
Silent Install Switch:thonny-x.y.z.exe /VERYSILENT /NORESTART /ALLUSERS
Silent Uninstall Switch (32-bit System)"%ProgramFiles%\Thonny\unins000.exe" /VERYSILENT /NORESTART
Silent Uninstall Switch (64-bit System)"%ProgramFiles(x86)%\Thonny\unins000.exe" /VERYSILENT /NORESTART
Download Link:
PowerShell Script:
Detection Script:

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 a Thonny Installation Log File

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

Thonny Silent Install (EXE) with Logging

thonny-x.y.z.exe /VERYSILENT /NORESTART /ALLUSERS /LOG="%WINDIR%\Temp\Thonny-Install.log"

Change the Thonny Default Installation Directory

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

thonny-x.y.z.exe /DIR="C:\Thonny" /VERYSILENT /NORESTART /ALLUSERS

Include the Thonny Desktop Shortcut During Install

The Thonny installer does NOT create a desktop shortcut by default. If you want the desktop shortcut, then you can run the following command line switches to include it.

Thonny Silent Install (EXE) with Desktop Shortcut

thonny-x.y.z.exe /VERYSILENT /NORESTART /ALLUSERS /MERGETASKS=createdesktopicon

How to Uninstall Thonny Silently

Check out the following posts for a scripted solution:

Thonny Install and Uninstall (PowerShell)
Thonny Silent Uninstall (PowerShell)
  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter one of the following commands:

Thonny Silent Uninstall (EXE) on 32-bit System

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

Thonny Silent Uninstall (EXE) on 64-bit System

"%ProgramFiles(x86)%\Thonny\unins000.exe" /VERYSILENT /NORESTART

Thonny Silent Uninstall (EXE) – User Profile

"%LocalAppData%\Programs\Thonny\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