Skip to content

v2.6.2.0 install failed with Failed step: Registering Windows 11 sparse package #43

Description

@o-l-a-v

Dialog box:

---------------------------
HashCheck Setup
---------------------------
An unexpected error occurred during installation.

Failed step: Registering Windows 11 sparse package

Log file: C:\Users\<redacted>\AppData\Local\Temp\HashCheckSetup.log
---------------------------
OK   
---------------------------

Content of %LOCALAPPDATA%\Temp\HashCheckSetup.log:

HashCheck setup log
Command line: "C:\Users\<redacted>\Desktop\HashCheckSetup-v2.6.2.0.exe" 
Log file: C:\Users\<redacted>\AppData\Local\Temp\HashCheckSetup.log
Extracting 64-bit HashCheck.dll
Registering 64-bit shell extension
64-bit regsvr32 exit code: 0
Creating C:\Program Files\HashCheck
Extracting 64-bit TBB runtime
Installing 64-bit TBB runtime
Extracting TBB runtime license
Extracting packaged app host
Extracting Windows 11 package visual assets
Extracting Windows 11 package resource index
Extracting Windows 11 sparse package
Registering Windows 11 sparse package
PowerShell version: 5.1.26100.8875
OS version: 10.0.26200.0
Package path: C:\Program Files\HashCheck\HashCheckWin11.msix
External location: C:\Program Files\HashCheck
ERROR installing Windows 11 sparse package: The 'Get-AuthenticodeSignature' command was found in the module 'Microsoft.PowerShell.Security', but the module could not be loaded. For more information, run 'Import-Module Microsoft.PowerShell.Security'.
At: At C:\Users\<redacted>\AppData\Local\Temp\HashCheckWin11Install.ps1:12 char:18
+     $signature = Get-AuthenticodeSignature -LiteralPath $PackagePath
+                  ~~~~~~~~~~~~~~~~~~~~~~~~~
Sparse package registration exit code: 1
ERROR: Registering Windows 11 sparse package

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions