-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Hereby the console log under PS 7 Admin with RemoteSigned Execution Policy :
PS C:\Windows\System32> Get-ExecutionPolicy -list
Scope ExecutionPolicy
----- ---------------
MachinePolicy Undefined
UserPolicy Undefined
Process RemoteSigned
CurrentUser RemoteSigned
LocalMachine RemoteSigned
PS C:\Windows\System32> scoop install 7zip -g
Installing '7zip' (25.01) [64bit] from 'main' bucket
Loading 7z2501-x64.msi from cache
Checking hash of 7z2501-x64.msi ... ok.
Extracting 7z2501-x64.msi ... ERROR Exit code was 1622!
Failed to extract files from C:\ProgramData\scoop\apps\7zip\25.01\7z2501-x64.msi.
Log file:
C:\ProgramData\scoop\apps\7zip\25.01\msi.logPlease try again or create a new issue by using the following link and paste your console output:
https://github.com/ScoopInstaller/Main/issues/new?title=7zip%4025.01%3a+decompress+error
Retrying and emptying %temp% folder did not change anything. No log found around however.
The subject MSI File can be duely opened and viewed under Explorer, WinRar or 7z. However trying to install it thru double click leads invariably to Windows Installer Error Message : Unable to open the installation file. Invalid Windows Installer package.
Please note scoop has been successfully installed but with User Scope in spite of running the GitHub downloaded Install-ScoopForAll.ps1 script under PS 7 with administrator privilege (after failing to install as Admin according to https://github.com/ScoopInstaller/Install#readme recommendations).
Thanks in advance for help. I would like to install scoop globally and thought (since 7z and Git are prereqs for scoop install) I should first install 7zip under global scope berfore uninstalling the User Scope version like I successfully did for Git, but this proves unfeasible up to now, giving this msi error.