Installation per AutoIt
Verfasst: 27 Jul 2010, 16:50
Hallo, hat jmd. schon einmal Pakete im Opsi verteilt die per AutoIt gescriptet sind?
code der *.ins
inhalt der blabla.msi.exe
Sobald ich das außerhalt der Opsi Umgebung mache geht alles wunderbar.
Baue ich die Geschichte als Paket kann auf die *.msi nicht zugegriffen werden.
Ich weiß dass das eher ein AutoIt Problem zu sein scheint aber vllt. hat ja jmd. schon ehrfahren in Kombination von beidem.
Danke für die Antworten
code der *.ins
Code: Alles auswählen
[Initial]
LogLevel=2
; Log Errors in Logfile but don't abort:
ExitOnError=false
; Show syntax errors in the script:
ScriptErrorMessages=on
; Dont trace step by step through the script:
TraceMode=off
; let started programs run in front of the winst window
StayOnTop=false
[Aktionen]
WinBatch_install
[WinBatch_install]
%ScriptPath%\blabla.msi.exe
inhalt der blabla.msi.exe
Code: Alles auswählen
Run (@SystemDir & "\msiexec.exe /i " & @ScriptDir & "\blabla_Version_2.2.7.msi")
WinWaitActive ("blabla","Welcome to the blabla Setup Wizard")
ControlClick ("blabla","Welcome to the blabla Setup Wizard","Button1")
WinWaitActive ("blabla")
ControlClick ("blabla","Select Installation Folder","Button1")
WinWaitActive ("blabla")
ControlFocus ("blabla","TPC Settings","WindowsForms10.EDIT.app.0.378734a1")
ControlSetText ("blabla","","WindowsForms10.EDIT.app.0.378734a1","server.lala.de")
ControlClick ("blabla","TPC Settings","WindowsForms10.BUTTON.app.0.378734a2")
WinWaitActive ("blabla","Installation Complete")
ControlClick ("blabla","Installation Complete","Button1")
Baue ich die Geschichte als Paket kann auf die *.msi nicht zugegriffen werden.
Ich weiß dass das eher ein AutoIt Problem zu sein scheint aber vllt. hat ja jmd. schon ehrfahren in Kombination von beidem.
Danke für die Antworten