Amazon EC2Launch Silent Install (How-To Guide)

Amazon EC2Launch is a service that performs tasks during instance startup and runs if an instance is stopped and later started, or restarted. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Amazon EC2Launch from the command line using the MSI installer.

How to Install Amazon EC2Launch Silently

Amazon EC2Launch Silent Install (MSI)

  1. Navigate to: https://s3.amazonaws.com/amazon-ec2launch-v2/windows/amd64/latest/AmazonEC2Launch.msi
  2. Download the AmazonEC2Launch.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 AmazonEC2Launch.msi /qn
  6. Press Enter

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

Software Title:Amazon EC2Launch
Vendor:Amazon Web Services
Architecture:x64
Installer Type:MSI
Silent Install Switch:MsiExec.exe /i AmazonEC2Launch.msi /qn
Silent Uninstall Switch:MsiExec.exe /x AmazonEC2Launch.msi /qn
Repair Command:MsiExec.exe /fa AmazonEC2Launch.msi /qn
Download Link:Amazon EC2Launch Download
PowerShell Script:Amazon EC2Launch | PowerShell Script
Detection Script:Amazon EC2Launch | 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 Amazon EC2Launch Installation Log File

The Amazon EC2Launch 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.

Amazon EC2Launch Silent Install (MSI) with Logging

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

Do Not Send Amazon EC2Launch Telemetry

MsiExec.exe /i AmazonEC2Launch.msi ADDLOCAL=Basic /qn

Apply Default Amazon EC2Launch Configuration

Overwrites the existing agent configuration with the default configuration. Enter one of the following commands.

MsiExec.exe /i AmazonEC2Launch.msi ADDLOCAL=ALL /qn
MsiExec.exe /i AmazonEC2Launch.msi ADDLOCAL=Basic,Clean,Telemetry /qn
MsiExec.exe /i AmazonEC2Launch.msi ADDLOCAL=Basic,Clean /qn

How to Uninstall Amazon EC2Launch Silently

Check out the following posts for a scripted solution:

Amazon EC2Launch Install and Uninstall (PowerShell)
Amazon EC2Launch Silent Uninstall (PowerShell)
  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter the following command:

Amazon EC2Launch Silent Uninistall (MSI)

MsiExec.exe /x AmazonEC2Launch.msi /qn

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