Remove file during minor upgrade

前端 未结 2 1369
盖世英雄少女心
盖世英雄少女心 2020-12-21 06:48

I have one feature with several components. One components contains dynamic linked files in a directory. When I delete one file in that directory, build the setup, and run t

2条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-21 07:26

    The book answer is use a major upgrade.

    The ultimate MSI hacker's answer is to edit the previous MSI in ORCA to get the exact primary key and GUID values. Author that component statically into your latest ISM and then implement the "puncture component" pattern. This means you set the Revaluate attribute and then give it a condition that always evaluates to false. In this way the new MSI still has the component but it gets removed from the machine.

提交回复
热议问题