本文介绍了具有静默或被动模式的 MSI 安装程序有时会在不提示用户的情况下自动重启计算机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有时,当您安装 MSI 安装程序时,它会提示用户重新启动计算机,在这种情况下,如果您在被动或静默模式下运行,安装程序将自动重新启动计算机,无需任何确认.

Sometimes, when you install your MSI installer it will prompt user to restart computer, in this case if you are running in passive or silent mode, installer will automatically restart computer without any confirmation.

我该如何解决这个问题?我可以让安装程序忽略此提示而不重新启动计算机吗?

How can I solve this problem? Can I just make installer ignore this prompt and not restart computer?

推荐答案

为了避免重新启动计算机,请使用 /norestart 标志

To avoid restarting computer, use /norestart flag

这篇关于具有静默或被动模式的 MSI 安装程序有时会在不提示用户的情况下自动重启计算机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-30 14:31