InstallShield:如何缓解“已安装此产品的另一个版本...”的问题错误

发布于 2025-01-12 12:16:31 字数 632 浏览 4 评论 0原文

首先,这与问题 不同处理“此产品的另一个版本已安装。此版本的安装无法继续...”,因为这不是开发错误 - 我的用户在尝试修改安装时也会看到此错误。

问题是:我可以安装最新版本的应用程序,一切正常。但是,如果我再次运行相同的安装程序,而不是给我维护选项(修复/修改/删除),我会收到上述错误,其全文如下:

已安装此产品的另一个版本。安装 这个版本无法继续。配置或删除现有的 对于本产品的版本,请使用控制面板上的“添加/删除程序”。

我可以从“添加或删除程序”运行卸载,不会出现任何问题,但我不希望我的用户在需要修复安装时收到此消息。我有一些自定义脚本,但除此之外我的安装顺序未修改。当我尝试运行详细日志记录命令时,它会启动安装程序并发生错误,但不会创建日志文件。该命令是 foo.exe /verbose".\LogFile.log"

修改版本不会改变任何内容。它将在第一次运行时升级,但随后显示相同的错误。我正在使用 InstallShield 2021 R2。

First off, this differs from the question handle "Another version of this product is already installed. Installation of this version cannot continue..." because this is not a development error- my users are seeing this error as well when they try to modify the installation.

Here's the problem: I can install my latest version of the application and everything works fine. However, if I run the same installer again, rather than giving me the maintenance options (Repair/Modify/Remove) I get the above error, the full text of which reads:

Another version of this product is already installed. Installation of
this version cannot continue. To configure or remove the existing
version of this product, use Add/Remove Programs on the Control Panel.

I can run the uninstall from the Add or Remove programs without incident, but I don't want my users getting this message if they need to fix the installation. I have some custom scripts but otherwise my install sequence is unmodified. When I try to run the verbose logging command, it launches the installer and the error occurs, but no log file is created. That command is foo.exe /verbose".\LogFile.log"

Bumping the revision changes nothing. It will upgrade the first time it's run, but then it displays the same error. I'm using InstallShield 2021 R2.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文