天天看点

使用Advanced Installer 13.1打包发布 Windows Service服务程序

使用Advanced Installer 13.1打包发布 Windows Service服务程序

然后就按照提示,输入就行了

使用Advanced Installer 13.1打包发布 Windows Service服务程序

再下一步是要选择打包生成的格式,我选择的是exe

使用Advanced Installer 13.1打包发布 Windows Service服务程序

.

然后是选择打包生成的路径

使用Advanced Installer 13.1打包发布 Windows Service服务程序

然后要选择你索要打包的程序的文件

使用Advanced Installer 13.1打包发布 Windows Service服务程序

再下一步是选择编译好的文件夹

使用Advanced Installer 13.1打包发布 Windows Service服务程序

选择后下一步,全选

使用Advanced Installer 13.1打包发布 Windows Service服务程序

然后后面的直接下一步下一步就好了,有些个性化设置,比如安装界面等,可以按需求自己设置

使用Advanced Installer 13.1打包发布 Windows Service服务程序
使用Advanced Installer 13.1打包发布 Windows Service服务程序

这个是安装时候的界面 ,有很多种样式可选

使用Advanced Installer 13.1打包发布 Windows Service服务程序

选择安装包的语言,默认英语,选择中文简体后,会另外生成一个中文安装包

使用Advanced Installer 13.1打包发布 Windows Service服务程序
使用Advanced Installer 13.1打包发布 Windows Service服务程序
使用Advanced Installer 13.1打包发布 Windows Service服务程序
使用Advanced Installer 13.1打包发布 Windows Service服务程序

在product details目录下面设置一些参数等

使用Advanced Installer 13.1打包发布 Windows Service服务程序

我之前出现的问题就是,service 这里边没有东西,后来才知道是要自己添加的,右键添加就行了

使用Advanced Installer 13.1打包发布 Windows Service服务程序

选择默认加载进来的这个程序

使用Advanced Installer 13.1打包发布 Windows Service服务程序

确定

使用Advanced Installer 13.1打包发布 Windows Service服务程序

运行就行了,build all?

使用Advanced Installer 13.1打包发布 Windows Service服务程序

然后找到之前设置的路径下,就有生成好的文件了 

使用Advanced Installer 13.1打包发布 Windows Service服务程序

双击运行,就会自动加到服务中去。

使用Advanced Installer 13.1打包发布 Windows Service服务程序

继续阅读