Windows 错误 2356

发布于 2024-11-16 13:23:59 字数 315 浏览 4 评论 0原文

客户在他们的计算机上安装我的软件时遇到一些问题。他们得到的确切错误代码是“安装程序在安装此软件包时遇到意外错误。这可能表明此软件包存在问题。错误代码为 2356”。这是一个 Windows 错误,意味着“无法在流中找到橱柜”。我的软件是使用高级安装程序构建的,并且在其他计算机上安装得很好。

在返回客户之前,我试图找到所有可能的原因。

到目前为止,我发现这是由

  1. 32/64 位合并模块问题
  2. 引起的帖子安装文件损坏

你们知道还有其他原因吗?值得注意的是,我客户的机器语言(可能)是芬兰语,而我构建的机器是英语。

A client is having some problems installing my software on their machine. The exact error code they get is "The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2356". This is a Windows error, and means "Could not locate cabinet in stream". My software was built using Advanced Installer, and installs fine on other machines.

I am trying to find all possible causes for this, before I go back to the client.

So far, I have found posts where this is caused by

  1. 32/64 bit merge module problems
  2. Corrupted install file

Are there any other causes that you guys know of? It might be worth noting that my client's machine language is (probably) Finnish, whilst the machine I build on is English.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

萝莉病 2024-11-23 13:23:59

感谢 Mihai 的快速回复,但我现在已经找到了错误原因。

此错误的原因是 .msi 中缺少 cab 文件,因为我的 setup.aip 文件中的配置错误。

为了将来参考,我运行了以下命令来从 msiexec 获取调试输出,这对于找出安装失败的原因更有用。

msiexec /i FileName.msi /L*V output.log

我发现的错误消息是

DEBUG: Error 2356:  Couldn't locate cabinet in stream: media1.cab.

Which led me to re-examine my setup.aip。

谢谢你的帮助!

Thanks for your quick response Mihai, but I have now found the cause of the error.

The cause of this bug was a missing cab file in the .msi, because of a misconfiguration in my setup.aip file.

For future reference, I ran the following command to get debug output from msiexec, which was more useful in finding out why the install failed

msiexec /i FileName.msi /L*V output.log

The error message I found was

DEBUG: Error 2356:  Couldn't locate cabinet in stream: media1.cab.

Which led me to re-examine my setup.aip.

Thanks for you help!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文