Ghostscript Silent Install (How-To Guide)


Ghostscript is a Page Description Language (PDL) Interpreter and industry leader in PDF, PostScript, PCL, and XPS rendering and conversion. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Ghostscript from the command line using the EXE installer.

How to Install Ghostscript Silently

Ghostscript (32-bit) Silent Install (EXE)

  1. Navigate to: https://www.ghostscript.com/download/gsdnld.html
  2. Download the gs0000w32.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: gs0000w32.exe /S
  6. Press Enter

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

Software Title:GPL Ghostscript
Vendor:Artifex Software Inc.
Architecture:x86
Installer Type:EXE
Silent Install Switch:gs0000w32.exe /S
Silent Uninstall Switch (32-bit System)"%ProgramFiles%\gs\gsx.y.z\uninstgs.exe" /S
Silent Uninstall Switch (64-bit System)"%ProgramFiles(x86)%\gs\gsx.y.z\uninstgs.exe" /S
Download Link:https://www.ghostscript.com/download/gsdnld.html
PowerShell Script:https://silentinstallhq.com/ghostscript-install-and-uninstall-powershell/

Ghostscript (64-bit) Silent Install (EXE)

  1. Navigate to: https://www.ghostscript.com/download/gsdnld.html
  2. Download the gs0000w64.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: gs0000w64.exe /S
  6. Press Enter

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

Software Title:GPL Ghostscript
Vendor:Artifex Software Inc.
Architecture:x64
Installer Type:EXE
Silent Install Switch:gs0000w64.exe /S
Silent Uninstall Switch:"%ProgramFiles%\gs\gsx.y.z\uninstgs.exe" /S
Download Link:https://www.ghostscript.com/download/gsdnld.html
PowerShell Script:https://silentinstallhq.com/ghostscript-install-and-uninstall-powershell/

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

Ghostscript (32-bit)

gs0000w32.exe /S /D=C:\Ghostscript

Ghostscript (64-bit)

gs0000w64.exe /S /D=C:\Ghostscript

How to Uninstall Ghostscript Silently

Check out the Ghostscript 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:

Ghostscript 32-bit Silent Uninstall (EXE) on 32-bit System

"%ProgramFiles%\gs\gsx.y.z\uninstgs.exe" /S

Ghostscript 32-bit Silent Uninstall (EXE) on 64-bit System

"%ProgramFiles(x86)%\gs\gsx.y.z\uninstgs.exe" /S

Ghostscript 64-bit Silent Uninstall (EXE) on 64-bit System

"%ProgramFiles%\gs\gsx.y.z\uninstgs.exe" /S

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