我有一个 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'
Setup Resume 位于 UI 序列中的“Maintenance Welcome”上方。
检查日志,我看到 Preselected 属性在安装开始时设置为 1,这就是我认为 Maintenance Welcome 失败的原因。同样在日志中,它表示(condition is false)
“维护欢迎”对话框。
但是,我不知道为什么将其设置为 1(我是 InstallShield 的新手)。为什么它被设置为 1,在我的场景中如何显示维护欢迎对话框而不是设置恢复?