简体   繁体   中英

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\

在此处输入图片说明 then this: 在此处输入图片说明

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..."

在此处输入图片说明

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!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM