Lazarus Silent Install (How-To Guide)


Lazarus is a free cross-platform visual integrated development environment (IDE) for rapid application development using the Free Pascal compiler. It supports the creation of self-standing graphical and console applications. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Lazarus from the command line using the EXE installer.

How to Install Lazarus Silently

Lazarus 32-bit Silent Install (EXE)

  1. Navigate to: https://www.lazarus-ide.org/index.php?page=downloads
  2. Select the 32-bit Download
  3. Download the lazarus-x.y.z-win32.exe to a folder created at (C:\Downloads)
  4. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  5. Navigate to the C:\Downloads folder
  6. Enter the following command: lazarus-x.y.z-win32.exe /VERYSILENT /NORESTART
  7. Press Enter

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

Software Title:Lazarus (32-bit)
Vendor:Lazarus Team
Architecture:x86
Installer Type:EXE
Silent Install Switch:lazarus-x.y.z-win32.exe /VERYSILENT /NORESTART
Silent Uninstall Switch:"C:\lazarus\unins000.exe" /VERYSILENT /NORESTART
Download Link:https://www.lazarus-ide.org/index.php?page=downloads

Lazarus 64-bit Silent Install (EXE)

  1. Navigate to: https://www.lazarus-ide.org/index.php?page=downloads
  2. Select the 64-bit Download
  3. Download the lazarus-x.y.z-win64.exe to a folder created at (C:\Downloads)
  4. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  5. Navigate to the C:\Downloads folder
  6. Enter the following command: lazarus-x.y.z-win64.exe /VERYSILENT /NORESTART
  7. Press Enter

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

Software Title:Lazarus (64-bit)
Vendor:Lazarus Team
Architecture:x64
Installer Type:EXE
Silent Install Switch:lazarus-x.y.z-win64.exe /VERYSILENT /NORESTART
Silent Uninstall Switch:"C:\lazarus\unins000.exe" /VERYSILENT /NORESTART
Download Link:https://www.lazarus-ide.org/index.php?page=downloads

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

Lazarus 32-bit Silent Install (EXE) with Logging

lazarus-x.y.z-win32.exe /VERYSILENT /NORESTART /LOG="%WINDIR%\Temp\Lazarus32-Install.log"

Lazarus 64-bit Silent Install (EXE) with Logging

lazarus-x.y.z-win64.exe /VERYSILENT /NORESTART /LOG="%WINDIR%\Temp\Lazarus64-Install.log"

How to Uninstall Lazarus Silently

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

Lazarus Silent Uninstall (EXE)

"C:\lazarus\unins000.exe" /VERYSILENT /NORESTART

Lazarus Silent Uninstall (EXE) with Logging

"C:\lazarus\unins000.exe" /VERYSILENT /NORESTART /LOG="%WINDIR%\Temp\Lazarus-Uninstall.log"

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