如何防止由MSI 1610错误导致的重新启动对话框 [英] How to prevent restart dialog caused by MSI 1610 error

查看:94
本文介绍了如何防止由MSI 1610错误导致的重新启动对话框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用InstallShield创建的安装程序.在升级或卸载期间,在安装验证过程之后,我将收到一个警告对话框,其中包含以下消息:

I have a setup created with InstallShield. During upgrade or uninstall, after Install validate process, I get a alert dialog box with the following message:

"安装程序必须更新在系统运行时无法更新的文件或服务.如果您选择继续,则将需要重新启动以完成设置".

"The setup must update files or services that cannot be updated while the system is running. If you choose to continue, a reboot will be required to complete the setup".

我在MSI日志文件中找到了以下内容:

I found the following in the MSI log file:

MSI(s)(4C:78)[18:17:52:182]:重新启动管理器:检测到ID为4,友好名称为"System",类型为RmCritical且状态为1的应用程序在其中保存文件用.MSI(s)(4C:78)[18:17:52:182]:重新启动管理器:是否检测到关键应用程序保存了正在使用的文件,因此需要重新启动.MSI(s)(4C:78)[18:17:52:182]:注意:1:1610

MSI (s) (4C:78) [18:17:52:182]: RESTART MANAGER: Detected that application with id 4, friendly name 'System', of type RmCritical and status 1 holds file[s] in use. MSI (s) (4C:78) [18:17:52:182]: RESTART MANAGER: Did detect that a critical application holds file[s] in use, so a reboot will be necessary. MSI (s) (4C:78) [18:17:52:182]: Note: 1: 1610

我想了解为什么收到此消息以及如何避免此消息.

I want to understand why I get this message and how to avoid this.

(我已经检查了以下注册表项,并且该文件具有oldmsedge.exe,我认为它与此问题无关)

( I already checked the following registry key and it had oldmsedge.exe, I don't think it is related to this issue)

HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Session Manager \ FileRenameOperations

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\FileRenameOperations

推荐答案

您可以设置以下属性:

REBOOT =真的抑制MSIRESTARTMANAGERCONTROL =禁用

REBOOT=ReallySuppress MSIRESTARTMANAGERCONTROL=Disable

这篇关于如何防止由MSI 1610错误导致的重新启动对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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