ZIP extraction fails when %temp% is set to a RAMDisk #4520
Labels
Command-Install
Issue related to WinGet Install
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Portable
Issue related to portable package
Brief description of your issue
Note: I will use
git-cola.git-cola
as an example package for this issue, but this works with any other package that uses a zip archive during installI use a RAMDisk to put temporary files on it, and whenever I attempt to install a program that uses a zip file (regardless of the contents being a portable package or an exe installer), the extraction always fails. The problem started to appear when I started to put temporary file on the said RAMDisk, without updating winget or anything else.
Steps to reproduce
C:\Program Files\ImDisk\RamDiskUI.exe
winget install git-cola.git-cola
Expected behavior
Silently extracts the zip and successfully installs package
Actual behavior
The package installation fails with the following error:
weakly_canonical: Fonction incorrecte.: "R:\Temp\WinGet\git-cola.git-cola.4.6.1\extracted\git-cola-4.6.1.exe"
Environment
The text was updated successfully, but these errors were encountered: