断电弹性安装系统

发布于 2024-11-16 08:11:02 字数 266 浏览 8 评论 0原文

许多不同的安装系统,例如 Inno Setup、NSIS 或 MSI。我知道 MSI 支持回滚,Inno Setup 也支持(在某种程度上),但我无法在任何地方找到哪些系统具有断电/BSOD 恢复能力。

当安装因断电而中断时,Windows Installer 是否会在重新启动时自动回滚失败的安装?那么另外两个安装系统呢?

There are many different installation systems, like Inno Setup, NSIS, or MSI. I know MSI supports rollback, Inno Setup as well (to some extent), but I wasn't able to find anywhere which systems are power-outage/BSOD resilient.

Does Windows Installer automatically rollback failed installation upon reboot, when the installation was interrupted by power outage? And what about the other two installation systems?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

行雁书 2024-11-23 08:11:02

Inno 不处理系统故障时的回滚,因为启动时没有任何内容(默认情况下)运行(我希望大多数非基于 Windows Installer 的设置也如此)。
但是,通过再次运行安装,它可以很好地恢复,使其能够正常进行。

Inno doesn't handle rollback on a system failure as nothing (by default) runs on startup (and I expect the same of most non Windows Installer based setups).
It can however recover just fine by running the install again allowing it to carry on as normal.

攀登最高峰 2024-11-23 08:11:02

我猜测/希望 MSI 在 NT6+ 上使用事务处理 NTFS 和注册表,并且不应受到断电的影响。

Inno 和 NSIS 使用正常的文件/注册表功能,因此所有正常的断电问题都将适用。

I would guess/hope that MSI uses transacted NTFS and registry on NT6+ and should not be affected by a power outage.

Inno and NSIS use the normal file/registry functions and so all the normal power outage problems would apply.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文