How to Silently Install Google Chrome MSI on Windows
In this article
Silently installing the Google Chrome MSI allows administrators and power users to deploy the browser across multiple machines without requiring manual interaction or user prompts. This process is primarily achieved using the Windows Installer (msiexec.exe) command-line tool with a specific switch that suppresses the installation wizard, making it ideal for group policy deployments, script-based automation, and remote management tools.
What You'll Need
- The Google Chrome Enterprise MSI installer package.
- Administrative privileges on the target Windows machine.
- Access to the Command Prompt (CMD) or PowerShell run as Administrator.
- A basic understanding of file paths in Windows.
Step-by-Step
- Download the Chrome Enterprise MSI: Navigate to the Google Chrome Enterprise download page. Do not use the standard consumer "ChromeSetup.exe" as it is a web installer and does not support MSI silent switches. Download the 64-bit or 32-bit MSI package depending on your system architecture.
- Place the Installer in a Known Directory: Move the downloaded
googlechrome.msifile to a simple directory path to avoid errors with spaces or long strings. For example, place it inC:\Installers\googlechrome.msi. - Open an Elevated Command Prompt: Click the Start menu, type "cmd", right-click on Command Prompt, and select "Run as administrator". This is critical because installing software to the Program Files directory requires system-level permissions.
- Execute the Silent Install Command: Type the following command and press Enter:
msiexec /i "C:\Installers\googlechrome.msi" /qn /norestart
Breakdown of the switches used:msiexec: The executable for the Windows Installer service./i: Tells the installer to perform an installation."C:\Installers\googlechrome.msi": The full path to the MSI file (quotes are used in case the path contains spaces)./qn: Sets the user interface level to "No UI". Theqstands for quiet, andnstands for no interface./norestart: Prevents the machine from automatically rebooting if the installer deems it necessary.
- Verify the Installation: Since the process is silent, you will not see a progress bar. Wait approximately 30 to 60 seconds, then check the Start menu for Google Chrome or navigate to
C:\Program Files\Google\Chrome\Applicationto ensure the executable exists.
Common Mistakes
- Using the .exe instead of .msi: The most frequent error is attempting to use
/qnwith the consumerChromeSetup.exe. The .exe installer uses different switches (usually/silentor/install) and behaves differently than the MSI. - Running without Administrator Rights: If the Command Prompt is not elevated, the installation will fail silently or trigger a UAC prompt that defeats the purpose of a silent install.
- Incorrect File Paths: Typing the filename without the full path or forgetting quotes around a path that contains spaces (e.g.,
C:\Users\My Name\Downloads) will result in a "This installation package could not be opened" error. - Confusing /qn with /qb: While
/qbprovides a basic progress bar without user interaction,/qnis the only way to achieve total silence.
Tips
- Logging for Audits: To keep a record of the installation or debug failures, add a logging switch to your command:
/L*V "C:\Installers\chrome_log.txt". This creates a verbose log of every action the installer took. - Deployment via GPO: If you are using Active Directory, you can assign the MSI via Group Policy Objects (GPO). In this case, the system handles the silent installation automatically during the boot process.
- Batch Scripting: If deploying to many machines, create a
.batfile containing the command. You can then trigger this batch file via a remote management tool like PDQ Deploy or SCCM. - Pre-configuring Settings: Use Chrome Enterprise Policy templates (ADMX) to pre-set the homepage, disable extensions, or force updates before the users even open the browser.
Troubleshooting
If Google Chrome does not appear after running the command, check the following:
- Check Task Manager: Look for
msiexec.exein the Processes tab. If it is running but nothing is happening, it may be waiting for a response from a previous installation that is hung. Kill the process and try again. - Review the Log File: If you used the
/L*Vswitch, open the text file and search for "Return Value 3". This is the standard MSI code for a fatal error and is usually followed by the specific reason for the failure. - Check for Existing Versions: If a corrupted version of Chrome is already installed, the MSI may fail. Try uninstalling the current version manually or using the
/xswitch with msiexec to remove it first. - Verify MSI Integrity: If the installer fails immediately, the MSI file may be corrupted. Re-download the package from the official Enterprise source.
Frequently Asked Questions
Can I silently uninstall Chrome using the MSI?
Yes. Use the command msiexec /x {ProductCode} /qn. You will need the specific Product Code (GUID) for the version of Chrome installed on the machine.
Does a silent install update an existing version of Chrome?
Yes, running the newer MSI version with the silent switches will upgrade the existing installation to the latest version without removing user data.
Will this install Chrome for all users or just the current user?
The MSI installer is designed for machine-wide installation. It installs the browser to the Program Files directory, making it available to every user who logs into the computer.
Is there a difference between /qn and /quiet?
In the context of msiexec, /qn is the standard switch for no UI. While some third-party installers use /quiet, Windows Installer specifically recognizes /q followed by the UI level (n for none, b for basic).
Can I use PowerShell instead of CMD?
Yes, but ensure you wrap the command correctly. In PowerShell, you may need to use Start-Process msiexec.exe -ArgumentList '/i "C:\path\to\chrome.msi" /qn /norestart' -Wait to ensure the script waits for the installation to finish.