Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 781
mshwf Avatar asked Sep 18 '18 11:09

mshwf


People also ask

How do I create a setup file in Visual Studio 2017?

In the running instance, access the menu Tools->Extensions and Updates. In that dialog, choose Online->Visual Studio Marketplace->Tools->Setup & Deployment. From the list that appears, select Microsoft Visual Studio 2017 Installer Projects.

How do I create an MSI file in Visual Studio?

Go to Extensions > Manage Extensions > Online > Search, find, download and install Microsoft Visual Studio Installer Projects extension. 2). Add a new Setup Project in your solution > right-click Application Folder > Add > Project Output… > choose the corresponding Project > select Primary output > OK.


1 Answers

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!

like image 175
mshwf Avatar answered Sep 28 '22 09:09

mshwf