#AutoIt3Wrapper_outfile = dsb_deluxe_full18_zd.exe
#AutoIt3Wrapper_Res_Description = 软件: [" & $TestPath[3] & "] 自动安装
#AutoIt3Wrapper_Res_Comment = 脚本生成于: " & $Time & "
#Include <D:\Documents\Desktop\Auto_Code2\Auto_Code\Resource\GuiLVTV.au3>
Opt("MouseCoordMode", 0)
Opt("MouseClickDelay", 250)
Global $hListView, $Path_Fitx, $Path_Fit, $Nem_Path
$Path_Fitx = StringInStr ( ClipGet(), ":", 2 )
If $Path_Fitx = 0 Then
$Path_Fit = ""
Else
$Path_Fit = ClipGet()
EndIf
If FileExists("D:\Documents\Desktop\Auto_Code2\Auto_Code\temp.txt") Then FileDelete("D:\Documents\Desktop\Auto_Code2\Auto_Code\temp.txt")
$file = FileOpen("D:\Documents\Desktop\Auto_Code2\Auto_Code\temp.txt", 1)
FileWriteLine($file, "dsb_deluxe_full18.exe")
FileWriteLine($file, "dsb_deluxe_full18_zd.exe")
FileClose($file)
Run("D:\Documents\Desktop\Auto_Code2\Auto_Code\ProcessMonitor.exe")
ProcessWait("ProcessMonitor.exe")
Run(@ScriptDir & "\dsb_deluxe_full18.exe")
WinWait("Setup - Wondershare DVD Slideshow Builder Deluxe","Welcome ")
WinActivate("Setup - Wondershare DVD Slideshow Builder Deluxe","Welcome ")
Sleep(250)
ControlClick("Setup - Wondershare DVD Slideshow Builder Deluxe", "","TNewButton1")
WinWait("Setup - Wondershare DVD Slideshow Builder Deluxe","License ")
WinActivate("Setup - Wondershare DVD Slideshow Builder Deluxe","License ")
Sleep(250)
ControlClick("Setup - Wondershare DVD Slideshow Builder Deluxe", "","TNewRadioButton1")
Sleep(250)
ControlClick("Setup - Wondershare DVD Slideshow Builder Deluxe", "","TNewButton2")
WinWait("Setup - Wondershare DVD Slideshow Builder Deluxe","Select D")
WinActivate("Setup - Wondershare DVD Slideshow Builder Deluxe","Select D")
Sleep(250)
ControlClick("Setup - Wondershare DVD Slideshow Builder Deluxe", "","TNewButton3")
Sleep(250)
ControlClick("Setup", "","")
WinWait("Setup - Wondershare DVD Slideshow Builder Deluxe","Select A")
WinActivate("Setup - Wondershare DVD Slideshow Builder Deluxe","Select A")
Sleep(250)
ControlClick("Setup - Wondershare DVD Slideshow Builder Deluxe", "","TNewButton3")
WinWait("Setup - Wondershare DVD Slideshow Builder Deluxe","Ready to")
WinActivate("Setup - Wondershare DVD Slideshow Builder Deluxe","Ready to")
Sleep(250)
ControlClick("Setup - Wondershare DVD Slideshow Builder Deluxe", "","TNewButton3")
WinWait("Setup - Wondershare DVD Slideshow Builder Deluxe","Completi")
WinActivate("Setup - Wondershare DVD Slideshow Builder Deluxe","Completi")
MouseClick ("left",190, 212, 1, 20)
Sleep(250)
ControlClick("Setup - Wondershare DVD Slideshow Builder Deluxe", "","TNewButton3")
FileDelete ("D:\Documents\Desktop\Auto_Code2\Auto_Code\temp.txt")
ToolTip("将延时 5 秒以监视目标程序退出后的弹窗进程!", @DesktopWidth/2, @DesktopHeight/2, "已完成 [ dsb_deluxe_full18 ] 的自动安装.", 1, 2)
Sleep ( 5000 )
Send("!{F2}");关闭进程监视