Inno Setup Conpiler use:
First, create a blank script file, click NEXT
Then enter into this screen, prompting you to elaborate on the basic information about the software
Application name: Application Name
Application version: The current version of the software
Application publisher: My Company, your company, or software ownership representative,
Application website: This application site
Then click Next
Application folder name: Program name of the application
Other no need to change
Application main executable file: the application executable file path is recommended in advance to generate a test file in C sharp
Addfile (s) .. DLL file or software necessary to add files generated
In order to save the trouble Add folder .. directly added directly add an entire solution file
Application Shortcuts:
Please specify which shortcuts should be created for your application..
// which users create a shortcut, it is recommended not to change or according to individual needs.
Application Documentation :
// Custom installation process to select which files to display, do not fill in according to the size of the software.
License file: This is the installation license file
The information displayed before and after the installation file
Install mode: Select the installation mode
install for all users: All users can install
下面两个可选框为 可为以安装的用户覆盖安装,等。
Languages:
安装包语言选择
Compiler Settings:
Please specify some basic compiler settings. //
Custom compiler output folder: 此为自定义输出路径
Compiler output base file name:数据文件名
Custom Setup icon file: 安装文件图标 //JPG更改为ICON为无效图标,必须要生成一个ICON图标文件
Setup password;安装密码,依个人需求而定
是否使用#Define 编辑器, 后面可以用代码直接更改安装熟悉建议勾上,方便更改信息
直接点击Finish 进入下一个阶段
点击是,开始编译新脚本。
是否在编译前保存脚本,当然。
不保存编译出的安装路径将会被存放于默认的My Documents。
保存建立的Steup.exe安装文件脚本。
到此处正式编译Steup.exe成功
效果图,太方便了!
适用于UWP,WINFORM,WPF 其他请自行测试。
thx,咱们下次再见