InstallShield显示卸载用户界面

发布于 2024-09-15 06:50:31 字数 184 浏览 10 评论 0原文

我有一个可以通过快捷方式卸载的应用程序,该快捷方式执行 msiexec.exe /x {ProductCode}。当我单击快捷方式时,它会启动卸载的执行阶段,但是,它会跳过显示用户界面对话框的前面阶段。如果我直接从 MSI 文件运行来卸载,它会显示这些对话框。我需要在这些对话框之一中收集用户的密码,那么如何创建显示完整用户界面 GUI 的卸载快捷方式?

I have an application that can be uninstalled via a shortcut, which executes msiexec.exe /x {ProductCode}. When I click the shortcut it launches the Execute phase of the uninstall, however, it skips the preceding phase where user interface dialogs are displayed. If I run from the MSI file directly to uninstall it displays these dialogs. I have a password that is needed from the user that is gathered in one of these dialogs, so how would I create an uninstall shortcut that displays the full user interface GUI?

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

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

发布评论

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

评论(1

北座城市 2024-09-22 06:50:32

唉,您无法真正修改从“删除”按钮运行的命令。有些选项是禁用“删除”按钮并使用“更改”按钮,或者创建运行您选择的命令的非 Windows Installer 包装器。

Alas, you can't really modify the command run from the Remove button. Some options are to disable the Remove button and use the Change button, or to create a non-Windows Installer wrapper that runs a command of your choice.

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