Visual Studio 2015 msi build initiates another installation

前端 未结 3 2140
小鲜肉
小鲜肉 2020-12-11 11:52

I\'m trying to build an msi project in my VS2015 solution. I had installed the VS Installer Projects Extension.

Everything was working great just a few days ago.

3条回答
  •  一向
    一向 (楼主)
    2020-12-11 12:11

    Self-Repair: What you are seeing is Windows Installer Self-Repair (also known as resiliency or self-healing). Essentially Windows Installer detectes that the wrong file or resource is on disk or in the registry and starts a a repair operation to correct the situation. Failing to correct the situation (for various technical reasons described below), this process may repeat itself endlessly whenever an application is launcher or a COM server is invoked, or a file association is triggered (and a few other triggers).

    Here is a previous answer which describes the essence in a minimal sense: Why does the MSI installer reconfigure if I delete a file?


    Self-Repair In Detail: More than anyone wants to know about self-repair:

    1. Self-repair - explained
    2. Self-repair - finding real-world solutions
    3. Self-repair - how to avoid it in your own package

提交回复
热议问题