ImageGlass Silent Install (How-To Guide)

ImageGlass is an open-source image viewer for Windows, known for its lightweight and fast performance.
It supports various image formats, offers customization options, and provides a user-friendly interface for efficient image viewing. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of ImageGlass from the command line using the MSI installer.

How to Install ImageGlass Silently

ImageGlass 32-bit Silent Install (MSI)

  1. Navigate to: https://github.com/d2phap/ImageGlass/releases/latest
  2. Download the ImageGlass_Kobe_x.y.z_x86.msi 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:
MsiExec.exe /i ImageGlass_Kobe_x.y.z_x86.msi ALLUSERS=1 /qn

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

Software Title:ImageGlass
Vendor:Duong Dieu Phap
Architecture:x86
Installer Type:MSI
Silent Install Switch:MsiExec.exe /i ImageGlass_Kobe_x.y.z_x86.msi ALLUSERS=1 /qn
Silent Uninstall Switch:MsiExec.exe /x ImageGlass_Kobe_x.y.z_x86.msi /qn
Repair Command:MsiExec.exe /fa ImageGlass_Kobe_x.y.z_x86.msi /qn
Download Link:ImageGlass Download
PowerShell Script:ImageGlass | PowerShell Script
Detection Script:ImageGlass | Custom Detection Script

ImageGlass 64-bit Silent Install (MSI)

  1. Navigate to: https://github.com/d2phap/ImageGlass/releases/latest
  2. Download the ImageGlass_Kobe_x.y.z_x64.msi 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:
MsiExec.exe /i ImageGlass_Kobe_x.y.z_x64.msi ALLUSERS=1 /qn

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

Software Title:ImageGlass
Vendor:Duong Dieu Phap
Architecture:x64
Installer Type:MSI
Silent Install Switch:MsiExec.exe /i ImageGlass_Kobe_x.y.z_x64.msi ALLUSERS=1 /qn
Silent Uninstall Switch:MsiExec.exe /x ImageGlass_Kobe_x.y.z_x64.msi /qn
Repair Command:MsiExec.exe /fa ImageGlass_Kobe_x.y.z_x64.msi /qn
Download Link:ImageGlass Download
PowerShell Script:ImageGlass | PowerShell Script
Detection Script:ImageGlass | Custom 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 an ImageGlass Installation Log File

The ImageGlass 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.

ImageGlass 32-bit Silent Install (MSI) with Logging

MsiExec.exe /i ImageGlass_Kobe_x.y.z_x86.msi ALLUSERS=1 /qn /L*v "%WINDIR%\Temp\ImageGlassx86-Install.log"

ImageGlass 64-bit Silent Install (MSI) with Logging

MsiExec.exe /i ImageGlass_Kobe_x.y.z_x64.msi ALLUSERS=1 /qn /L*v "%WINDIR%\Temp\ImageGlassx64-Install.log"

Change the ImageGlass Default Installation Directory

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

MsiExec.exe /i ImageGlass_Kobe_x.y.z_x64.msi ALLUSERS=1 APPDIR="C:\ImageGlass" /qn

Customize ImageGlass Settings

  • Install ImageGlass
  • Launch ImageGlass and configure your preferred settings
  • Close ImageGlass
  • Copy the igconfig.xml file located in the “%AppData%\ImageGlass\” directory to “C:\Downloads”
  • Uninstall ImageGlass
  • Delete the “%AppData%\ImageGlass\” directory to test
  • Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  • Navigate to the C:\Downloads folder
  • Enter the following commands:
MsiExec.exe /i ImageGlass_Kobe_x.y.z_x64.msi ALLUSERS=1 /qn
xcopy /y ".\igconfig.xml" "%AppData%\ImageGlass\"

Specify the Default ImageGlass Settings at First Start

Specify the default settings to use if no other settings are available at first start.

  • Install ImageGlass
  • Launch ImageGlass and configure your preferred settings
  • Close ImageGlass
  • Copy the igconfig.xml file located in the “%AppData%\ImageGlass\” directory to “C:\Downloads”
  • Rename the igconfig.xml to igconfig.default.xml
  • Uninstall ImageGlass
  • Delete the “%AppData%\ImageGlass\” directory to test
  • Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  • Navigate to the C:\Downloads folder
  • Enter the following commands:
MsiExec.exe /i ImageGlass_Kobe_x.y.z_x64.msi ALLUSERS=1 /qn
xcopy /y ".\igconfig.default.xml" "%ProgramFiles%\ImageGlass\"

Override Previous or Existing ImageGlass Settings

  • Install ImageGlass
  • Launch ImageGlass and configure your preferred settings
  • Close ImageGlass
  • Copy the igconfig.xml file located in the “%AppData%\ImageGlass\” directory to “C:\Downloads”
  • Rename the igconfig.xml to igconfig.admin.xml
  • Uninstall ImageGlass
  • Delete the “%AppData%\ImageGlass\” directory to test
  • Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  • Navigate to the C:\Downloads folder
  • Enter the following commands:
MsiExec.exe /i ImageGlass_Kobe_x.y.z_x64.msi ALLUSERS=1 /qn
xcopy /y ".\igconfig.admin.xml" "%ProgramFiles%\ImageGlass\"

How to Uninstall ImageGlass Silently

Check out the following posts for a scripted solution:

ImageGlass Install and Uninstall (PowerShell)
ImageGlass 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:

ImageGlass 32-bit Silent Uninstall (MSI) on 32-bit System

MsiExec.exe /x ImageGlass_Kobe_x.y.z_x86.msi /qn

ImageGlass 32-bit Silent Uninstall (MSI) on 64-bit System

MsiExec.exe /x ImageGlass_Kobe_x.y.z_x64.msi /qn

ImageGlass Silent Uninstall (EXE) – Legacy Installer

"%ProgramFiles%\ImageGlass\unins000.exe" /VERYSILENT /NORESTART
"%ProgramFiles(x86)%\ImageGlass\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.