[Bug 43095] 32-bit GOG Galaxy client can' t use bundled mfc140u.dll due to 64-bit VC++ 2015 redistributables getting incorrectly installed into SysWOW64 when run under 64-bit Wine

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jun 12 06:56:31 CDT 2017


https://bugs.winehq.org/show_bug.cgi?id=43095

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |download, Installer
         Resolution|---                         |DUPLICATE
             Status|UNCONFIRMED                 |RESOLVED
            Summary|GOG Galaxy needs            |32-bit GOG Galaxy client
                   |mfc140u.dll                 |can't use bundled
                   |                            |mfc140u.dll due to 64-bit
                   |                            |VC++ 2015 redistributables
                   |                            |getting incorrectly
                   |                            |installed into SysWOW64
                   |                            |when run under 64-bit Wine
          Component|mfc                         |msi
                URL|                            |https://cdn.gog.com/open/ga
                   |                            |laxy/client/setup_galaxy_1.
                   |                            |2.10.31.exe
                 CC|                            |focht at gmx.net

--- Comment #5 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

the summary is wrong.

The client installer distributes both, the 32-bit and 64-bit MS VC++ 2015
runtime.

--- snip ---
$ WINEDEBUG=+tid,+seh,+process,+relay,+msi wine ./setup_galaxy_1.2.10.31.exe
>>log.txt 2>&1
...
0038:Call KERNEL32.CreateProcessW(00000000,006b7b8c
L"\"C:\\users\\focht\\Temp\\is-0AQOM.tmp\\setup_galaxy_1.2.10.31.tmp\"
/SL5=\"$1006E,158297396,274432,Z:\\home\\focht\\Downloads\\setup_galaxy_1.2.10.31.exe\"
",00000000,00000000,00000000,00000000,00000000,00000000,0033fd64,0033fd54)
ret=0040ebc5
0038:trace:process:create_process_impl app (null) cmdline
L"\"C:\\users\\focht\\Temp\\is-0AQOM.tmp\\setup_galaxy_1.2.10.31.tmp\"
/SL5=\"$1006E,158297396,274432,Z:\\home\\focht\\Downloads\\setup_galaxy_1.2.10.31.exe\"
"
...
0038:trace:process:create_process_impl starting
L"C:\\users\\focht\\Temp\\is-0AQOM.tmp\\setup_galaxy_1.2.10.31.tmp" as Win32
binary (0x400000-0x552000, arch 014c)
...
003a:Call KERNEL32.__wine_kernel_init() ret=7bc6a77e 
...
0038:trace:process:create_process_impl started process pid 0039 tid 003a
0038:Ret  KERNEL32.CreateProcessW() retval=00000001 ret=0040ebc5
...
003a:Call KERNEL32.CreateProcessW(00000000,006049ec
L"\"C:\\users\\focht\\Temp\\is-5QJ16.tmp\\vcredist_x86_2015.exe\" /install
/quiet /norestart",00000000,00000000,00000000,04000000,00000000,00674b94
L"C:\\users\\focht\\Temp\\is-5QJ16.tmp",0032e948,0032e938) ret=004ad075 
...
003a:trace:process:create_process_impl starting
L"C:\\users\\focht\\Temp\\is-5QJ16.tmp\\vcredist_x86_2015.exe" as Win32 binary
(0x400000-0x465000, arch 014c) 
...
003a:trace:process:create_process_impl started process pid 003b tid 003c
003a:Ret  KERNEL32.CreateProcessW() retval=00000001 ret=004ad075 
...
003c:Call KERNEL32.CreateProcessW(0014ae78
L"C:\\users\\focht\\Temp\\is-5QJ16.tmp\\vcredist_x86_2015.exe",0014b290
L"\"C:\\users\\focht\\Temp\\is-5QJ16.tmp\\vcredist_x86_2015.exe\" /install
/quiet /norestart -burn.unelevated
BurnPipe.{B4BFA57B-0D63-47B4-81BE-F3B801CDB0D7}
{E4358543-FDB8-4A5E-849F-B3BE708B4EF8}
59",00000000,00000000,00000000,00000000,00000000,00000000,0033f6a0,0033f6e4)
ret=0043062e 
...
003c:trace:process:create_process_impl starting
L"C:\\users\\focht\\Temp\\is-5QJ16.tmp\\vcredist_x86_2015.exe" as Win32 binary
(0x400000-0x465000, arch 014c) 
...
003c:trace:process:create_process_impl started process pid 003e tid 003f
003c:Ret  KERNEL32.CreateProcessW() retval=00000001 ret=0043062e 
...
003a:Call KERNEL32.CreateProcessW(00000000,0062d7dc
L"\"C:\\users\\Public\\Application
Data\\GOG.com\\Galaxy\\redists\\overlay\\vs2015-redist-x64.exe\" /install
/quiet /norestart",00000000,00000000,00000000,04000000,00000000,0058102c
L"C:\\users\\Public\\Application
Data\\GOG.com\\Galaxy\\redists\\overlay",0032e948,0032e938) ret=004ad075 
...
003a:trace:process:create_process_impl starting
L"C:\\users\\Public\\Application
Data\\GOG.com\\Galaxy\\redists\\overlay\\vs2015-redist-x64.exe" as Win32 binary
(0x400000-0x465000, arch 014c) 
...
003a:trace:process:create_process_impl started process pid 004a tid 004b
003a:Ret  KERNEL32.CreateProcessW() retval=00000001 ret=004ad075 
...
004b:Call KERNEL32.CreateProcessW(0014b170 L"C:\\users\\Public\\Application
Data\\GOG.com\\Galaxy\\redists\\overlay\\vs2015-redist-x64.exe",0014b588
L"\"C:\\users\\Public\\Application
Data\\GOG.com\\Galaxy\\redists\\overlay\\vs2015-redist-x64.exe\" /install
/quiet /norestart -burn.unelevated
BurnPipe.{A129A6C6-784D-4F3C-A25E-AFC76F62989C}
{2278ED55-0051-473B-8D49-7CC48FFC87AE}
74",00000000,00000000,00000000,00000000,00000000,00000000,0033f6a0,0033f6e4)
ret=0043062e 
...
004b:trace:process:create_process_impl starting
L"C:\\users\\Public\\Application
Data\\GOG.com\\Galaxy\\redists\\overlay\\vs2015-redist-x64.exe" as Win32 binary
(0x400000-0x465000, arch 014c) 
...
004b:trace:process:create_process_impl started process pid 004d tid 004e
004b:Ret  KERNEL32.CreateProcessW() retval=00000001 ret=0043062e
...
003a:Call KERNEL32.CreateProcessW(00000000,0033dba4 L"\"C:\\Program Files
(x86)\\GOG Galaxy\\GalaxyClient.exe\"
/firstRun",00000000,00000000,00000000,00000410,00000000,001bb8d0 L"C:\\Program
Files (x86)\\GOG Galaxy",0033d680,0033d670) ret=7e3b10c5 
...
003a:trace:process:create_process_impl starting L"C:\\Program Files (x86)\\GOG
Galaxy\\GalaxyClient.exe" as Win32 binary (0x400000-0x8c3000, arch 014c) 
...
003a:trace:process:create_process_impl started process pid 0059 tid 005a
003a:Ret  KERNEL32.CreateProcessW() retval=00000001 ret=7e3b10c5
--- snip ---

The game client is 32-bit, even when installed in 64-bit WINEPREFIX:

--- snip ---
$ find . -iname "*.exe" -exec file {} \;

./users/Public/Application Data/GOG.com/Galaxy/redists/GalaxyCommunication.exe:
PE32 executable (GUI) Intel 80386, for MS Windows
./users/Public/Application Data/GOG.com/Galaxy/redists/GalaxyUpdater.exe: PE32
executable (GUI) Intel 80386, for MS Windows
./users/Public/Application
Data/GOG.com/Galaxy/redists/overlay/GalaxyOverlay.exe: PE32 executable (GUI)
Intel 80386, for MS Windows
./users/Public/Application
Data/GOG.com/Galaxy/redists/overlay/vs2015-redist-x64.exe: PE32 executable
(GUI) Intel 80386, for MS Windows
./users/Public/Application
Data/GOG.com/Galaxy/redists/overlay/injected/overlay_injector_Win32_Release.exe:
PE32 executable (console) Intel 80386, for MS Windows
./users/Public/Application
Data/GOG.com/Galaxy/redists/overlay/injected/overlay_injector_Win32_ReleaseWithLogging.exe:
PE32 executable (console) Intel 80386, for MS Windows
./users/Public/Application
Data/GOG.com/Galaxy/redists/overlay/injected/overlay_injector_x64_Release.exe:
PE32+ executable (console) x86-64, for MS Windows
./users/Public/Application
Data/GOG.com/Galaxy/redists/overlay/injected/overlay_injector_x64_ReleaseWithLogging.exe:
PE32+ executable (console) x86-64, for MS Windows
./users/Public/Application Data/Package
Cache/{2e085fd2-a3e4-4b39-8e10-6b8d35f55244}/VC_redist.x86.exe: PE32 executable
(GUI) Intel 80386, for MS Windows
./users/Public/Application Data/Package
Cache/{323dad84-0974-4d90-a1c1-e006c7fdbb7d}/VC_redist.x64.exe: PE32 executable
(GUI) Intel 80386, for MS Windows
./Program Files/Internet Explorer/iexplore.exe: PE32+ executable (GUI) x86-64,
for MS Windows
./Program Files/Windows Media Player/wmplayer.exe: PE32+ executable (GUI)
x86-64, for MS Windows
./Program Files/Windows NT/Accessories/wordpad.exe: PE32+ executable (GUI)
x86-64, for MS Windows
./Program Files (x86)/Internet Explorer/iexplore.exe: PE32 executable (GUI)
Intel 80386, for MS Windows
./Program Files (x86)/Windows Media Player/wmplayer.exe: PE32 executable (GUI)
Intel 80386, for MS Windows
./Program Files (x86)/Windows NT/Accessories/wordpad.exe: PE32 executable (GUI)
Intel 80386, for MS Windows
./Program Files (x86)/GOG Galaxy/unins000.exe: PE32 executable (GUI) Intel
80386, for MS Windows
./Program Files (x86)/GOG Galaxy/CrashReporter.exe: PE32 executable (GUI) Intel
80386, for MS Windows
./Program Files (x86)/GOG Galaxy/GalaxyClient Helper.exe: PE32 executable (GUI)
Intel 80386, for MS Windows
./Program Files (x86)/GOG Galaxy/GalaxyClient.exe: PE32 executable (GUI) Intel
80386, for MS Windows
./Program Files (x86)/GOG Galaxy/GalaxyClientService.exe: PE32 executable (GUI)
Intel 80386, for MS Windows
./Program Files (x86)/GOG Galaxy/GOG Galaxy Notifications Renderer.exe: PE32
executable (GUI) Intel 80386, for MS Windows
--- snip ---

See also community wishlist:
https://www.gog.com/wishlist/galaxy/64bit_gog_galaxy ("64bit GoG Galaxy") ->
64-bit client would be pointless.

Since you're using a 64-bit WINEPREFIX you essentially encounter bug 30713 here
when VC++ 2015 x64 runtime installer is run -> duplicate.

Everything else from comment #3 onwards belongs to separate ticket(s).
Mixing multiple issues into one ticket is considered bad practice.
Create new tickets as needed.

Regards

*** This bug has been marked as a duplicate of bug 30713 ***

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list