ITADN

Unable to use 7z.exe from Playnite to install a game

#38Opencharredchar 创建于 2025-08-09
C
charredcharcommented
I am on Local Library 1.7.0 and Playnite 10.37 so I am not sure if this is the same [issue here ](https://github.com/azuravian/playnite-LocalLibrary/issues/4)but it sounds very similar. I selected the `7z.exe` program (in C:\Program Files\7-Zip\) in the Unarchiver options for compressed files. When attempting to install, I select the folder and UAC pops up wanting admin permissions. Once granted I see a command window blip by then Playnite stays the install failed. I duplicated the command shown in the UAC alert in a non-admin command prompt and it completes without an issue. ``` c:\Users\char>"C:\Program Files\7-Zip\7z.exe" x -o"C:\Games\Starwhal" "M:\Games\Microsoft Windows\Starwhal\Starwhal.7z" 7-Zip 24.09 (x64) : Copyright (c) 1999-2024 Igor Pavlov : 2024-11-29 Scanning the drive for archives: 1 file, 54742555 bytes (53 MiB) Extracting archive: M:\Games\Microsoft Windows\Starwhal\Starwhal.7z -- Path = M:\Games\Microsoft Windows\Starwhal\Starwhal.7z Type = 7z Physical Size = 54742555 Headers Size = 1243 Method = LZMA:23 Solid = + Blocks = 1 Everything is Ok Folders: 10 Files: 32 Size: 411496936 Compressed: 54742555 c:\Users\char> ``` If I point LocalLibrary to `7zFM.exe` instead it opens the archive and I can manually extract it from the 7zip file manager and all goes well. Just for a sanity check I ran Playnite as an admin and it has the same issue. I also did not see anything related to LocalLibrary in the `extensions.log` besides the normal scanning. ``` 09-08 17:01:21.831|INFO |LocalLibrary#Finder:Task FindInstallers() - 00:01.40 for 134/134 items ``` I am confused as to why it would pop up UAC at all when I don't need admin rights normally to run the same command. I would prefer to not need it as one PC I intend to use LocalLibrary on won't be logged into an admin account.
0 条评论