https://bugs.winehq.org/show_bug.cgi?id=48991
Bug ID: 48991 Summary: Riot Vanguard (Riot Games) fails to install due to 'xcopy' unhandled parameter '/G' Product: Wine Version: 5.6 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: programs Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
as it says. The game client reports the sub-installer failing with invalid exit code 10040.
Snapshot via Internet Archive:
https://web.archive.org/web/20200420204157/https://valorant.secure.dyn.riotc...
--- snip --- ... 000010.958| OKAY| Successfully downloaded third-party dependency 'https://riot-client.secure.dyn.riotcdn.net/channels/public/rccontent/vanguar...' 000010.984| OKAY| Successfully verified third-party dependency installer 'setup.exe' 000024.927| ALWAYS| Removing entries in directory: C:/ProgramData/Riot Games/Metadata/vanguard 000024.931| ERROR| Unable to run installation: Process exited with invalid exit code 10040 --- snip ---
--- snip --- $ WINEDEBUG=+seh,+relay,+xcopy wine ./setup.exe >>log.txt 2>&1 ... 002c:Call KERNEL32.CreateProcessW(00000000,0032ea68 L""C:\users\focht\Temp\7zC0F7402B\uninstall.exe"",00000000,00000000,00000000,00000000,00000000,00000000,0032fdc0,0032fe64) ret=0040a3c3 ... 002c:Ret KERNEL32.CreateProcessW() retval=00000001 ret=0040a3c3 ... 002e:Call KERNEL32.CreateProcessW(00000000,0136f190 L""C:\users\focht\Temp\7zC0F7402B\vgc.exe"",00000000,00000000,00000000,00000000,00000000,00000000,0022f830,0022f7a8) ret=00b073a1 ... 002e:Ret KERNEL32.CreateProcessW() retval=00000001 ret=00b073a1 ... 0030:Call KERNEL32.CreateProcessW(00000000,011b8060 L""C:\windows\system32\cmd.exe" /d /c ""C:\windows\system32\timeout.exe" /NOBREAK /T 0 && "C:\windows\system32\xcopy.exe" /I /E /C /G /H /R /Y "C:\users\focht\Temp\7zC0F7402B\*" "C:\Program Files\Riot Vanguard""",00000000,00000000,00000000,00000410,00000000,00000000,0022d100,0022d0e0) ret=7f239280e73f ... 0030:Ret KERNEL32.CreateProcessW() retval=00000001 ret=7f239280e73f ... 0038:Call KERNEL32.CreateProcessW(00222290 L"C:\windows\system32\\xcopy.exe",00ea9590 L""C:\windows\system32\xcopy.exe" /I /E /C /G /H /R /Y "C:\users\focht\Temp\7zC0F7402B\*" "C:\Program Files\Riot Vanguard"",00000000,00000000,00000001,7ffb00000000,00000000,00000000,002221c0,00222228) ret=140012d31 ... 0038:Ret KERNEL32.CreateProcessW() retval=00000001 ret=140012d31 ... 0063:trace:xcopy:XCOPY_ParseCommandLine Processing Arg: 'L"/E"' 0063:trace:xcopy:XCOPY_ParseCommandLine Processing Arg: 'L"/C"' 0063:trace:xcopy:XCOPY_ParseCommandLine Processing Arg: 'L"/G"' 0063:trace:xcopy:XCOPY_ParseCommandLine Unhandled parameter 'L"/G"' 0063:trace:xcopy:XCOPY_wprintf Writing to console? (1) 0063:trace:xcopy:wmain Supplied parameters: 0063:trace:xcopy:wmain Source : 'L""' 0063:trace:xcopy:wmain Destination : 'L""' 0063:fixme:xcopy:XCOPY_ProcessSourceParm Unexpected failure expanding source path (0) ... --- snip ---
Microsoft docs:
https://docs.microsoft.com/en-us/windows-server/administration/windows-comma...
Better docs:
https://ss64.com/nt/xcopy.html
--- snip --- /G Allow the copying of encrypted files to a destination that does not support encryption. --- snip ---
$ sha1sum setup.exe 08deca4c0b46a3481e706926c0217d1c944d22a3 setup.exe
$ du -sh setup.exe 15M setup.exe
$ wine --version wine-5.6-258-gf31a29b8d1
Regards