potatoqualitee / kbupdate

🛡 KB Viewer, Saver, Installer and Uninstaller
MIT License
338 stars 50 forks source link

Module does not function on ARM64 platforms #230

Open jack-wilkinson-bokettodev opened 9 months ago

jack-wilkinson-bokettodev commented 9 months ago

Looks like there is no ARM64 sqlite DLL included? As far as I can tell from poking around. If there's no DLL compiled for ARM64, x86_64 is fine, not sure if x86 works or no on ARM64.

For reference, I'm on the Volterra on Windows 11.

Error I get hier:

PS C:\Users\REDACTED\Downloads> Get-KbUpdate -Name 'KB5033372'
New-Object : Exception calling ".ctor" with "1" argument(s): "An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)"
At C:\Users\REDACTED\Documents\WindowsPowerShell\Modules\PSSQLite\1.1.0\Invoke-SqliteQuery.ps1:429 char:25
+ ...     $conn = New-Object System.Data.SQLite.SQLiteConnection -ArgumentL ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [New-Object], MethodInvocationException
    + FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.PowerShell.Commands.NewObjectCommand

The property 'ParseViaFramework' cannot be found on this object. Verify that the property exists and can be set.
At C:\Users\REDACTED\Documents\WindowsPowerShell\Modules\PSSQLite\1.1.0\Invoke-SqliteQuery.ps1:430 char:17
+                 $conn.ParseViaFramework = $true #Allow UNC paths, tha ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : PropertyNotFound

Invoke-SqliteQuery : You cannot call a method on a null-valued expression.
At line:236 char:29
+ ... $allitems = Invoke-SqliteQuery -DataSource $script:basedb -Query $que ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-SqliteQuery