Search code examples
.netvisual-studiodeploymentvisual-studio-2017windows-installer

Setup project in Visual Studio 2017 missing vs_setup.msi?


I'm trying to build a set up project for a Windows Forms application, I copied it from a coworker, we use this project (on his machine) to deploy the application. I installed the setup template in Visual Studio 2017. When I build the project these windows show up, looking for the file in:

d:\aaf5ce84f8decdcaf3b2f1\1033_ENU_LP\redist\VisualStudioShell\VSIntSetup\

enter image description here then this: enter image description here

When I click OK, this message appear:

The file 'd:\aaf5ce84f8decdcaf3b2f1\1033_ENU_LP\redist\VisualStudioShell\VSIntSetup\' is not a valid installation for the product Microsoft Visual Studio 2010 Shell(Integrated)- ENU..."

enter image description here


Solution

  • I ran these commands in Command Prompt (as adminstrator):

    regsvr32 /u "C:\Program Files (x86)\Common Files\microsoft shared\MSI Tools\mergemod.dll"
    

    and

    regsvr32 "C:\Program Files (x86)\Common Files\microsoft shared\MSI Tools\mergemod.dll"
    

    No Idea what they do, but the problem has been solved!