MSI Major Upgrade overwriting rules

后端 未结 5 2008
天涯浪人
天涯浪人 2020-12-18 10:19

I think I read it somewhere, but couldn\'t find the source now and can\'t confirm it: when install(Major upgrade) a newer version from MSI, if the file has been modified (ei

5条回答
  •  萌比男神i
    2020-12-18 11:06

    Behaviour what you are saying is unversioned file replacement logic.
    Placing config file in its own component and marking the config file as the key path of the component will ensure that Windows Installer will use unversioned file replacement logic when deciding whether or not to replace this file in the install of your new version.

    This post can help you to achieve the same.

提交回复
热议问题