EXE文件,既方便了用户使用,也显得专业。于是这些EXE安装包是如何制作的呢?下面我来对一款较为实用的EXE封包软件进行介绍
那么到底是什么样的作品适合制作EXE安装包?
对于一个EXE安装程序制作的初学者,在制作EXE安装包的过程中需要明确什么样的作品适合制作安装包。
那么EXE安装包有什么好处呢!?
软件下载:
http://dl.vmall.com/c057bau11p
YingInstall 5.8 - 附带通用注册码(详见压缩文件的文件说明)
[--分页--]
软件界面展示:
左侧功能设置介绍:
【项目属性】:用于设置EXE安装程序的基本资料,如程序名称、程序版本、发行商、背景音乐等等;
【文件夹绑定】:用于将你需要安装到用户电脑的文件植入到EXE程序文件中;
【对话框设置】:用于设置EXE安装程序每一个页面的页面内容;
【附加组件选取】:用于扩展功能,本教程不涉及;
【程序快捷方式】:用于设置文件安装后开始菜单的程序文件夹;
【程序组件注册】:用于设置开始菜单程序的扩展功能,本教程不涉及;
【注册表操作】:用于针对用户电脑注册表的设置,本教程不涉及;
【字体安装】:用于特殊作品所需要的字体安装;
【安装文件过滤】:过滤文件设置,本教程不涉及;
【保留文件】:保留文件设置,本教程不涉及;
【压缩忽略项】:用于程序文件压缩的设置,本教程不涉及;
【清除安装垃圾】:用于设置安装后清除多余文件的设置,一般不会使用,本教程不涉及;
【安装后运行】:设置用户成功安装文件后执行操作内容;
【软件卸载选项】:用于设置安装文件的卸载方式。
[--分页--]
制作步骤
这里我们以Windows 7主题的EXE安装程序制作步骤为例
1. 明确安装目的:”将文件夹‘Pause 1.1’与文件‘Pause 1.1.theme’放到指定路径‘C:\Windows\Resources\Themes’“
2. 准备文件,将文件夹”Pause 1.1“与文件"Pause 1.1.theme”放到一个文件夹中,命名为“EXE”
3. 打开YingInstall 5.8,新建一个项目,点击【项目属性】对项目进行属性设置:
必要设置属性
项目名称:Pause WIN7系统主题
安装路径:C:\Windows\Resources\Themes
发行商:樱雪萌化组
文件版本:1.1
软件版本:1.0
其他属性
广告图片:图片格式BMP,在打开EXE安装程序后弹出,3秒后渐隐,图片大小建议不要超过[600*800],防止用户屏幕过小图片无法正常显示
顶部图片:安装程序界面的顶部图片,大小[548*62],格式BMP
背景音乐:安装过程中的背景音乐,音乐会在广告图片渐隐后开始播放,建议使用32比特率的音质,防止安装程序体积过大
安装包输出:EXE安装程序生成后,会在该目录生成EXE文件
安装前执行:需绑定其他EXE程序文件或脚本,一般不会使用
安装包图标:ICO格式的图标文件
4. 点击左侧的“文件夹绑定”,在[InstallDir]右侧的绑定栏双击,选中之前准备的“EXE”文件夹,点击“确定”
5. 点击左侧的对话框设置,对安装程序的页面进行设置(页面样式可以点击右下角的“查看界面”查看预览),设置如下:
欢迎安装对话框:该对话框为安装程序的第一个页面,可隐藏,该页面仅用于欢迎用户使用安装程序,可对页面左侧图片进行修改,图片格式BMP,大小[164*314]
软件许可协议书:该对话框为安装程序的第二个页面,可隐藏,协议文件书需使用.html文件导入
可是我们如果不会编辑.html文件,怎么办?
打开QQ邮箱,新建一封邮件,开始书写协议书内容,进行排版,编辑完毕后,点击编辑界面的[文字格式↓],点击 ,QQ邮箱会自动生成HTML代码,将全部内容复制,新建文本文件“软件许可协议书.txt”,将全部内容复制进去,保存退出,将文档文件名修改为“软件许可协议书.html”,你就可以得到了软件许可协议书的.html文件了。
[--分页--]
阅读软件自述:该对话框为安装程序的第三个页面,可隐藏,自述文件需使用.html文件导入
注册信息对话框:有关注册信息的设置本教程不做涉及,建议此页面隐藏
选择程序文件夹对话框:该对话框可让用户设置该安装程序所安装文件在开始菜单程序中的文件夹名称,如果不希望在开始菜单中生成程序目录,该页面可隐藏
选择安装路径对话框:该页面可让用户自己选取安装文件的安装路径,建议使用,安装程序的安装路径会默认为制作者在【项目属性】中设置的路径,用户可自行修改,如隐藏此页面,用户便无法修改程序安装路径
完成安装对话框1设置:该页面可隐藏,让用户选择是否立刻重启电脑
完成安装对话框2设置:该页面可隐藏,让用户选择完成安装后的执行动作,如:立即打开程序、打开网站链接等
6. 点击界面上方的绿色三角按钮“编译项目”,YingInstall 5.8会自动生成EXE安装程序包,打开试用一下吧!
[Tip]
1. 如果你要制作的是QQ皮肤的安装文件,一定要规定用户的QQ版本,因为现在的QQ目录中,Resource文件夹名称中夹有版本号,在版本不完全正确的情 况下无法正确覆盖相关文件,当然,你也可以将所有文件(除Users文件夹)全部打包起来,这样会强行修改安装用户的QQ版本。记得在打包完成后测试一 下,有几个Bin里的文件是不可以通过EXE安装程序覆盖的,需要从绑定文件中删除;
2. 如果你想设置安装程序可自行搜索某程序的目录,你需要用到注册表知识,请自行百度;
3. 如此生成的EXE安装程序大多会被360默认为风险文件,需提示用户选择“不处理”,如果想要避免发生此情况,需与国内多家杀毒软件商联系,过程较为麻烦。
米娜桑,我是爱你们帅气的肉肉,每日输入法皮肤来啦,喜欢的就收藏吧,下载有更多福利哦! 解压密码:
米娜桑,我是爱你们帅气的肉肉,每日输入法皮肤来啦,喜欢的就收藏吧,下载有更多福利哦! 解压密码:
米娜桑,我是爱你们帅气的肉肉,每日输入法皮肤来啦,喜欢的就收藏吧,下载有更多福利哦! 解压密码:
米娜桑,我是爱你们帅气的肉肉,每日输入法皮肤来啦,喜欢的就收藏吧,下载有更多福利哦! 解压密码: