断电弹性安装系统
有许多不同的安装系统,例如 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
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.
我猜测/希望 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.