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

基础功能介绍:

参考:http://blog.csdn.net/liujiahan629629/article/details/7462443

其他功能
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

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值