I was trying to install latest 7zip (18.01) but get failed. It seems about the path of extracting MSI.
logs are:
PS H:\> scoop install 7zip
Installing '7zip' (18.01) [64bit]
Loading 7z1801-x64.msi from cache
Checking hash of 7z1801-x64.msi... ok.
Extracting... Error moving directory:
------------------------------------------------------------------------------- ROBOCOPY :: Robust File Cop
y for Windows ---------------------------------------------------------------------------
---- Started : Thu Apr 26 19:58:03 2018 Source : C:\Users\myuser\scoop\apps\7zip\18.01\_tmp\Files\7-Zip\ D
est : C:\Users\myuser\scoop\apps\7zip\18.01\ Files : *.* Options : *.* /S /E /COPY:DAT /MOVE /R:100000
0 /W:30 ------------------------------------------------------------------------------ 2018/04/26 19:58:03 ERROR 3 (
0x00000003) Accessing Source Directory C:\Users\myuser\scoop\apps\7zip\18.01\_tmp\Files\7-Zip\ The system cannot find
the path specified.
At C:\Users\myuser\scoop\apps\scoop\current\lib\core.ps1:249 char:9
+ throw "Error moving directory: `n$out"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (Error moving di...ath specified. :String) [], RuntimeException
+ FullyQualifiedErrorId : Error moving directory:
------------------------------------------------------------------------------- ROBOCOPY :: Robust Fil
e Copy for Windows -----------------------------------------------------------------
-------------- Started : Thu Apr 26 19:58:03 2018 Source : C:\Users\myuser\scoop\apps\7zip\18.01\_tmp\File
s\7-Zip\ Dest : C:\Users\myuser\scoop\apps\7zip\18.01\ Files : *.* Options : *.* /S /E /COPY:DA
T /MOVE /R:1000000 /W:30 ------------------------------------------------------------------------------ 2018/04
/26 19:58:03 ERROR 3 (0x00000003) Accessing Source Directory C:\Users\myuser\scoop\apps\7zip\18.01\_tmp\Files\7-Z
ip\ The system cannot find the path specified.
Did you try disabling your Antivirus?
Sometimes they tend to interfere.
Also, try running scoop checkup
Yes, the problem is still there even if Antivirus has been disabled. Also, scoop checkup shows no problem.
It seems the MSI file and log is stored in
C:\Users\myuser\scoop\apps\7zip\18.01\
But the script always try to look up from
C:\Users\myuser\scoop\apps\7zip\18.01\_tmp\Files\7-Zip\
Update:
I'm able to get it around using the solution provided in #460
Run scoop config MSIEXTRACT_USE_LESSMSI $true and try again
it was being weird for me too and i simply uninstalled restarted and re-installed and worked
You can create symlink current manually inside 7zip folder:
Closing as this issue appears to be obsolete.
Most helpful comment
You can create symlink current manually inside 7zip folder: