vs2017打包时,winfrom生成安装包提示缺少visualstudio2008 shell(Integrated)-CH处理办法

vs2017winfrom生成安装包时提示缺少visualstudio2008 shell(Integrated)-CHN,可下载安装了visualstudio2008 shell(Integrated)-CHN还是缺少vs_shell.msi。

网上处理办法没有说明白,现在我重新写出来。

对windows10 x64 系统:

首先关闭vs2017。
接下来:

1- 以管理员身份打开CMD窗口。

C:WINDOWSsystem32>

2- COPY下面两条命令分别执行

regsvr32.exe /u "C:Program Files (x86)Common Filesmicrosoft sharedMSI Toolsmergemod.dll"
regsvr32.exe "C:Program Files (x86)Common Filesmicrosoft sharedMSI Toolsmergemod.dll"

3-VS2017打包问题就解决了

本方法来自于https://stackoverflow.com/questions/44907844/windows-installer-project-in-visual-studio-2017/44937732?r=SearchResults#44937732

原文地址:https://www.cnblogs.com/sunnywam/p/12295984.html