Hallo und guten morgen zusammen,
ich habe via AutoIt ein "Installationsscript" für "TortoiseSVN" (aktuelle Version) erstellt.
Die Installation verläuft auch soweit wie gewünscht, nur der finale "Finish"-Button wird nicht mehr "geklickt". Dabei ist es egal, ob ich den befehl "send" nutze oder aber "ControlClick".
Ich hoffe hier schnell Hilfe und Verbesserungen zu finden und freue mich auf Beiträge. Vielen Dank vorab!
Nachstehende das Script:
Run('msiexec /i "TortoiseSVN-1.6.3.16613.msi"')
sleep(4000)
WinWait("TortoiseSVN 1.6.3.16613 (32 bit) Setup", "")
Send("!n")
; I accept the terms in the License Agreement
WinWait("TortoiseSVN 1.6.3.16613 (32 bit) License Agreement", "")
sleep(100)
send("!a")
sleep(200)
send("!n")
WinWait("TortoiseSVN 1.6.3.16613 (32 bit) Setup", "")
sleep(200)
send("!n")
; Eigentliche Installation
WinWait("TortoiseSVN 1.6.3.16613 (32 bit) Setup", "")
sleep(200)
send("!i")
; Installation beenden
WinWait("TortoiseSVN 1.6.3.16613 (32 bit) Setup", "")
sleep(200)
ControlClick("TortoiseSVN 1.6.3.16613 (32 bit) Setup", "Button2")
; oder hier statt ControlClick "send("!f")
; Reboot nicht durchführen
WinWait("Installer information", "")
sleep(500)
Send("!n")
Exit