Inno Setup入门(八)——有选择性的安装文件
来源:互联网 发布:店铺seo是什么意思 编辑:程序博客网 时间:2024/05/13 06:51
这主要使用[Components]段实现,一个演示的代码如下:
[setup]
;全局设置,本段必须
AppName=Test
AppVerName=TEST
DefaultDirName="E:\TEST"
AppVersion=1.0
Compression=lzma2/max
ShowLanguageDialog=yes
[Components]
Name: main; Description:"主程序(必选)";Types:full compact custom;Flags: fixed
Name: data; Description:"数据文件";Types:full
Name: help;Description:"帮助文件";Types:full
[files]
Source: "F:\desktop\test\ipmsg.exe"; DestDir: "{app}";Components:main
Source: "F:\desktop\test\bin.dat"; DestDir: "{app}";Components:data
Source: "F:\desktop\test\help.chm"; DestDir: "{app}" ;Components:help
Source: "F:\desktop\test\readme.txt"; DestDir: "{app}";Flags:isreadme
运行生成的安装包,效果如下:
通过标志位设置为fixed,将确保主程序必定安装,另外,中文包中翻译出现了点错误,呵呵,“清除”写成了“清楚”。
阅读全文
0 0
- Inno Setup入门(八)——有选择性的安装文件
- Inno Setup入门(八)——有选择性的安装文件
- Inno Setup入门(八)——有选择性的安装文件
- Inno Setup入门(八)——有选择性的安装文件
- Inno Setup入门(八)——有选择性的安装文件
- Inno Setup入门(五)——添加readme文件
- Inno Setup入门(五)——添加readme文件
- Inno Setup入门(五)——添加readme文件
- Inno Setup入门(五)——添加readme文件
- Inno Setup入门(五)——添加readme文件
- Inno Setup入门(十四)——替换安装程序和卸载程序的图标
- Inno Setup入门(一)——最简单的安装脚本
- Inno Setup入门(一)——最简单的安装脚本
- Inno Setup入门(十四)——替换安装程序和卸载程序的图标
- Inno Setup入门(一)——最简单的安装脚本
- Inno Setup入门(十四)——替换安装程序和卸载程序的图标
- Inno Setup入门(一)——最简单的安装脚本
- Inno Setup入门(十四)——替换安装程序和卸载程序的图标
- 单词词频统计降序排序(代码贴)
- 微信小程序wx:key和wx:for问题
- 单例模式
- GameEntity(五)—— INpc
- Linux下Nginx的安装
- Inno Setup入门(八)——有选择性的安装文件
- C++中四种类型转换符:static_cast、dynamic_cast、reinterpret_cast和const_cast要点解析
- 移植gdb到海思3716板子的方法
- ViewPager切换Fragment时ListView数据不更新
- ImageTag 安装
- mariadb linux二进制tar包安装
- ReentrantLock和synchronized关键字有什么区别
- linux 下shell 编程之循环退出break、continue
- 线程——Thread