YerongAI / Office-Tool

Office Tool Plus localization projects.
https://otp.landian.vip
MIT License
9.94k stars 868 forks source link

[BUG] 部署时报 Error Code: 30182-2016 (448) #860

Closed ousugo closed 3 months ago

ousugo commented 3 months ago

Office Tool Plus Version, e.g. 8.1.0.0:

Write down here

10.13.10.0(x64)

Operating System, e.g. Windows 10 20H2 or Windows 7 SP1:

Write down here

Windows11 23H2(22631.3880)

Error description (required):

Write down here

运行部署工具后,报下面错误:

Couldn't install
We're sorry, we can't continue because we weren't able to download a required
file. Please make sure you're connected to the internet or connect to a different
network, then try again.
Go online for additional help.
Error Code: 30182-2016 (448)

尝试关闭代理、更换DNS、切换手机热点,都无法解决。但这时候通过 OfficeSetup.exe 安装或者通过自己下载的 ODT 安装都不会报错,可以成功安装。

Reproduction steps (suggested):

image

开始部署--> 下载完成 --> 运行部署工具 --> 报错

Screenshot (suggested):

Additional information (optional):

YerongAI commented 3 months ago

请提供完整的 XML 代码,在部署页面按下 Ctrl + E 可查看。

ousugo commented 3 months ago

image

<Configuration>
  <Add OfficeClientEdition="64" Channel="Current" AllowCdnFallback="true">
    <Product ID="O365HomePremRetail">
      <Language ID="zh-cn" />
      <ExcludeApp ID="Access" />
      <ExcludeApp ID="OneDrive" />
      <ExcludeApp ID="OneNote" />
      <ExcludeApp ID="Outlook" />
      <ExcludeApp ID="Publisher" />
    </Product>
  </Add>
</Configuration>

image

<Configuration>
  <Add OfficeClientEdition="64" Channel="Current" AllowCdnFallback="true">
    <Product ID="O365HomePremRetail">
      <Language ID="zh-cn" />
      <ExcludeApp ID="Access" />
      <ExcludeApp ID="OneDrive" />
      <ExcludeApp ID="OneNote" />
      <ExcludeApp ID="Outlook" />
      <ExcludeApp ID="Publisher" />
    </Product>
  </Add>
  <Extend DownloadFirst="true" />
</Configuration>

当时这两个都尝试了,都是一样的报错

YerongAI commented 3 months ago

最后一个看起来并不正常。如果 DownloadFirst 已启用,应该先触发 Office 下载步骤,然后再进行部署。然而 XML 里面看不见 SourcePath 和 Version 参数。

ousugo commented 3 months ago

最后一个看起来并不正常。如果 DownloadFirst 已启用,应该先触发 Office 下载步骤,然后再进行部署。然而 XML 里面看不见 SourcePath 和 Version 参数。

这是我还原当时的设置,因为我后面自己用 ODT 部署成功了,所以没有实际再下载了。

我刚又在Windows 沙盒里面测试了一下,XML 里是有 SourcePath 和 Version 参数的。同样的操作步骤没有碰到这个网络报错问题了。

不知道当时是哪里抽风了可能...

YerongAI commented 3 months ago

微软的报错不一定就是它所报错的内容。可以通过重新收集安装日志进行分析,安装日志在没有手动删除的情况下是永久保留的。通过 Office Tool Plus,转到工具箱页面,选择收集 Office 安装程序日志。

ousugo commented 3 months ago

Office_Log.zip

日志上传了,主要尝试是在 17号,那麻烦帮忙看下能不能找到问题,感谢

YerongAI commented 3 months ago

Office_Log.zip

日志上传了,主要尝试是在 17号,那麻烦帮忙看下能不能找到问题,感谢

是 v64_16.0.xxxxx.xxxxx.cab 文件无法打开,错误代码为 0x1c0,但并不知道此问题的具体情况,所以也不是很好分析。如果怀疑是文件损坏,可以在 Office Tool Plus 的部署页面中,通过安装文件管理面板校验 Office 安装文件。

ousugo commented 3 months ago

不是文件损坏应该,我每次下载完都进行了校验。

辛苦了。