https://bugs.winehq.org/show_bug.cgi?id=32907
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|STAGED |RESOLVED Fixed by SHA1| |de8d20436905a7394fd6fbbe1f3 | |12ffac7c2db2c
--- Comment #12 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit https://source.winehq.org/git/wine.git/commitdiff/de8d20436905a7394fd6fbbe1f...
Thanks Michael, Alistair
It still doesn't work because the app starts a "helper" service which starts another process via 'CreateProcessAsUser' which exits due to missing SECURITY_LOCAL_SYSTEM_RID in user token, leading to endless launch loop.
Windows SCM automatically adds SECURITY_LOCAL_SYSTEM_RID when starting a service process -> bug 16882
--- snip --- ... 0033:Call advapi32.SetTokenInformation(00000088,0000000c,007efdc8,00000004) ret=0041fbf1 0033:fixme:ntdll:NtSetInformationToken TokenSessionId stub! 0033:Ret advapi32.SetTokenInformation() retval=00000001 ret=0041fbf1 0033:Call advapi32.CreateProcessAsUserW(00000088,00000000,004d17c4 L""Z:\home\focht\Downloads\install\AA_v3.exe"",00000000,00000000,00000000,00000000,00000000,00000000,007efdd8,007efe1c) ret=0041fdab 0033:fixme:advapi:CreateProcessAsUserW 0x88 (null) L""Z:\home\focht\Downloads\install\AA_v3.exe"" (nil) (nil) 0 0x00000000 (nil) (null) 0x7efdd8 0x7efe1c - semi-stub ... 0035:Call KERNEL32.__wine_kernel_init() ret=7bc6cef2 0033:Ret advapi32.CreateProcessAsUserW() retval=00000001 ret=0041fdab ... 0035:Call KERNEL32.ProcessIdToSessionId(00000034,004afd40) ret=00424d80 0035:Ret KERNEL32.ProcessIdToSessionId() retval=00000001 ret=00424d80 ... 0035:Call advapi32.OpenProcessToken(ffffffff,00020008,0033f288) ret=0040756f 0035:Ret advapi32.OpenProcessToken() retval=00000001 ret=0040756f 0035:Call advapi32.GetTokenInformation(00000078,00000001,0033d278,00002000,0033f284) ret=004075b8 0035:Ret advapi32.GetTokenInformation() retval=00000001 ret=004075b8 0035:Call KERNEL32.CloseHandle(00000078) ret=004075c3 0035:Ret KERNEL32.CloseHandle() retval=00000001 ret=004075c3 0035:Call advapi32.ConvertSidToStringSidA(0033d280,0033f28c) ret=004075f9 0035:Ret advapi32.ConvertSidToStringSidA() retval=00000001 ret=004075f9 0035:Call msvcrt._stricmp(00167d70 "S-1-5-21-0-0-0-1000",004a13a0 "S-1-5-18") ret=00407610 0035:Ret msvcrt._stricmp() retval=00000001 ret=00407610 ... --- snip ---
$ sha1sum AA_v3.exe 63c52b0ac68ab7464e2cd777442a5807db9b5383 AA_v3.exe
$ du -sh AA_v3.exe 756K AA_v3.exe
$ wine --version wine-3.8-128-g8e9ea7a8a1
Regards