InstrallShield Basic MSI卸载不会显示带有“完成"按钮的对话框 [英] InstrallShield Basic MSI uninstall does not display a dialog with Finish button

查看:150
本文介绍了InstrallShield Basic MSI卸载不会显示带有“完成"按钮的对话框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用InstallShield 2018并创建了一个"Basic MSI"项目. 卸载产品时,它会确认我是否要继续进行卸载,并在确认后开始进行卸载.但是随后它消失了,而没有显示一个对话框,您可以单击完成"按钮.

I used InstallShield 2018 and created a 'Basic MSI' project. When uninstalling the product, it confirms if I want to proceed with the uninstallation and once confirmed starts uninstalling. But then it simply vanishes without showing a dialog at the end where you can click on the Finish button.

结果,用户不知道卸载是否完成,中止或其他原因.

As a result the user does not know if the uninstall is done or not or got aborted or something.

在我的IS 2018'InstallScript MSI'项目中,最后显示带有完成"按钮的对话框,这很不错,因为用户知道卸载已完成.

In my IS 2018 'InstallScript MSI' project the dialog with the Finish button is displayed at the end which is nice since the user knows the uninstall is done.

请告知. 谢谢.

推荐答案

基本UI模式 :从添加/删除小程序调用卸载时 strong>(appwiz.cpl),它将在基本GUI模式(UILevel = 3)中运行.这将跳过MSI中的InstallUISequence,因此不会显示安装向导对话框,而只会显示进度和错误消息.有关 UILevel .

Basic UI Mode: When uninstall is invoked from the Add / Remove Applet (appwiz.cpl) it will run in basic GUI mode (UILevel = 3). This will skip the InstallUISequence in the MSI, and hence no setup wizard dialogs are shown, but rather just progress and error messages. More information on UILevel.

ARPNOREMOVE :关于该如何处理.过去,我已设置在属性表中将 ARPNOREMOVE属性 更改为1,以防止使用基本UI模式删除设置.而是用户必须单击 ARP小程序​​中的修改.这样可以确保安装程序可以在完整的GUI上运行,并且您可以从显示的修改"对话框(安装向导对话框)中依次调用remove.

ARPNOREMOVE: As to what you can do about it. In the past I have set the ARPNOREMOVE Property to 1 in the property table in order to prevent the setup being removed using basic UI mode. Instead the user must click Modify in the ARP applet. This will ensure that the setup will run with full GUI, and you can invoke remove in turn from the Modify dialog that shows up (setup wizard dialog).

在早期版本的Installshield中,可以在General Information => Add / Remove Programs => Disable Remove Button => Yes下进行设置.您也可以使用直接编辑器"视图直接转到属性表-也可以使用属性管理器"视图.在所有情况下,您都要为 ARPNOREMOVE 属性分配1值.

In older versions of Installshield, you could set this under General Information => Add / Remove Programs => Disable Remove Button => Yes. You can also go directly to the property table using the Direct Editor View - and you can use the Property Manager view as well. In all cases you assign a value of 1 to the ARPNOREMOVE property.

自定义操作 :有些人添加了自定义操作以直接从InstallExecuteSequence显示安装程序卸载完成对话框(或消息框),但这非常糟糕的设计.为了正确支持静默安装/卸载,此序列应完全不包含GUI元素.

Custom Action: Some people add a custom action to show a setup uninstall completion dialog (or rather message box) directly from the InstallExecuteSequence, but this is very bad design. This sequence should feature no GUI elements at all in order to support silent installation / uninstallation properly.

静默安装 :不久前,我就静默安装的一个稍有不同的方面写了一个较早的答案.链接到它以获取关于设置GUI的更多详细信息:不同.

这篇关于InstrallShield Basic MSI卸载不会显示带有“完成"按钮的对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆