软件
系统激活
https://massgrave.dev/
https://github.com/massgravel/Microsoft-Activation-Scripts
office 安装
下载安装包
https://gist.github.com/dori4n/dacae1ec43cff43466fbe032831afa1b
下载ODT(Office Deployment Tool)
https://www.microsoft.com/en-us/download/details.aspx?id=49117
创建配置文件
<Configuration>
<Add OfficeClientEdition="64" SourcePath="E:\Office">
<Product ID="ProPlus2024Retail">
<Language ID="zh-cn" />
<!-- 保留 Word + Excel + PowerPoint,其它全部排除 -->
<ExcludeApp ID="Outlook" />
<ExcludeApp ID="Access" />
<ExcludeApp ID="Publisher" />
<ExcludeApp ID="OneNote" />
<ExcludeApp ID="Lync" /> <!-- Teams/Skype -->
</Product>
</Add>
<!-- 可选:不开启自动更新 -->
<Updates Enabled="FALSE" />
<!-- 可选:静默安装(无界面) -->
<Display Level="Full" AcceptEULA="TRUE" />
</Configuration>
命令(以管理员运行)