Msiexec: automatic rollback to previous version on installation failure

后端 未结 3 1750
孤独总比滥情好
孤独总比滥情好 2021-01-18 03:52

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 tha

3条回答
  •  耶瑟儿~
    2021-01-18 04:10

    No, this is not possible. A major upgrade uninstalls the old version before installing your new one. So when the new install fails, the old version is already removed.

提交回复
热议问题