Office2019 activation step installation and deployment

【installation】
Double-click the "setup.bat" Wait for the installation can be completed;
【activation】
Open Office Tool folder Office Tool Plus.exe tools; (optional)
2. Activate - select the corresponding version - to install a certificate; (optional)
3. Double-click the "activate.bat", waiting to run can be completed successfully activated.
[Link] original installation method
https://blog.csdn.net/hatmen2/article/details/84677751
 
Installation [original]
1. Download Office Deployment Tool (ODT)
From the official website to download the deployment tools Office Deployment Tool Download, and execute this program
After the execution, the output will be four files:
configuration-Office365-x64.xml
configuration-Office365-x86.xml
configuration-Office2019Enterprise.xml
setup.exe
Where "configuration -. *** xml" is an example of a file, you can delete the back can create custom configuration.xml.
 
2. Create / modify the configuration file
For convenience, we direct and graphics operations, access https://config.office.com/, follow the prompts, after click [Export], eventually download the XML file (first choice).
Author of "configuration.xml" see below for reference.
 
3. Download and install
The above xml file is stored in the "setup.exe" in the same directory, use the command prompt as an administrator to perform
 
Download the code:
setup /download configuration.xml
Wait for the download is complete, the black command window closes automatically proceed with the installation command
Installation Code:
setup /configure configuration.xml
 
[Activation step]
New text document;
Copy and paste the following "activation code":
Rename "activate.bat" file;
Run as administrator, wait a few seconds, when a new code does not appear, indicating successful activation;
 
[Appendix] Code:
 
[Installation Code] - CSDN
 
[Activation code]
@echo off
(cd /d "%~dp0")&&(NET FILE||(powershell start-process -FilePath '%0' -verb runas)&&(exit /B)) >NUL 2>&1
title Office 2019 Activator r/Piracy
echo Converting... & mode 40,25
(if exist "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office16")&(if exist "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16")&(for /f %%x in ('dir /b ..\root\Licenses16\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&(for /f %%x in ('dir /b ..\root\Licenses16\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)
cscript //nologo ospp.vbs /unpkey:6MWKP >nul&cscript //nologo ospp.vbs /inpkey:NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP >nul&set i=1
:server
if %i%==1 set KMS_Sev=kms7.MSGuides.com
if %i%==2 set KMS_Sev=kms8.MSGuides.com
if %i%==3 set KMS_Sev=kms9.MSGuides.com
cscript //nologo ospp.vbs /sethst:%KMS_Sev% >nul
echo %KMS_Sev% & echo Activating...
cscript //nologo ospp.vbs /act | find /i "successful" && (echo Complete) || (echo Trying another KMS Server & set /a i+=1 & goto server)
pause> null
exit
 
[Activation code (standby)] available Found!
(cd /d "%~dp0")&&(NET FILE||(powershell start-process -FilePath '%0' -verb runas)&&(exit /B)) >NUL 2>&1
title Office 2019 Activator r/Piracy
echo Converting... & mode 40,25
(if exist "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office16")&(if exist "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16")&(for /f %%x in ('dir /b ..\root\Licenses16\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&(for /f %%x in ('dir /b ..\root\Licenses16\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)
cscript //nologo ospp.vbs /unpkey:6MWKP >nul&cscript //nologo ospp.vbs /inpkey:NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP >nul&set i=1
:server
if %i%==1 set KMS_Sev=kms7.MSGuides.com
if %i%==2 set KMS_Sev=kms8.MSGuides.com
if %i%==3 set KMS_Sev=kms9.MSGuides.com
cscript //nologo ospp.vbs /sethst:%KMS_Sev% >nul
echo %KMS_Sev% & echo Activating...
cscript //nologo ospp.vbs /act | find /i "successful" && (echo Complete) || (echo Trying another KMS Server & set /a i+=1 & goto server)
pause> null
exit

Guess you like

Origin www.cnblogs.com/Jin-Lei-Li/p/11627757.html