MSI does not install all files when RemovePreviousVersion is run

前端 未结 4 1205
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-13 21:45

I have a MSI build using WiX version 3.

All previous installers for the product we are deploying worked fine with the configuration specified (that is: if previous v

4条回答
  •  情歌与酒
    2020-12-13 21:49

    OK, well talking to someone else where I am helped me find a solution to the problem.

    We added the property REINSTALLMODE and set it to amus. What does this mean?

    By default the property is set to omus which means: Reinstall if the file is missing or older, rewrite registry for machine and user hives, reinstall shortcuts. Changing this to amus basically says: Reinstall all files.

    So, not 100% sure what the cause was - I suspect there may have been strange locks or something, but setting to amus doesn't being on any adverse effects, so we'll stick with that.

    Thanks for the suggestions.

    (Also, more details on this property can be found here: MSDN: REINSTALLMODE Property

提交回复
热议问题