InstallShield维护模式未运行

时间:2013-11-28 14:13:43

标签: windows-installer conditional-statements installshield maintenance-mode

我有一个InstallShield Basic MSI项目。它安装正确,但是当我在已安装程序的计算机上运行Setup.exe时,维护模式对话框不会显示。而是显示“设置恢复”对话框。

维护条件欢迎光临:

Installed and Not RESUME and NOT Preselected and NOT Patch

安装条件恢复:

Installed and (RESUME or Preselected) and NOT Patch and INSTALL_TYPE~<>'upgrade'

设置恢复位于UI序列中的维护欢迎之上。

检查日志,我发现在安装开始时Preselected属性设置为1,这就是我认为Maintenance Welcome失败的原因。同样在日志中,它为维护欢迎对话框显示(condition is false)

但是,我不清楚它为什么被设置为1(我是InstallShield的新手)。为什么将其设置为1,如何在我的方案中显示Maintenance Welcome对话框而不是Setup Resume?

1 个答案:

答案 0 :(得分:1)

reference for Preselect表示在恢复安装或通过命令行设置特定属性时设置它。

这是你安装的情况吗?

也许它首先没有成功?

相关问题