Reputation: 31
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. Now, however, when I try to build any msi it seems another installer package initiates. First it was SSMS 2008 R2 installer. Similar to this msdn question: Problem building setup project in Visual Studio 2008
I uninstalled all my sql instances other than 2016.
Now I still get the same behavior but with the Microsoft Visual Studio 2008 Shell (integrated mode) installer running.
Upvotes: 1
Views: 974
Reputation: 42126
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:
Upvotes: 0
Reputation: 31
I had the same problem with VS 2015 asking for VS 2008 installation package.
Found this which solved my problem:
Open a cmd as admin.
Go to directory C:\Program Files (x86)\Common Files\microsoft shared\MSI Tools
run: regsvr32.exe /u mergemod.dll"
run: regsvr32.exe mergemod.dll"
Upvotes: 3