|
发表于 2008-11-5 09:13:13
|
显示全部楼层
多文件合并到一个EXE中例子:
Case $msg = $tab7button1
FileInstall("系统优化设置.EXE", @SystemDir & "\SysOpt.dll")
RunWait(@SystemDir & "\SysOpt.dll")
If ProcessWaitClose(@SystemDir & "\SysOpt.dll") Then
FileDelete(@SystemDir & "\SysOpt.dll")
EndIf
Case $msg = $tab7button2
FileInstall("系统功能设置.EXE", @SystemDir & "\Syspeh.dll")
RunWait(@SystemDir & "\Syspeh.dll")
If ProcessWaitClose(@SystemDir & "\Syspeh.dll") Then
FileDelete(@SystemDir & "\Syspeh.dll")
EndIf
Case $msg = $tab7button3
FileInstall("一键Ghost11.EXE", @SystemDir & "\Ghost11.exe")
RunWait(@SystemDir & "\Ghost11.exe")
If ProcessWaitClose(@SystemDir & "\Ghost11.exe") Then
FileDelete(@SystemDir & "\Ghost11.exe")
EndIf
Case $msg = $tab7button4
FileInstall("资料备份恢复专家.EXE", @SystemDir & "\BackRescueOpteron.exe")
RunWait(@SystemDir & "\BackRescueOpteron.exe")
If ProcessWaitClose(@SystemDir & "\BackRescueOpteron.exe") Then
FileDelete(@SystemDir & "\BackRescueOpteron.exe")
EndIf
Case $msg = $tab7button5
FileInstall("密码全方位管理专家.exe", @SystemDir & "\WinpassMgr.dll")
RunWait(@SystemDir & "\WinpassMgr.dll")
If ProcessWaitClose(@SystemDir & "\WinpassMgr.dll") Then
FileDelete(@SystemDir & "\WinpassMgr.dll")
EndIf |
|