Hey
Also vorab möchte ich euch darauf hinweisen das ich ein absoluter Anfänger bin was AutoIt angeht!
Ich möchte ein Script schreiben welches die Installation von diverser Standartsoftware automatisiert. Es geht dabei um folgende Programme : WinRAR , Adobe Reader , IrfanView (+Plugins) , VLC Media Player , Mozilla Firefox , OpenOffice und ein Fernwartungstool unserer Firma.
Nun ich habe mich anschließend drangesetzt und bin damit auch eigentlich relativ gut klar gekommen , aber die Installationen folgender Programme werden nicht richtig ausgeführt und ich weiß einfach nicht warum : Adobe Reader , Mozilla Firefox und OpenOffice.
Hier habe ich mal das Script für euch! Ich wäre äußerst dankbar für ein paar Lösungsansätze
[autoit]
BlockInput(1)
run ("wrar393d.exe")
winwait ("WinRAR 3.93 - Deutsche Version")
controlclick ("WinRAR 3.93 - Deutsche Version", "&Installieren", "Button2")
winwait ("WinRAR 3.93 - Deutsche Version")
Sleep (18000)
controlclick ("WinRAR-Setup", "&OK", "Button27")
winwait ("WinRAR Setup")
controlclick ("WinRAR Setup", "&Fertig", "Button1")
winwait ("WinRAR")
Winclose ("WinRAR", "FolderView")
Sleep (18000)
run ("AdbeRdr933_de_DE.exe")
winwait ("Adobe Reader 9.3.3 - Assistent")
controlclick ("Adobe Reader 9.3.3 - Assistent", "&Weiter >", "4150")
winwait ("Adobe Reader 9.3.3 - Assistent")
controlclick ("Adobe Reader 9.3.3 - Assistent", "&Installieren", "Button1")
winwait ("Adobe Reader 9.3.3 - Assistent")
controlclick ("Adobe Reader 9.3.3 - Assistent", "&Fertigstellen", "Button1")
Sleep (18000)
run ("iview427g_setup.exe")
winwait ("IrfanView Setup")
controlclick ("IrfanView Setup", "&Weiter >", "Button11")
winwait ("IrfanView Setup")
controlclick ("IrfanView Setup", "&Weiter >", "Button11")
winwait ("IrfanView Setup")
controlclick ("IrfanView Setup", "&Weiter >", "Button16")
winwait ("IrfanView Setup")
controlcommand ("IrfanView Setup", "Installieren Sie die kostenlose Google Toolbar mit IrfanView", "Button1", "Uncheck")
controlclick ("IrfanView Setup", "&Weiter >", "Button17")
winwait ("IrfanView Setup")
controlclick ("IrfanView Setup", "&Weiter >", "Button22")
winwait ("IrfanView Setup")
controlcommand ("IrfanView Setup", "IrfanView &starten", "Button2", "Uncheck")
controlclick ("IrfanView Setup", "&Fertig stellen", "Button26")
ProcessClose ("Firefox.exe")
ProcessClose ("iexplore.exe")
Sleep (18000)
run ("irfanview_plugins_427_setup.exe")
winwait ("IrfanView PlugIns Setup")
controlclick ("IrfanView PlugIns Setup", "&Weiter >", "Button3")
winwait ("IrfanView PlugIns Setup")
controlclick ("IrfanView PlugIns Setup", "OK", "Button1")
Sleep (18000)
run ("vlc-1.1.4-win32.exe")
winwait ("Installer Language")
controlclick ("Installer Language", "OK", "Button1")
winwait ("VLC media player 1.1.4 Installation")
controlclick ("VLC media player 1.1.4 Installation", "&Weiter >", "Button2")
winwait ("VLC media player 1.1.4 Installation")
controlclick ("VLC media player 1.1.4 Installation", "&Weiter >", "Button2")
winwait ("VLC media player 1.1.4 Installation")
controlclick ("VLC media player 1.1.4 Installation", "&Weiter >", "Button2")
winwait ("VLC media player 1.1.4 Installation")
controlclick ("VLC media player 1.1.4 Installation", "&Installieren", "Button2")
winwait ("VLC media player 1.1.4 Installation")
controlcommand ("VLC media player 1.1.4 Installation", "VLC media player 1.1.4 ausführen", "Button4", "Uncheck")
controlclick ("VLC media player 1.1.4 Installation", "&Fertig stellen", "Button2")
Sleep (18000)
run ("Firefox Setup 3.6.8.exe")
winwait ("Mozilla Firefox-Installation")
controlclick ("Mozilla Firefox-Installation", "&Weiter >", "Button2")
winwait ("Mozilla Firefox-Installation")
controlclick ("Mozilla Firefox-Installation", "&Weiter >", "Button2")
winwait ("Mozilla Firefox-Installation")
controlclick ("Mozilla Firefox-Installation", "&Installieren", "Button2")
winwait ("Mozilla Firefox-Installation")
controlcommand ("Mozilla Firefox-Installation", "Firefox jetzt &starten", "Button4", "Uncheck")
controlclick ("Mozilla Firefox-Installation", "&Fertig stellen", "Button2")
Sleep (18000)
run ("OOo_3.2.1_Win_x86_install_de.exe")
winwait ("OpenOffice.org 3.2 Installationsvorbereitung")
controlclick ("OpenOffice.org 3.2 Installationsvorbereitung", "&Weiter >", "Button2")
winwait ("OpenOffice.org 3.2 Installationsvorbereitung")
controlclick ("OpenOffice.org 3.2 Installationsvorbereitung", "&Entpacken", "Button2")
winwait ("OpenOffice.org 3.2 - Installationsassistent")
controlclick ("OpenOffice.org 3.2 - Installationsassistent", "&Weiter >", "Button1")
winwait ("OpenOffice.org 3.2 - Installationsassistent")
controlclick ("OpenOffice.org 3.2 - Installationsassistent", "&Weiter >", "Button5")
winwait ("OpenOffice.org 3.2 - Installationsassistent")
controlclick ("OpenOffice.org 3.2 - Installationsassistent", "&Weiter >", "Button5")
winwait ("OpenOffice.org 3.2 - Installationsassistent")
controlclick ("OpenOffice.org 3.2 - Installationsassistent", "&Installieren", "Button1")
winwait ("OpenOffice.org 3.2 - Installationsassistent")
controlclick ("OpenOffice.org 3.2 - Installationsassistent", "&Beenden", "Button1")
Sleep (1000)
FileCopy ("Fernwartung.exe", @DesktopDir & "\Fernwartung.exe")
BlockInput(0)
Mit freundlichen Grüßen ,
ZivilKranK