when I run leagueoflegends install, it encounters an error when installing winetricks at vc_redist.x86.exe:
Steps to reproduce
> leagueoflegends install
gives the output:
[+] Creating wineprefix: /mnt/g/Games/legolegends/leagueoflegends
wineserver: using server-side synchronization.
0048:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0048:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0048:err:ole:apartment_get_local_server_stream Failed: 0x80004002
006c:err:winedevice:ServiceMain Failed to load L"C:\\windows\\system32\\win32k.sys"
006c:err:winedevice:ServiceMain Failed to load L"C:\\windows\\system32\\drivers\\dxgkrnl.sys"
006c:err:winedevice:ServiceMain Failed to load L"C:\\windows\\system32\\drivers\\dxgmms1.sys"
007c:err:wintrust:DllRegisterServer Failed to acquire cryptographic context: 122
0094:err:wintrust:DllRegisterServer Failed to acquire cryptographic context: 122
wine: configuration in L"/mnt/g/Games/legolegends/leagueoflegends" has been updated.
00e8:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (126).
[+] Installing winetricks verbs: vcrun2019 win10
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using winetricks 20230212-next - sha256sum: 38156a2b155ce6a42850aff06c2676c2a03158386b1f9b0ac10c88ccc8cbfb75 with wine-7.0 (Staging) and WINEARCH=win64
Executing w_do_call vcrun2019
0048:err:ole:start_rpcss Failed to start RpcSs service
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing load_vcrun2019
Using native,builtin override for following DLLs: api-ms-win-crt-private-l1-1-0 api-ms-win-crt-conio-l1-1-0 api-ms-win-crt-heap-l1-1-0 api-ms-win-crt-locale-l1-1-0 api-ms-win-crt-math-l1-1-0 api-ms-win-crt-runtime-l1-1-0 api-ms-win-crt-stdio-l1-1-0 api-ms-win-crt-time-l1-1-0 atl140 concrt140 msvcp140 msvcp140_1 msvcp140_2 msvcp140_atomic_wait msvcp140_codecvt_ids vcamp140 vccorlib140 vcomp140 vcruntime140
Executing wine C:\windows\syswow64\regedit.exe /S C:\windows\Temp\override-dll.reg
Executing wine64 C:\windows\regedit.exe /S C:\windows\Temp\override-dll.reg
grep: warning: stray \ before /
------------------------------------------------------
warning: Working around wine bug 50894 -- Working around failing wusa.exe lookup via C:\windows\SysNative
------------------------------------------------------
Executing wine winecfg -v winxp64
------------------------------------------------------
warning: Running /opt/wine-lol/bin/wineserver -w. This will hang until all wine processes in prefix=/mnt/g/Games/legolegends/leagueoflegends terminate
------------------------------------------------------
Executing cd /home/lars/.cache/winetricks/vcrun2019
Executing wine vc_redist.x86.exe /q
wineserver: using server-side synchronization.
002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (126).
------------------------------------------------------
warning: Note: command wine vc_redist.x86.exe /q returned status 122. Aborting.
------------------------------------------------------
Hi @LarsV04,
Unfortunately I wasn't able to reproduce the issue. However, I removed the unused winetricks verb, so the problem should be gone now. Please open up a new issue if problems persist.
System information
Describe the issue
when I run leagueoflegends install, it encounters an error when installing winetricks at vc_redist.x86.exe:
Steps to reproduce
gives the output: