您的位置:首页 > 其它

打包软件——Setup factory 7.0使用介绍

2014-03-15 15:09 302 查看

基础功能介绍:

参考:/article/1596855.html

其他功能

1. 制作桌面快捷方式

选择文件 -> 编辑文件属性 -> 打开对话框选择快捷方式 -> 可以选择设置到桌面、



2. 增加复选框界面

选择屏幕 -> 安装之前 -> 添加 -> 选择检查框,这样就能出现检查框的界面了,同时可以删除和选择这些界面出现的位置:



3. 运行选中程序

在程序安装之后,需要执行选择的程序(复选框中选中的),这时在 屏幕-> 安装之后 -> 编辑 ->操作-> On Preload 中编写代码,也就是在finish界面出现之前,来完成应用程序的安装或者插件的安装操作。



通过将复选框中的变量用来判断是否选择来选择执行默认的程序,同时需要先保证程序执行完后才允许运行finish程序。

-- 这些操作在屏幕显示之前执行。

if check01 then

result = File.Run(SessionVar.Expand("%AppFolder%\\iebook_setup_6.0.0.4.exe"), "", "", SW_SHOWNORMAL, false);

repeat
setupEnd = File.IsInUse(SessionVar.Expand("%AppFolder%\\iebook_setup_6.0.0.4.exe"));
until not setupEnd

end

if check02 then

result = File.Run(SessionVar.Expand("%AppFolder%\\iku2.1_setup.exe"), "", "", SW_SHOWNORMAL, false);

repeat
setupEnd = File.IsInUse(SessionVar.Expand("%AppFolder%\\iku2.1_setup.exe"));
until not setupEnd

end

if check03 then

result = File.Run(SessionVar.Expand("%AppFolder%\\NKSetup2.5.0050.exe"), "", "", SW_SHOWNORMAL, false);

repeat
setupEnd = File.IsInUse(SessionVar.Expand("%AppFolder%\\NKSetup2.5.0050.exe"));
until not setupEnd

end

if check04 then

result = File.Run(SessionVar.Expand("%AppFolder%\\iebook_setup_6.0.0.4.exe"), "", "", SW_SHOWNORMAL, false);

repeat
setupEnd = File.IsInUse(SessionVar.Expand("%AppFolder%\\iebook_setup_6.0.0.4.exe"));
until not setupEnd

end

if check05 then

result = File.Run(SessionVar.Expand("%AppFolder%\\iebook_setup_6.0.0.4.exe"), "", "", SW_SHOWNORMAL, false);

repeat
setupEnd = File.IsInUse(SessionVar.Expand("%AppFolder%\\iebook_setup_6.0.0.4.exe"));
until not setupEnd

end
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐