yes! finally, i have finished the totally automated installation, now i understand the function of some more commands.. i didnīt know how to write some lines, especify FileInstall and Runwait..
well, i made two scripts, one in the other, like this:
first script name: Alcohol 1.exe
CODE
#NoTrayIcon
$title = "Alcohol 120% 1.9.8.7117"
Run("Alcohol1.9.8.7117.exe")
WinWait($title)
ControlClick($title, "Click Next to continue.", "&Next >")
WinWait($title)
ControlClick($title, "Please review the license", "I &Agree")
WinWait($title)
ControlClick($title, "Choose Components", "&Next >")
WinWait($title)
ControlClick($title, "Choose Install Location", "&Install")
WinWait($title, "Click Finish to close this wizard.")
Send("{TAB}")
Send("{TAB}")
Send("{TAB}")
Send("{TAB}")
Send("{SPACE}")
Send("{DOWN}")
Send("{SPACE}")
ControlClick($title, "Alcohol 120% has been installed on your computer.", "&Finish")
Later, i made other script, like this:
CODE
#NoTrayIcon
FileInstall("Alcohol1.9.8.7117.exe", @TempDir & '\Alcohol1.9.8.7117.exe')
FileInstall("Alcohol 1.exe", @TempDir & '\Alcohol 1.exe')
RunWait('"' & @TempDir & '\Alcohol 1.exe', @TempDir)
Sleep(500)
FileDelete(@TempDir & '\Alcohol1.9.8.7117.exe')
FileDelete(@TempDir & '\Alcohol 1.exe')
Like this, the second script uses the first for automated installation, and later they are deleted..
I hope you understand me, sorry for the bad english

, you help me very much, thank you!!