wie entpacke ich das
So sollte es gehen:
AutoIt
; Download Teamviewer to @WorkingDir
Local $sCMD = 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -ExecutionPolicy Bypass -command Invoke-WebRequest -Uri "https://download.teamviewer.com/download/TeamViewerPortable.zip" -OutFile ".\teamviewer.zip"'
If RunWait($sCMD, "", @SW_Show) Then
ConsoleWrite('Download Teamviewer: @error = ' & @error & @CRLF)
Else
; Extract Zip-Archiv to @WorkingDir & '\teamviewer'
$sCMD = 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -ExecutionPolicy Bypass Expand-Archive -Path .\teamviewer.zip -DestinationPath .\teamviewer'
If RunWait($sCMD, "", @SW_Show) Then
ConsoleWrite('Extract Zip-Archiv: @error = ' & @error & @CRLF)
EndIf
EndIf
Alles anzeigen