visual studio 2017 将winform 打包成 msi 安装文件
1.关闭vs
2.管理员运行cmd
cd C:\Program Files (x86)\Common Files\microsoft shared\MSI Tools regsvr32.exe /u mergemod.dll regsvr32.exe mergemod.dll
3.打开 C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe
4.在更新界面-----更多-----修复
5.等待修复完毕
6.按照 https://blog.csdn.net/xfy18317776108/article/details/122343091 步骤操作打包