Microsoft Excel 2019 is a spreadsheet application that features calculation, graphing tools, pivot tables, and a macro programming language called Visual Basic for Applications. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Microsoft Excel 2019 from the command line using the EXE installer.
How to Install Microsoft Excel 2019 Silently
Microsoft Excel 2019 Silent Install (EXE)
- Download the Office 2019 Deployment Tool:
- Download the officedeploymenttool_x-y.exe 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 to extract the ODT files:
- officedeploymenttool_x-y.exe /extract:C:\Downloads\Excel2019
- Press Enter
- Select the checkbox to accept the Microsoft Software License Terms
- Click Continue
- Navigate to C:\Downloads\Excel2019
- Delete the 3 existing .xml files as we will be creating our own
- configuration-Office365-x64.xml
- configuration-Office365-x86.xml
- configuration-Office2019Enterprise.xml
- Navigate to https://config.office.com/deploymentsettings to Configure XML File
- Select the Architecture you want to deploy
- 32-bit or
- 64-bit
- Select Products and Apps you want to deploy
- Office Suites
- Office Professional Plus 2019 – Volume License or
- Office Standard 2019 – Volume License
- Visio
- None
- Project
- None
- Additional Products
- None
- Language Pack
- Update Channel
- Office 2019 Perpetual Enterprise
- Select Version
- Latest
- LTSB2018
- Turn Apps On or Off to include or exclude them from being deployed
- Access (Off)
- Excel (On)
- OneDrive (Groove) (Off)
- Skype for Business (Off)
- OneDrive Desktop (Off)
- OneNote (Off)
- Outlook (Off)
- PowerPoint (Off)
- Publisher (Off)
- Word (Off)
- Office Suites
- Click Next
- Select Primary Language
- Match Operating System
- Arabic (Saudi Arabia)
- Bulgarian (Bulgaria)
- Chinese (Simplified, China)
- Chinese (Traditional, Taiwan)
- Croatian (Croatia)
- Czech (Czech Republic)
- Danish (Denmark)
- Dutch (Netherlands)
- English (United States)
- Estonian (Estonia)
- Finnish (Finland)
- French (France)
- German (Germany)
- Greek (Greece)
- Hebrew (Israel)
- Hindi (India)
- Hungarian (Hungary)
- Indonesian (Indonesia)
- Italian (Italy)
- Japanese (Japan)
- Kazakh (Kazakhstan)
- Korean (Korea)
- Latvian (Latvia)
- Lithuanian (Lithuania)
- Malay (Malaysia)
- Norwegian Bokmal (Norway)
- Polish (Poland)
- Portuguese (Brazil)
- Portuguese (Portugal)
- Romanian (Romania)
- Russian (Russia)
- Serbian (Latin, Serbia)
- Slovak (Slovakia)
- Slovenian (Slovenia)
- Spanish (Spain, International Sort)
- Swedish (Sweden)
- Thai (Thailand)
- Turkish (Turkey)
- Ukrainian (Ukraine)
- Vietnamese (Vietnam)
- Select Additional Languages (If Any)
- Select Additional Proofing Tools (If Any)
- Select Primary Language
- Click Next
- Installation Options
- Office Content Delivery Network (CDN)
- Local Source
- Microsoft Endpoint Configuration Manager
- Show Installation to User (Off)
- Shut down running applications (On)
- Installation Options
- Click Next
- Update and Upgrade Options
- Automatically check for updates (On|Off)
- Uninstall any MSI versions of Office, including Visio and Project (Off)
- Uninstall Visio (Off)
- Uninstall Project (Off)
- Uninstall SharePoint Designer (Off)
- Uninstall InfoPath (Off)
- For uninstalled MSI versions of Office, install the same languages (Off)
- Automatically upgrade to the selected architecture (On|Off)
- Update and Upgrade Options
- Click Next
- Licensing and Activation
- Automatically accept the EULA (On)
- Product Key
- KMS Client Key
- Multiple Activation Key (MAK)
- Product Activation
- User Based
- Shared Computer
- Device Based
- General Info
- Provide your organization name to set the Company property on Office documents
- Provide a description for this configuration for documentation purposes
- Licensing and Activation
- Click Next
- Application Preferences (Examples)
- Disable First Run Movie (True)
- Disable Office First Run on Application Boot (True)
- Disable Opt-in Wizard on First Run (True)
- Enable Customer Experience Improvement Program (False)
- Automatically Receive Small Updates to Improve Reliability (False)
- Send Office Feedback (False)
- Turn on Telemetry Data Collection (False)
- Application Preferences (Examples)
- Click Finish
- Click Export Button
- Select Default File Format Option
- Keep Current Option
- Office Open XML Formats
- OpenDocument Formats
- Select Default File Format Option
- Click OK
- Accept the terms in the license agreement on the Export Configuration to XML screen
- Set the File Name to Excel2019
- Click Export
- Copy the Excel2019.xml file to C:\Downloads\Excel2019
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads\Excel2019 folder
- Run the following command to download the installation files:
- setup.exe /download Excel2019.xml
Note: The download can take several minutes to complete so please be patient. You can monitor the download progress by checking out the log file in the %LocalAppData%\Temp directory.
Once the download has completed, you are finally ready to install Microsoft Excel 2019.
- Run the following command: setup.exe /configure Excel2019.xml
After several minutes you will find Microsoft Excel 2019 entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | Microsoft Excel 2019 |
Vendor: | Microsoft Corporation |
Architecture: | x86_x64 |
Installer Type: | EXE |
Silent Install Switch: | setup.exe /configure Excel2019.xml |
Silent Uninstall Switch: | setup.exe /configure Excel2019_Uninstall.xml |
Download Link: | https://www.microsoft.com/en-us/download/details.aspx?id=49117 |
PowerShell Script: | https://silentinstallhq.com/microsoft-excel-2019-install-and-uninstall-powershell/ |
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.
How to Uninstall Microsoft Excel 2019 Silently
Check out the Microsoft Excel 2019 Install and Uninstall (PowerShell) post for a scripted solution.
Note: This uninstall will remove all standard Office 2019 components since there is currently not a good way to selectively remove individual Office 2019 components using the command line.
- Open Notepad or your favorite text editor
- Add the following lines:
<Configuration>
<Display Level="None" AcceptEULA="TRUE" />
<Property Name="FORCEAPPSHUTDOWN" Value="TRUE" />
<Remove>
<Product ID="ProPlus2019Volume">
</Product>
<Product ID="Standard2019Volume">
</Product>
</Remove>
</Configuration>
- Save the file to C:\Downloads\Excel2019 and name it: Excel2019_Uninstall.xml
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to C:\Downloads\Excel2019
- Enter the following command:
Microsoft Excel 2019 Silent Uninstall (EXE)
setup.exe /configure Excel2019_Uninstall.xml |
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.