Julius-Ky / winetricks

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

winetricks riched20 fails if riched30 is installed #463

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. winetricks riched30
2. winetricks riched20
3. winecfg

What is the expected output? What do you see instead?

I expect to see an override for riched20. I instead see no override, but adding 
the override manually works.

richard@desktop ~ $ winetricks riched30
------------------------------------------------------
You are using a 64-bit WINEPREFIX. If you encounter problems, please retest in 
a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing w_do_call riched30
Executing load_riched30
Executing cabextract -q 
--directory=/home/richard/.wine/dosdevices/c:/windows/temp/_riched30 
/home/richard/.cache/winetricks/riched30/InstMsiA.exe
Executing cp -f 
/home/richard/.wine/dosdevices/c:/windows/temp/_riched30/riched20.dll 
/home/richard/.wine/dosdevices/c:/windows/syswow64
Executing cp -f 
/home/richard/.wine/dosdevices/c:/windows/temp/_riched30/msls31.dll 
/home/richard/.wine/dosdevices/c:/windows/syswow64
Using native,builtin override for following DLLs: riched30
Executing winetricks_early_wine regedit 
C:\windows\Temp\_riched30\override-dll.reg
richard@desktop ~ $ winetricks riched20
------------------------------------------------------
You are using a 64-bit WINEPREFIX. If you encounter problems, please retest in 
a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing w_do_call riched20
riched20 already installed, skipping

Original issue reported on code.google.com by r...@gentoo.org on 5 Jan 2015 at 2:36

GoogleCodeExporter commented 8 years ago
Couldn't winetricks have a function to check sha1sum for the file1, for special 
instances like this?

$ sha1sum riched20.dll.30_version
deb63ecb2cbc60a688797478a204a2a57f49d1e6  riched20.dll.30_version
$ sha1sum riched20.dll.20_version
74fddf8c50247518fbaac1bb6708be111adf7ff6  riched20.dll.20_version

I do see the problem is acknowledged in winetricks notes already:
# Problem - riched20 and riched30 both install riched20.dll!
# We may need a better way to distinguish between installed files.

Original comment by Shannon....@gmail.com on 8 Jan 2015 at 5:29

GoogleCodeExporter commented 8 years ago
As a workaround, running winetricks --force riched30 (while riched20 is already 
installed), should force install riched30 and set the appropriate override.

Original comment by Shannon....@gmail.com on 8 Jan 2015 at 5:31

GoogleCodeExporter commented 8 years ago
https://code.google.com/p/winetricks/source/detail?r=73ff4f980104828c2ebb7224458
52728b28adfac

Original comment by austinenglish@gmail.com on 14 Jan 2015 at 10:40