InstallShield:如何缓解“已安装此产品的另一个版本...”的问题错误
首先,这与问题 不同处理“此产品的另一个版本已安装。此版本的安装无法继续...”,因为这不是开发错误 - 我的用户在尝试修改安装时也会看到此错误。
问题是:我可以安装最新版本的应用程序,一切正常。但是,如果我再次运行相同的安装程序,而不是给我维护选项(修复/修改/删除),我会收到上述错误,其全文如下:
已安装此产品的另一个版本。安装 这个版本无法继续。配置或删除现有的 对于本产品的版本,请使用控制面板上的“添加/删除程序”。
我可以从“添加或删除程序”运行卸载,不会出现任何问题,但我不希望我的用户在需要修复安装时收到此消息。我有一些自定义脚本,但除此之外我的安装顺序未修改。当我尝试运行详细日志记录命令时,它会启动安装程序并发生错误,但不会创建日志文件。该命令是 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论