WiX upgrade question - file's major version was incremented, but revision is lower, now old file removed, yet new file is not copied during upgrade

后端 未结 1 1289
情书的邮戳
情书的邮戳 2021-01-03 03:43

I automatically generate a WiX file for my installer based on a directory (it\'s for a web app), and it includes references to the following 3 .Net assemblies:

相关标签:
1条回答
  • 2021-01-03 03:53

    As the linked question suggests, you can try to re-schedule RemoveExistingProducts so that the old product is removed before any new files are installed, like this:

    <InstallExecuteSequence>
        <RemoveExistingProducts After="InstallValidate" />
        <!-- other actions -->
    </InstallExecuteSequence>
    

    Another option is to modify REINSTALLMODE property, and replace e mode with a, that means its value would be amus. This way all the files will be re-installed, the operation would take longer but rather more reliable.

    0 讨论(0)
提交回复
热议问题