Hier mal mein Lösungsansatz dazu für die Allgemeinheit:
C
#include <Inet.au3>
#include <File.au3>
; download SQLite-dll:
If Not FileExists("sqlite3.dll") then
$sWebPage = _InetGetSource("https://www.sqlite.org/download.html")
$aSourceFile = StringRegExp($sWebPage, "(?i)(?:')(\d+/sqlite-dll-win32-x86-\d+.zip)(?:')", 1)
$tmp = _TempFile(default, default, ".zip")
InetGet("https://www.sqlite.org/" & $aSourceFile[0], $tmp)
$oShell = ObjCreate("Shell.Application")
$scriptDir = $oShell.NameSpace(@ScriptDir)
$scriptDir.CopyHere($tmp & "\sqlite3.dll", 4)
FileDelete($tmp)
EndIf
Alles anzeigen