Msiexec: automatic rollback to previous version on installation failure
问题 When installing a .MSI file using msiexec in silent mode, is it possible to automate it such that on installation failure it rollbacks to the previous version? Assuming that on installation an older application version is already installed. 回答1: Yes, restoring the old application version via rollback upon an installation failure is actually a built-in feature of Windows Installer , but you need to configure things correctly to get it to work as you require. Windows Installer rollback will