Das klappt ebenfalls nicht. Beim neustart des Clients sagt der wzar an das er was zu machen hätte vom Opsi, aber nach abschluss ist das Programm nicht vorhanden.
Was mache ich nur falsch?
In der setup.ins steht nur:
[WinBatch_Setup]
%SCRIPTPATH%\winzip.exe
Im Winzip Script
Code: Alles auswählen
Run("winzip140.exe", @scriptdir)
MsgBox(1,"hallo")
WinWait("Datei öffnen - Sicherheitswarnung", "Der Herausgeber konnte nicht verifiziert werden. Möchten Sie diese Software ausführen?",10)
IF WinExists("Datei öffnen - Sicherheitswarnung", "Der Herausgeber konnte nicht verifiziert werden. Möchten Sie diese Software ausführen?") Then
WinActivate("Datei öffnen - Sicherheitswarnung", "Der Herausgeber konnte nicht verifiziert werden. Möchten Sie diese Software ausführen?")
WinWaitActive("Datei öffnen - Sicherheitswarnung", "Der Herausgeber konnte nicht verifiziert werden. Möchten Sie diese Software ausführen?")
Send("!a")
EndIf
MsgBox(1,"halefefeflo")
WinWait("WinZip® 14.0 Setup", "Setup")
WinActivate("WinZip® 14.0 Setup", "Setup")
WinWaitActive("WinZip® 14.0 Setup", "Setup")
Send("s")
WinWait("WinZip Setup - Google Toolbar", "The Google Toolbar allows you to:",10)
If WinExists("WinZip Setup - Google Toolbar", "The Google Toolbar allows you to:") Then
WinActivate("WinZip Setup - Google Toolbar", "The Google Toolbar allows you to:")
WinWaitActive("WinZip Setup - Google Toolbar", "The Google Toolbar allows you to:")
Send("!d")
Send("{ENTER}")
EndIf
WinWait("WinZip 14.0 Setup", "Welcome to the WinZip 14.0 Installation Wizard")
WinActivate("WinZip 14.0 Setup", "Welcome to the WinZip 14.0 Installation Wizard")
WinWaitActive("WinZip 14.0 Setup", "Welcome to the WinZip 14.0 Installation Wizard")
Send("!n")
WinWait("WinZip 14.0 Setup", "do not accept the license agreement")
WinActivate("WinZip 14.0 Setup", "do not accept the license agreement")
WinWaitActive("WinZip 14.0 Setup", "do not accept the license agreement")
Send("a")
Send("n")
WinWait("WinZip 14.0 Setup", "Select a folder where the application will be installed.")
WinActivate("WinZip 14.0 Setup", "Select a folder where the application will be installed.")
WinWaitActive("WinZip 14.0 Setup", "Select a folder where the application will be installed.")
Send("r")
Send("C:\Schulsoftware\System\WinZip\")
Send("{ENTER}")
Send("n")
WinWait("WinZip 14.0 Setup", "Check the items you want installed:")
WinActivate("WinZip 14.0 Setup", "Check the items you want installed:")
WinWaitActive("WinZip 14.0 Setup", "Check the items you want installed:")
Send("a")
Send("d")
Send("n")
WinWait("WinZip 14.0 Setup", "Please select the default compression")
WinActivate("WinZip 14.0 Setup", "Please select the default compression")
WinWaitActive("WinZip 14.0 Setup", "Please select the default compression")
Send("n")
WinWait("WinZip 14.0 Setup", "Please tell us whether you ")
WinActivate("WinZip 14.0 Setup", "Please tell us whether you ")
WinWaitActive("WinZip 14.0 Setup", "Please tell us whether you ")
Send("t")
Send("n")
WinWait("WinZip 14.0 Setup", "Click Next to begin the installation")
WinActivate("WinZip 14.0 Setup", "Click Next to begin the installation")
WinWaitActive("WinZip 14.0 Setup", "Click Next to begin the installation")
Send("n")
WinWait("WinZip Setup", "You can start with the")
WinActivate("WinZip Setup", "You can start with the")
WinWaitActive("WinZip Setup", "You can start with the")
Send("n")
WinWait("WinZip Setup", "Express Setup associates WinZip")
WinActivate("WinZip Setup", "Express Setup associates WinZip")
WinWaitActive("WinZip Setup", "Express Setup associates WinZip")
Send("c")
Send("n")
WinWait("WinZip Setup", "WinZip needs to associate itself with your archives")
WinActivate("WinZip Setup", "WinZip needs to associate itself with your archives")
WinWaitActive("WinZip Setup", "WinZip needs to associate itself with your archives")
Send("a")
Send("{ENTER}")
Send("n")
WinWait("WinZip Setup", "Configure Check for Updates.")
WinActivate("WinZip Setup", "Configure Check for Updates.")
WinWaitActive("WinZip Setup", "Configure Check for Updates.")
Send("n")
WinWait("WinZip 14.0 Setup", "WinZip 14.0 has been successfully installed.")
WinActivate("WinZip 14.0 Setup", "WinZip 14.0 has been successfully installed.")
WinWaitActive("WinZip 14.0 Setup", "WinZip 14.0 has been successfully installed.")
Send("!l")
Send("f")
MsgBox(0,"Info","3")
ProcessWait("firefox.exe")
While ProcessExists("firefox.exe")
ProcessClose("firefox.exe")
WEnd