vegardit / scoop-portable

Self-contained Windows batch file that installs/loads a portable scoop (https://scoop.sh) environment.
Apache License 2.0
8 stars 3 forks source link

Can't install anything #7

Open YukiSuter opened 3 days ago

YukiSuter commented 3 days ago

Attempting to install anything using the scoop environment set up by scoop-portable results in:

Can't shim 'XXXXXX.exe': File doesn't exist.

Used instructions on readme.md and simply ran "scoop install 7zip". The error occurs whether ran in command prompt, or powershell opened via cmd after running the ".cmd" file.

Install log:

Installing '7zip' (24.08) [64bit] from 'main' bucket
Loading 7z2408-x64.msi from cache
Checking hash of 7z2408-x64.msi ... ok.
Extracting 7z2408-x64.msi ... done.
Linking H:\Apps\Scoop\apps\7zip\current => H:\Apps\Scoop\apps\7zip\24.08
New-Item : Incorrect function
At H:\Apps\Scoop\apps\scoop\current\lib\install.ps1:1126 char:9
+         New-Item -Path $source -ItemType Junction -Value $target
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (H:\Apps\Scoop\apps\7zip\current:String) [New-Item], Win32Exception
    + FullyQualifiedErrorId : NewItemCreateIOError,Microsoft.PowerShell.Commands.NewItemCommand

Creating shim for '7z'.
Get-Command : The term '7z.exe' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At H:\Apps\Scoop\apps\scoop\current\lib\install.ps1:757 char:21
+             $bin = (Get-Command $target).Source
+                     ~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (7z.exe:String) [Get-Command], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException,Microsoft.PowerShell.Commands.GetCommandCommand

Can't shim '7z.exe': File doesn't exist.
sebthom commented 2 days ago

Scoop uses symbolic links and junctions. looks like the file system of your drive H: doesn't support this. try to install scoop in drive C: to see if it works there.