[问题]注册表无法导入??

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
lylkr
帖子: 23
注册时间: 2008-01-09 21:16

[问题]注册表无法导入??

#1

帖子 lylkr » 2008-01-14 16:16

安装wine后
regedit zh.reg 后提示

Warning: the specified Windows directory L"c:\\windows" is not accessible.
Warning: the specified System directory L"c:\\windows\\system32" is not accessible.
Warning: could not find DOS drive for current working directory '/home/lylkr', starting in the Windows directory.
Warning: the specified Windows directory L"c:\\windows" is not accessible.
Warning: the specified System directory L"c:\\windows\\system32" is not accessible.
Warning: could not find DOS drive for current working directory '/', starting in the Windows directory.
err:wineboot:main Cannot set the dir to L"c:\\windows" (2)
regedit: File not found "zh.reg" (2)

什么意思?如何解决?

zh.reg的绝对路径我也用了,也是这个提示

谢谢
头像
ljj_jjl2008
论坛版主
帖子: 14255
注册时间: 2007-09-16 8:29

#2

帖子 ljj_jjl2008 » 2008-01-14 16:17

先执行一次:winecfg
头像
.
帖子: 418
注册时间: 2006-08-27 11:50
联系:

#3

帖子 . » 2008-01-14 17:32

我也去试试wine.
lylkr
帖子: 23
注册时间: 2008-01-09 21:16

#4

帖子 lylkr » 2008-01-14 21:01

ljj_jjl2008 写了:先执行一次:winecfg
执行后提示

Warning: the specified Windows directory L"c:\\windows" is not accessible.
Warning: the specified System directory L"c:\\windows\\system32" is not accessible.
Warning: could not find DOS drive for current working directory '/home/lylkr', starting in the Windows directory.
Warning: the specified Windows directory L"c:\\windows" is not accessible.
Warning: the specified System directory L"c:\\windows\\system32" is not accessible.
Warning: could not find DOS drive for current working directory '/', starting in the Windows directory.
err:wineboot:main Cannot set the dir to L"c:\\windows" (2)
Warning: the specified Windows directory L"c:\\windows" is not accessible.
Warning: the specified System directory L"c:\\windows\\system32" is not accessible.
Warning: could not find DOS drive for current working directory '/', starting in the Windows directory.
lylkr
帖子: 23
注册时间: 2008-01-09 21:16

#5

帖子 lylkr » 2008-01-15 19:59

请高手帮帮忙呀

谢了
头像
ubuntuing
帖子: 192
注册时间: 2008-03-22 9:02

#6

帖子 ubuntuing » 2008-03-31 23:05

我的则是出现

fixme:msvcrt:MSVCRT_setlocale :Codepage only locale not implemented

zh.reg无法导入注册表
????
头像
黄金时代
帖子: 238
注册时间: 2007-04-23 16:41
来自: 给你的爱一直很安静

#7

帖子 黄金时代 » 2008-03-31 23:11

切,傻瓜,你先把simsun.ttf放在/dric_c/windows/fonts下,然后导入
没有宋体字如何导入?
图片
头像
ubuntuing
帖子: 192
注册时间: 2008-03-22 9:02

#8

帖子 ubuntuing » 2008-03-31 23:41

黄金时代 写了:切,傻瓜,你先把simsun.ttf放在/dric_c/windows/fonts下,然后导入
没有宋体字如何导入?
我装过了,是按照下面做的:

配置 winecfg

1、运行 wine 配置程序 ,不要用 sudo 或者 root 权限

winecfg

这样会建立 wine 的运行文件夹 /home/user/.wine .里面有wine的注册表文件和虚拟的C盘;
稍等片刻,就会出现一个面板,这就是 wine 的一些基本的配置。

2、 Drives 标签,配置硬盘和光驱

Autodect 按钮可以自动检测,也打开 Show Advanced 手动配置,
C: /home/用户名/.wine/drive_c Local hard disk
D: /home/用户名 Local hard disk
E: /media/cdrom0 CDROM
其他分区根据需要配置

3、Audio 标签,配置声卡

这个面板会失去反映一段时间,之后出现一个声音驱动程序的选择框,一般情况下选择OSS。如果你是独立的声卡,选择ALSA更好。如果只有 OSS,就选择 OSS。

4、 Application Settings 标签,配置 Windows 版本

下面的 windows 版本把默认的改成 Windows XP ,实际中可以变更 为 Windows 2000 或 其他版本以使用 wine 的效率更高。

5、部分 DLL 设置

在真实的 windows 系统中从 C:\WINDOWS\systenm32 里复制 mfc42.dll,msvcp60.dll, riched20.dll,riched32.dll 这几个文件到 /home/用户名/.wine/drive_c/windows/system32 文件里,需要覆盖时确定。其他dll文件不要随便覆盖,要做备份。

二、字体设置

1、从 Windows 目录下的 Fonts 里的 simsun.ttc 复制到 /home/user/.wine/drive_c/windows/fonts 里面。

把下面的代码保存为 zh.reg ,然后终端执行 regedit zh.reg 。

???
头像
dogfox
论坛版主
帖子: 5311
注册时间: 2006-09-02 14:18
来自: 汉桑城
联系:

#9

帖子 dogfox » 2008-03-31 23:45

全世界linux爱好者联合起来 !
头像
wavydoom
帖子: 1081
注册时间: 2008-02-15 0:08

#10

帖子 wavydoom » 2008-04-01 0:14

运行的时候加上路径就可以了啦
blog : wavydoom.is-programmer.com/
http://www.kaixin001.com/home/?t=83
头像
ubuntuing
帖子: 192
注册时间: 2008-03-22 9:02

#11

帖子 ubuntuing » 2008-04-01 8:15

wavydoom 写了:运行的时候加上路径就可以了啦
我直接把zh.reg粘贴到桌面上。然后 cd ~/Desktop后运行的,不可以吗?
还是我上面的问题?
另外:1. 不加这个字体有能怎样?大不了不看这个字体了,难道不能wine?
2.我装好了,在哪儿找到它执行并运用了? 是不是还到那个/. 的文件夹里找?
谢谢耐心~~
头像
qiang_liu8183
论坛版主
帖子: 10699
注册时间: 2006-09-10 22:36
系统: Arch Debian
来自: 北京

#12

帖子 qiang_liu8183 » 2008-04-01 9:06

代码: 全选

regedit /s filename.reg
看破、放下、自在、随缘、念佛
真诚、清净、平等、正觉、慈悲
头像
ubuntuing
帖子: 192
注册时间: 2008-03-22 9:02

#13

帖子 ubuntuing » 2008-04-01 9:08

再跟进一下。
上述情况依旧:无法导入注册表 、、、打开文件时候出错。可能是磁盘或文件系统错误之类的

但是呢,在我右击exe文件时候出现 wine windows emulator,不过有些中文字体显示不清楚。。。
(zh.reg)字体没装上去的问题吧、、、
头像
jarlyyn
帖子: 4671
注册时间: 2006-04-12 18:54
联系:

#14

帖子 jarlyyn » 2008-04-01 9:55

Warning: the specified Windows directory L"c:\\windows" is not accessible.

检查下~/.wine/driver_c的权限
回复