Download the Office Deployment Tool:
- Go to the Microsoft Office Deployment Tool page.
- Click Download to download the
setup.exe
file. - Save the file to a folder on your computer (e.g.,
C:\OfficeInstaller
).
Create a Configuration File:
- Open Notepad and create a configuration file named
configuration.xml
(or any name you prefer with a.xml
extension). - Copy and paste the following configuration into the file and save it in the same folder as the
setup.exe
(e.g.,C:\OfficeInstaller
).xmlCopy code<Configuration> <Add OfficeClientEdition="64" Channel="PerpetualVL2021"> <Product ID="ProPlus2021Volume" PIDKEY="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"> <Language ID="en-us" /> <ExcludeApp ID="Access" /> <!-- Optional: Exclude unwanted apps --> <ExcludeApp ID="Publisher" /> <!-- Optional: Exclude unwanted apps --> </Product> </Add> <Display Level="None" AcceptEULA="TRUE" /> <Property Name="AUTOACTIVATE" Value="1" /> <Updates Enabled="TRUE" /> <RemoveMSI /> </Configuration>
Download the Offline Installation Files:
- Open Command Prompt as an administrator.
- Navigate to the folder where you saved
setup.exe
and theconfiguration.xml
file (e.g.,C:\OfficeInstaller
). - Run the following command:cmdCopy code
setup.exe /download configuration.xml
- This command will download the Office installation files based on your configuration file. The download process may take some time, depending on your internet speed. The files will be saved in the same folder by default, or you can specify a different download path using the
SourcePath
attribute in the configuration file.
Create the Offline Installer:
- After the download is complete, you will have all the necessary files in the specified folder. You can now use these files to install Office LTSC Standard 2021 on any device.
Install Office Using the Offline Installer:
- To install Office on the target machines, copy the downloaded files to a USB drive or a network location accessible by all machines.
- On each machine, open Command Prompt as an administrator and navigate to the location where you copied the offline installer files.
- Run the following command:cmdCopy code
setup.exe /configure configuration.xml
- This will install Office LTSC Standard 2021 on the device using the configuration specified in the
configuration.xml
file.