InstallShield显示卸载用户界面
我有一个可以通过快捷方式卸载的应用程序,该快捷方式执行 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
唉,您无法真正修改从“删除”按钮运行的命令。有些选项是禁用“删除”按钮并使用“更改”按钮,或者创建运行您选择的命令的非 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.