“...可能需要额外的依赖项...”的问题 在补丁 (MSP) 安装期间

发布于 2024-07-25 17:59:41 字数 573 浏览 4 评论 0原文

症状

我有一个新创建的补丁。 它通过 RTM 安装进行安装,没有任何问题。 但它显示以下消息:“此安装可能需要额外的依赖项。如果没有其依赖项,[My App] 可能无法正常工作。您想查找原始的 [My App.exe]吗?”

由于我的原始设置是单个文件 .exe(Web 设置),因此向最终用户呈现的消息是一种烦人且可怕的消息。 用户甚至可能没有保存原始安装程序或不知道在哪里可以再次找到它。

详细信息

我的原始 Web 安装程序实际上会将提取的 MSI 文件的完整副本安装到“[PathToCurrentUser]\Local Settings\Application Data\Downloaded Installation{Some GUID}\”中。 但补丁会查找 exe 文件,而不是 MSI 文件。

有什么方法可以通过原始的 Web 安装程序(我还没有向公众发布它)或通过补丁来指示修补过程找到提取的 MSI 而不是 EXE?

如果我无法摆脱可怕的警告消息,我可能会选择发布完整的 MSI,而不是部分补丁,以提供更好的用户体验。

Symptons

I have a newly created patch. It installs over the RTM installation without problems. But it displays the following message, "This installation may require additional dependencies. Without its dependencies, [My App] may not work correctly. Would you like to find the original [My App.exe]?"

Since my original setup is a single file .exe (web setup), this is kind of an annoying and scary message to present to the end user. The user may not even have saved the original setup program or know where to find it again.

Details

My original web installer actually installs installs a complete copy of the extracted MSI file into "[PathToCurrentUser]\Local Settings\Application Data\Downloaded Installation{Some GUID}\". But the patch looks for the exe file, not the MSI file.

Is there any way, either through the original web installer (I haven't released it to the public yet) or through the patch to instruct the patching process to find the extracted MSI and not the EXE?

If I can't get rid of the dire warning message I might opt to release full MSIs rather than partial patches to provide a better user experience.

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

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

发布评论

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

评论(2

夜声 2024-08-01 17:59:41

这是 InstallShield 功能先决条件支持的一部分,它正在寻找 bootstrap setup.exe。 您可以通过更改安装 UI 序列中的 ISInstallPrerequsites 操作的条件来禁用此功能,并且您应该能够在基本映像或升级映像中执行此操作,只要它被修改即可安装补丁的时间。 较新版本的 InstallShield 已开始使用以下条件:

NOT(EXECUTEMODE~="NONE") AND NOT(PATCH AND Installed)

(很抱歉回答晚了;我在搜索时偶然发现了这篇文章)相关问题的答案,希望这对您仍然有用。)

This is part of InstallShield's feature prerequisite support, and it's looking for the bootstrap setup.exe. You can disable this by changing the condition on the ISInstallPrerequsites action in the Install UI Sequence, and you should be able to do this in either the base image or the upgraded image, just so long as it's modified by the time the patch is installing. More recent versions of InstallShield have started using the following condition:

NOT(EXECUTEMODE~="NONE") AND NOT(PATCH AND Installed)

(Sorry for the late answer; I happened across this post when searching for the answer to a related problem, and hope this is still useful for you.)

箹锭⒈辈孓 2024-08-01 17:59:41

我刚刚遇到了类似的错误,给了我同样的消息。 我的安装程序使用单个压缩的 exe,从 C:\ 运行 setup.exe 会出现该对话框,但如果将其放在其他位置(例如 C:\test),它就可以正常工作。

I just ran into a similar error that gave me the same message. I am using a single compressed exe for my installer, and running setup.exe from C:\ would prompt with that dialog box, but if you put it anywhere else (e.g. C:\test) it works just fine.

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