如今的Office365都在在线安装,但针对企业批量部署,咱们能够提早下载好离线包,并被定制安装文件进行快速安装。ide
一、 下载并解压ODT工具(Office Deployment Tool), https://www.microsoft.com/en-us/download/details.aspx?id=49117工具
二、 修改下载配置文件:download.xmlxml
<Configuration>blog
<Add OfficeClientEdition="64" Channel="Broad">ip
<Product ID="O365ProPlusRetail">部署
<Language ID="en-us" />get
<Language ID="zh-cn" />it
<Language ID="zh-tw" />io
</Add>class
</Configuration>
若是只须要下载一个语言版本的,可将其它语言的配置删除。
三、 下载安装文件:
Setup.exe /download download.xml
执行过程会从网上下载完整的离线安装包,须要的时间比较久。
四、 修改安装配置文件:install.xml
Setup.exe /config install.xml
<Configuration>
<Add SourcePath="\\scm741\DeploySource$\MSI\O365\O365_64"
OfficeClientEdition="64" Channel="Broad">
<Product ID="O365ProPlusRetail">
<Language ID="zh-cn"/>
</Product>
</Add>
</Configuration>
五、 修改卸载配置文件:Uninstall.xml
<Configuration>
<Remove>
<Product ID="O365ProPlusRetail">
<Language ID="zh-cn"/>
</Product>
</Remove>
<Display Level="Base" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" />
</Configuration>
六、 共享O365安装程序,如:
\\YourServer\deploysource$\MSI\O365\O365_32
\\YourServer\deploysource$\MSI\O365\O365_64
目录文件以下:
七、 共享中的O365目录,能够针对不一样的版本需示,定制不一样的XML配置文件,而后定制成不一样的批处理执行安装!
安装程序执行:setup.exe /configure install.xml
卸载程序执行:setup.exe /configure uninstall.xml
八、 若是要在部署的同时,卸载旧版的Office 2013,在Office2013安装目录运行:Setup.exe /uninstall proplus /config “\\YouerServer\DeploySource$\Uninstall_Office\Uninstall2013.xml“,也能够同时放进批处理中,先执行卸载命令再安装!
Uninstall2013.xml文件内容以下:
<Configuration>
<Display Level="Base" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" />
</Configuration>