http://bugs.winehq.org/show_bug.cgi?id=25961
Summary: Visual C++ 2008 runtime not marked as installed by default Product: Wine Version: 1.3.12 Platform: x86 OS/Version: Linux Status: NEW Severity: enhancement Priority: P2 Component: msvcrt AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
The installer for the app I'm looking at now checks for the visual c++ 2008 runtime, and runs D:\Redistributable\vcredist_x86_en.exe if it wasn't found. Now, one of these days, Wine's builtin msvcr / msvcp is going to suffice for this and most other apps, at which point Wine might want to set the registry to indicate that vcrun2008 is already installed.
This might be in the distant future, depending on how many apps need the other things that come with the runtime package, like mfc and a full msvcp, that wine does not yet provide. So this bug will likely remain open for a long time (if it's not closed for being too far ahead of its time).
For the record, this seems to be how the app is checking whether vcrun2008 is installed:
0024:Call msi.MsiQueryProductStateW(0033e2de L"{9A25302D-30C0-39D9-BD6F-21E6EC160475}") ret=0040b9ad 0024:Call advapi32.RegOpenKeyW(80000002,0033d6c2 L"Software\Microsoft\Windows\CurrentVersion\Installer\Managed\S-1-5-4\Installer\Products\D20352A90C039D93DBF6126ECE614057",0033d968) ret=7ef2cd5c 0024:Ret advapi32.RegOpenKeyW() retval=00000002 ret=7ef2cd5c 0024:Call advapi32.RegOpenKeyW(80000001,0033d6c2 L"Software\Microsoft\Installer\Products\D20352A90C039D93DBF6126ECE614057",0033d968) ret=7ef2cd5c 0024:Ret advapi32.RegOpenKeyW() retval=00000002 ret=7ef2cd5c 0024:Call advapi32.RegOpenKeyW(80000002,0033d6c2 L"Software\Classes\Installer\Products\D20352A90C039D93DBF6126ECE614057",0033d968) ret=7ef2cd5c 0024:Ret advapi32.RegOpenKeyW() retval=00000002 ret=7ef2cd5c 0024:Call advapi32.RegOpenKeyW(80000002,0033d4ca L"Software\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-4\Products\D20352A90C039D93DBF6126ECE614057\InstallProperties",0033d964) ret=7ef2b600 0024:Ret advapi32.RegOpenKeyW() retval=00000002 ret=7ef2b600 0024:Ret msi.MsiQueryProductStateW() retval=ffffffff ret=0040b9ad
http://bugs.winehq.org/show_bug.cgi?id=25961
--- Comment #1 from Dmitry Timoshkov dmitry@codeweavers.com 2011-02-02 00:32:56 CST --- Assuming that Windows 7 and probably Vista have those redistributables already preinstalled, do they have that registry key set?
http://bugs.winehq.org/show_bug.cgi?id=25961
--- Comment #2 from Dan Kegel dank@kegel.com 2011-02-02 08:45:19 CST --- Mmm, good question. I will see if I can find a virgin win7 system and report back.
http://bugs.winehq.org/show_bug.cgi?id=25961
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Installer Status|NEW |ASSIGNED CC| |focht@gmx.net Summary|Visual C++ 2008 runtime not |Multiple app/game |marked as installed by |installers fail to detect |default |Visual C++ 2008 runtime | |(Wine doesn't advertise its | |own VC++ runtime)
--- Comment #3 from Anastasius Focht focht@gmx.net 2011-10-14 15:34:26 CDT --- Hello,
found another example: "Dead Space 2" game installer. The installer fails to detect Wine's builtin and start VC++ 2008 redistributable installer.
--- snip --- 0026:Call msi.MsiQueryProductStateW(0033e2de L"{9A25302D-30C0-39D9-BD6F-21E6EC160475}") ret=0040b9ad ... 0026:trace:msi:MsiQueryProductStateW -> -1 0026:Ret msi.MsiQueryProductStateW() retval=ffffffff ret=0040b9ad ... --- snip ---
Relevant GUIDS for 2008:
Visual C++ 2008 runtime files
* VC 9.0 (x86) - {FF66E9F6-83E7-3A3E-AF14-8DE9A809A6A4} * VC 9.0 (x64) - {350AA351-21FA-3270-8B7A-835434E766AD} * VC 9.0 (ia64) - {2B547B43-DB50-3139-9EBE-37D419E0F5FA}
Visual C++ 2008 SP1 runtime files
* VC 9.0 SP1 (x86) - {9A25302D-30C0-39D9-BD6F-21E6EC160475} * VC 9.0 SP1 (x64) - {8220EEFE-38CD-377E-8595-13398D740ACE} * VC 9.0 SP1 (ia64) - {5827ECE1-AEB0-328E-B813-6FC68622C1F9}
Visual C++ 2008 SP1 ATL Security Update runtime files
* VC 9.0 SP1 ATL (x86) - {1F1C2DFC-2D24-3E06-BCB8-725134ADF989} * VC 9.0 SP1 ATL (x64) - {4B6C7001-C7D6-3710-913E-5BC23FCE91E6} * VC 9.0 SP1 ATL (ia64) - {977AD349-C2A8-39DD-9273-285C08987C7B}
Regards
http://bugs.winehq.org/show_bug.cgi?id=25961
--- Comment #4 from Dan Kegel dank@kegel.com 2011-11-13 07:10:59 CST --- Also affects nfsworld.
http://bugs.winehq.org/show_bug.cgi?id=25961
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW CC| |nerv@dawncrow.de
--- Comment #5 from André H. nerv@dawncrow.de 2011-11-22 13:55:20 CST --- fixing status, i doubt that should be assigned to AF
http://bugs.winehq.org/show_bug.cgi?id=25961
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=25961
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, obviously still present.
$ wine --version wine-1.7.24-150-gcf4404c
Regards
https://bugs.winehq.org/show_bug.cgi?id=25961
Anya animegirl@stronzi.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |animegirl@stronzi.org
https://bugs.winehq.org/show_bug.cgi?id=25961
soredake broaden_acid002@simplelogin.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|broaden_acid002@simplelogin | |.com |
https://bugs.winehq.org/show_bug.cgi?id=25961
Ker noa blue-t@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |blue-t@web.de
https://bugs.winehq.org/show_bug.cgi?id=25961
--- Comment #7 from Ker noa blue-t@web.de --- This is still true with modern versions of the runtime and modern games like Tempest Rising as of wine 9.13