Microsoft Silverlight is an application framework for writing and running rich Internet applications. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Microsoft Silverlight from the command line using the EXE installer.
How to Install Silverlight Silently
Silverlight Silent Install 32-bit (EXE)
- Download the Silverlight 32-bit Installer
- Download the file 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: Silverlight.exe /q
- Press Enter
After a minute or so you should see the Microsoft Silverlight shortcut in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | Microsoft Silverlight (32-bit) |
Vendor: | Microsoft Corporation |
Version: | 5.1.50918.0 |
Architecture: | x86 |
Installer Type: | EXE |
Silent Install Switch: | Silverlight.exe /q |
Silent Uninstall Switch: | Silverlight.exe /qu |
Download Link: | https://go.microsoft.com/fwlink/?LinkId=229320 |
PowerShell Script: | https://silentinstallhq.com/microsoft-silverlight-install-and-uninstall-powershell/ |
Silverlight Silent Install 64-bit (EXE)
- Download the Silverlight 64-bit Installer
- Download the file 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: Silverlight_x64.exe /q
- Press Enter
After a minute or so you should see the Microsoft Silverlight shortcut in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | Microsoft Silverlight (64-bit) |
Vendor: | Microsoft Corporation |
Version: | 5.1.50918.0 |
Architecture: | x64 |
Installer Type: | EXE |
Silent Install Switch: | Silverlight_x64.exe /q |
Silent Uninstall Switch: | Silverlight_x64.exe /qu |
Download Link: | https://go.microsoft.com/fwlink/?LinkID=229321 |
PowerShell Script: | https://silentinstallhq.com/microsoft-silverlight-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
Turn Off DRM Playback Prompt
By default, DRM Playback is set to prompt on first use. This command line switch turns off the first use prompt allowing DRM Playback without requiring any end-user intervention.
Silverlight (32-bit) Silent Install with DRM Prompt Turned Off
Silverlight.exe /q /doNotRequireDRMPrompt |
Silverlight (64-bit) Silent Install with DRM Prompt Turned Off
Silverlight_x64.exe /q /doNotRequireDRMPrompt |
Ignore Warnings During Silent Install
This command line switch will ensure that non-fatal warnings will not be reflected in the quiet installer return code.
Silverlight (32-bit) Silent Install with Ignore Warnings Enabled
Silverlight.exe /q /ignorewarnings |
Silverlight (64-bit) Silent Install with Ignore Warnings Enabled
Silverlight_x64.exe /q /ignorewarnings |
Disable Auto Update
Silverlight (32-bit) Silent Install with Auto Updates Disabled
Silverlight.exe /q /noupdate |
REG ADD "HKLM\SOFTWARE\Microsoft\Silverlight" /v UpdateConsentMode /t REG_DWORD /d 0 /f |
REG ADD "HKLM\SOFTWARE\Microsoft\Silverlight" /v UpdateMode /t REG_DWORD /d 2 /f |
REG ADD "HKCU\Software\Microsoft\Silverlight" /v UpdateMode /t REG_DWORD /d 2 /f |
Silverlight (64-bit) Silent Install with Auto Updates Disabled
Silverlight_x64.exe /q /noupdate |
REG ADD "HKLM\SOFTWARE\Microsoft\Silverlight" /v UpdateConsentMode /t REG_DWORD /d 0 /f |
REG ADD "HKLM\SOFTWARE\Microsoft\Silverlight" /v UpdateMode /t REG_DWORD /d 2 /f |
REG ADD "HKLM\SOFTWARE\Wow6432Node\Microsoft\Silverlight" /v UpdateConsentMode /t REG_DWORD /d 0 /f |
REG ADD "HKLM\SOFTWARE\Wow6432Node\Microsoft\Silverlight" /v UpdateMode /t REG_DWORD /d 2 /f |
REG ADD "HKCU\Software\Microsoft\Silverlight" /v UpdateMode /t REG_DWORD /d 2 /f |
How to Uninstall Silverlight Silently
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Enter one of the following commands:
Silverlight (32-bit) Silent Uninstall
Silverlight.exe /qu |
Silverlight (64-bit) Silent Uninstall
Silverlight_x64.exe /qu |
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.