wildmint / winezeug

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

winetricks fials when trying to register fonts #99

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I am currently running Fedora 12. I got the winetricks script version 
20100201. I executed "sh winetricks corefonts" and received the following 
output:

$ sh winetricks corefonts
...
...
Executing early_wine regedit c:\winetrickstmp\register-font.reg
regedit: File not found "c:\winetrickstmp\register-font.reg" (2)
Note: command 'early_wine regedit c:\winetrickstmp\register-font.reg' 
returned status 1.  Aborting.
$

I fixed the problem by applying the patch listed here:
http://code.google.com/p/winezeug/issues/detail?id=96
And by changing line 659 of the script to read:
try_regedit "$WINETRICKS_TMP"\\register-font.reg
instead of: try_regedit "$WINETRICKS_TMP_WIN"\\register-font.reg

Here are the sum changes:

$ diff winetricks winetricks.new 
45c45
<     DRIVE_C="$WINEPREFIX/drive_c"

---
>     DRIVE_C="$WINEPREFIX/dosdevices/c:"
659c659
<     try_regedit "$WINETRICKS_TMP_WIN"\\register-font.reg

---
>     try_regedit "$WINETRICKS_TMP"\\register-font.reg

After these changes, the script installed corefonts as expected. I do not 
know which change fixed the problem, only that with both, the problem was 
resolved for me, but not with just the previously reported patch.

Let me know if you need more debugging information, and if there is 
anything more I can do to help.

Austin
jaustinpage@gmail.com

What steps will reproduce the problem?
1. Have fedora
2. download winetricks
3. try to install corefonts

What is the expected output? What do you see instead?
Failure in a try block instead of success

What version of the product are you using? On what operating system?
20100201
Fedora 12 x86_64
wine-1.1.38

Please provide any additional information below.

Original issue reported on code.google.com by JAustinP...@gmail.com on 2 Mar 2010 at 10:00

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I am also having this problem with installing dotnet20. 
$sh winetricks dotnet20
Instaling .net 2.0 runtime.  Can take several minutes.  See 
http://wiki.winehq.org/MicrosoftDotNet for tips.
Setting Windows version to win2k
Executing early_wine regedit c:\winetrickstmp\set-winver.reg
regedit: File not found "c:\winetrickstmp\set-winver.reg" (2)
Note: command 'early_wine regedit c:\winetrickstmp\set-winver.reg' returned 
status 1.  
Aborting.

Making a similar change as in the original post to line 480.

Original comment by JAustinP...@gmail.com on 2 Mar 2010 at 10:19

GoogleCodeExporter commented 8 years ago
This may be a duplicate of bug 80. I have not had time to confirm, and i saw 
bug 80 
about 20 seconds after I finished typing this...

I have deleted all but drive_c in my .wine folder

Original comment by JAustinP...@gmail.com on 2 Mar 2010 at 10:21

GoogleCodeExporter commented 8 years ago
You can avoid this problem by creating a symlink to wine32:

mv /usr/bin/wine /usr/bin/wine_old
ln -s /usr/bin/wine32 /usr/bin/wine

Works on Fedora 12 (kernel 2.6.32.11-99.fc12.x86_64) with Wine-1.1.38.

Original comment by patu...@gmail.com on 7 May 2010 at 5:07

GoogleCodeExporter commented 8 years ago
Was this really caused by running a 64 bit wine?  If so, current winetricks 
should provide more guidance to users.

Original comment by daniel.r...@gmail.com on 5 Jan 2011 at 8:23

GoogleCodeExporter commented 8 years ago
(I mean, it's already better at aborting if you're doing something wrong with 
64 bit wine.) 
Please try it again with current wine and winetricks.

Original comment by daniel.r...@gmail.com on 5 Jan 2011 at 8:24