C#|C# winform用Installer-Project打包exe程序


C#|C# winform用Installer-Project打包exe程序
文章图片
image.png
Installer-Project
C#|C# winform用Installer-Project打包exe程序
文章图片
image.png
然后重启VS 才有安装
C#|C# winform用Installer-Project打包exe程序
文章图片
image.png
C#|C# winform用Installer-Project打包exe程序
文章图片
image.png
C#|C# winform用Installer-Project打包exe程序
文章图片
image.png
然后命名就是打包后出来的安装程序的名字
C#|C# winform用Installer-Project打包exe程序
文章图片
image.png
基本是默认的可以直接确定
C#|C# winform用Installer-Project打包exe程序
文章图片
image.png
这是在桌面 生成新的快捷方式
C#|C# winform用Installer-Project打包exe程序
文章图片
image.png
C#|C# winform用Installer-Project打包exe程序
文章图片
image.png
双击就绑定路径了
C#|C# winform用Installer-Project打包exe程序
文章图片
image.png
重命名改下
C#|C# winform用Installer-Project打包exe程序
文章图片
image.png
第三个就是
C#|C# winform用Installer-Project打包exe程序
文章图片
image.png
生成在这里的
C#|C# winform用Installer-Project打包exe程序
文章图片
image.png
这边和上面操作差不多 就多了个文件夹
C#|C# winform用Installer-Project打包exe程序
文章图片
image.png
找一个图片 拖进来 当图标
记得转换ico格式 一般48x48就行
https://www.easyicon.net/covert/
C#|C# winform用Installer-Project打包exe程序
文章图片
image.png
设置小图标

C#|C# winform用Installer-Project打包exe程序
文章图片
image.png
C#|C# winform用Installer-Project打包exe程序
文章图片
image.png
C#|C# winform用Installer-Project打包exe程序
文章图片
image.png
同理给下面的系统栏图标设置下
然后设置最多的打包参数

C#|C# winform用Installer-Project打包exe程序
文章图片
image.png
这里改成简体字 不然是繁体字
C#|C# winform用Installer-Project打包exe程序
文章图片
image.png
这个是安装名字
C#|C# winform用Installer-Project打包exe程序
文章图片
image.png
下面是设置环境 一般都是默认 不过客户电脑为了稳妥可以多选几个
C#|C# winform用Installer-Project打包exe程序
文章图片
image.png C#|C# winform用Installer-Project打包exe程序
文章图片
image.png C#|C# winform用Installer-Project打包exe程序
文章图片
image.png
C#|C# winform用Installer-Project打包exe程序
文章图片
image.png
这里有安装就代表可以了

C#|C# winform用Installer-Project打包exe程序
文章图片
image.png
然后就OK了
【C#|C# winform用Installer-Project打包exe程序】然后找到自己的安装包发给别人就行了

C#|C# winform用Installer-Project打包exe程序
文章图片
image.png
C#|C# winform用Installer-Project打包exe程序
文章图片
image.png
exe那个可以不用管 不影响正常安装

    推荐阅读