jfacen0902 / winetricks

Automatically exported from code.google.com/p/winetricks
0 stars 0 forks source link

vcrun2005 fails to properly install in win7 prefix #169

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. install and initialize a wineprefix
2. WINEPREFIX=~/.foo winetricks win7
3. WINEPREFIX=~/.foo winetricks vcrun2005

What is the expected output? What do you see instead?
I would expect a successful installation, in stead the installation reports 
mfc80.dll not found.

What version of the product are you using? On what operating system?
Arch Linux i686
Wine 1.3.37
Winetricks 20111115

Please provide any additional information below.
I've attached the output. This also shows that it does appear to properly 
install in a win2k prefix.

Original issue reported on code.google.com by stefanwi...@gmail.com on 27 Jan 2012 at 11:55

Attachments:

GoogleCodeExporter commented 8 years ago
I am experiencing the same issue. Some additional info:

One would expect that the following DLLs would be set as native in winecfg:
 - mfc80
 - mfvcp80
 - msvcr80
Instead, when checking winecfg, only the msvcr80 dll is set in the libraries 
tab.

Original comment by kashma...@gmail.com on 27 Apr 2012 at 11:39

GoogleCodeExporter commented 8 years ago
I am experiencing the same issue while installing vcrun2005sp1. Windows version 
is "Vista" 

Original comment by farhan.m...@gmail.com on 15 May 2012 at 7:29

GoogleCodeExporter commented 8 years ago
No need to set mfc80 native; wine doesn't provide one.
wine prefers native msvcp80 (see 
http://source.winehq.org/source/dlls/msvcp80/msvcp80.c#L26 )
winetricks already sets msvcr80 native

The only valid part of the bug report appears to be that
  winetricks win7 vcrun2005
fails with
  vcrun2005 install completed, but installed file c:/windows/winsxs/x86_Microsoft.VC80.MFC_1fc8b3b9a1e18e3b_8.0.50727.6195_x-ww_150c9e8b/mfc80.dll not found

That file does get installed, but to
c:/windows/winsxs/x86_microsoft.vc80.mfc_1fc8b3b9a1e18e3b_8.0.50727.6195_none_de
adbeef/mfc80.dll

Does the app that needed vcrun2005 work after that?

Is 'winetricks winxp vcrun2005 win7' an acceptable workaround?

Original comment by daniel.r...@gmail.com on 15 May 2012 at 7:47

GoogleCodeExporter commented 8 years ago
All the problem is a conflict with file names, as the setup is looking for an 
uppercase VC90, while in the folder is a lower case vc90.

Go to where it was installed in /home/user/.wine/dosdevices/c:/windows/winsxs/
Just copy the folder that the vc installer made, paste it, then rename it to 
whatever it is that the setup wants, it will continue installation, and work 
correctly.

Original comment by TDinsmoo...@gmail.com on 13 Feb 2013 at 8:42

GoogleCodeExporter commented 8 years ago
The problem is that in xp it's installed with one case, and in win7 it's 
install with the other case, I think... and winetricks doesn't have a 
case-insensitive install check.

Original comment by daniel.r...@gmail.com on 13 Feb 2013 at 8:50

GoogleCodeExporter commented 8 years ago
It works, thank you all :)

Original comment by cherrot...@gmail.com on 30 Jun 2013 at 6:56

GoogleCodeExporter commented 8 years ago
winetricks win7 vcrun2005
still fails with
vcrun2005 install completed, but installed file 
/home/dank/.local/share/wineprefixes/bug169/dosdevices/c:/windows/winsxs/x86_Mic
rosoft.VC80.MFC_1fc8b3b9a1e18e3b_8.0.50727.6195_x-ww_150c9e8b/mfc80.dll not 
found

Original comment by daniel.r...@gmail.com on 30 Jun 2013 at 1:24

GoogleCodeExporter commented 8 years ago
It's not just the case-sensitivity.  It's also the GUID gets replaced with 
deadbeef.

So winetricks would really need a way for a verb to give a list of
possible files, or maybe a function to call to check whether
the verb is installed.

Original comment by daniel.r...@gmail.com on 30 Jun 2013 at 1:43

GoogleCodeExporter commented 8 years ago
I've checked in a provisional fix that says vcrun2005 is installed if
either of those two files is present.  That might not be smart enough;
if it turns out we need
  winetricks winxp vcrun2005 win7 vcrun2005
to install it twice, we'll have to revisit this.

Does current svn fix the problem for you, stefanwilkens?

Original comment by daniel.r...@gmail.com on 1 Jul 2013 at 2:50