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)
- Navigate to: ILMerge.msi
- Download the MSI to a folder created at (C:\Downloads)
- 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 command:
Dism /online /Enable-Feature /FeatureName:"NetFx3"
- Press Enter
- Enter the following command:
MsiExec.exe /i ILMerge.msi /qn
- 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 |
Version: | 2.12.0803 |
Architecture: | x86 |
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
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- 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.