ILMerge Silent Install (How-To Guide)

ILMerge is a utility for merging multiple .NET assemblies into a single .NET assembly. It works on executables and DLLs alike and comes with several options for controlling the processing and format of the output. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of ILMerge from the command line using the MSI installer.

How to Install ILMerge Silently

ILMerge Silent Install (MSI)

  1. Navigate to: ILMerge.msi
  2. Download the 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: 
    • Dism /online /Enable-Feature /FeatureName:"NetFx3"
  6. Press Enter
  7. Enter the following command: MsiExec.exe /i ILMerge.msi /qn
  8. Press Enter

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

Software Title:ILMerge
Vendor:Microsoft Corporation
Installer Type:MSI
Silent Install Switch (Step 1)Dism /online /Enable-Feature /FeatureName:"NetFx3"
Silent Install Switch (Step 2)MsiExec.exe /i ILMerge.msi /qn
Silent Uninstall Switch:MsiExec.exe /x {B7B9AF9F-408C-4168-985B-9861055B58C5} /qn
Repair Command:MsiExec.exe /fa {B7B9AF9F-408C-4168-985B-9861055B58C5} /qn
Download Link:ILMerge.msi

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

ILMerge Silent Install (MSI) with Logging

MsiExec.exe /i ILMerge.msi /qn /L*v "%WINDIR%\Temp\ILMerge-Install.log"

How to Uninstall ILMerge 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:

ILMerge Silent Uninstall (MSI)

MsiExec.exe /x {B7B9AF9F-408C-4168-985B-9861055B58C5} /qn

ILMerge Silent Uninstall (MSI) with Logging

MsiExec.exe /x {B7B9AF9F-408C-4168-985B-9861055B58C5} /qn /L*v "%WINDIR%\Temp\ILMerge-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.

Jason Bergner

I am an accomplished Software Engineer at Patch My PC, leveraging more than 18 years of hands-on experience in Configuration Manager administration and application packaging. I am driven by a genuine passion for solving complex problems and consistently strive to discover innovative and effective solutions. Sharing my extensive knowledge of application deployments is a true joy for me, and I am honored to contribute to the community here at Silent Install HQ.

Recent Posts