linuxdeepin 12.06 b2 安装软件中心的deepin-winetm2009失败
Tofloor
poster avatar
thebeartian
deepin
2012-06-07 03:05
Author
安装完成软件包之后第一次运行会弹出一个配置对话框,然后就会弹出
“当前处理器类型不支持此msxml6.0软件包”,然后弹出另一个对话框
“windows更新:无法在这台计算机上安装ineternet explorer和internet工具。 这个产品在64位平台上无法安装”
之后弹出一个对话框
“program error”
“the program regsvr32.exe has encountered a serious problem and needs to close. we ae sorry for the inconvenience"
"This can be caused by a problem in the program or a deficiency in Wine. You may want to check the Application Database for tips about running this application."
然后每次打开都会弹出这三个对话框。。。。
===
顺便说一句,安装deepin-thunder5也不能用。。。
Reply Favorite View the author
All Replies
a14331990
deepin
2012-06-07 04:08
#1
我能装wine-thunder5,wine-tm2009同理
可以看下/usr/bin/wine-thunder5的内容
  1. #! /bin/sh
  2. ...
  3. export WINEPREFIX=$HOME/.deepinwine/wine-thunder5
  4. ...
  5. if [ -e $WINEPREFIX ];then
  6. echo "Wineprefix exists. If wine-thunder doesn't work, remove directory ~/.deepinwine/wine-thunder5 and retry."
  7. else
  8. echo "Wineprefix doesn't exist, now will create it."
  9. wineboot -u
  10. ln -s /usr/share/fonts/wqy-microhei/wqy-microhei.ttc $WINEPREFIX/drive_c/windows/Fonts/
  11. tar -xzf /usr/share/deepinwine/thunder5/Thunder.tar.gz -C $WINEPREFIX/drive_c/Program\ Files/
  12. tar -xzf /usr/share/deepinwine/thunder5/dlls.tar.gz -C $WINEPREFIX/drive_c/windows/system32/
  13. ...
  14. wine cscript //e:vbscript "C:\Program Files\Thunder\thunder.vbs" $1
  15. fi
Copy the Code
意思就是如果$HOME/.deepinwine/wine-thunder5存在就无动作
否则复制/usr/share/deepinwine/thunder5/里面的内容到$HOME/.deepinwine/wine-thunder5

总之
$HOME/.deepinwine/wine-thunder5始终是一个特别为wine-thunder5定制的虚拟的windows环境
注意这个虚拟的windows环境是32位的,适用于wine 1.4 wine 1.5

最后运行的是wine cscript //e:vbscript "C:\Program Files\Thunder\thunder.vbs" $1
注意了/usr/bin/wine-thunder5没有任何更改PATH变量的操作(像export PATH=或PATH= ;export PATH等),这说明上面的命令中的wine是系统自带的wine也就是/usr/bin/wine

而wine的版本以及架构必须与WINEPREFIX指定的虚拟的windows环境相匹配

结论是
你必须用纯32位的wine来运行wine-tm2009,你去问下怎么在64位系统上装纯32位的wine吧(我用的fedora),最倒霉的情况是装不上纯32位的wine,那样的话装上的wine可以同时运行32位和64位的windows程序,可以称做混合架构的wine,这个
混合架构的wine和$HOME/.deepinwine/wine-thunder5这个特别为wine-thunder5定制的虚拟的windows环境是不匹配的!
Reply View the author
a14331990
deepin
2012-06-07 05:01
#2
还有个办法
下载
http://test.packages.linuxdeepin.com/de ... 1_i386.deb
解压
进入
deepinwine-qq2012_0.0.1_i386/usr/share/deepinwine/qq2012目录
内容如下
QQ2012.tar.gz  wine/  wine-qq2012  wine.tar.gz
(注意wine/和 wine.tar.gz的内容是不同的)
wine/目录就是一个纯32位的wine
把wine/目录复制到某个目录,比如
/opt/
于是
sudo cp -r wine/ /opt/
目录结构如下
ls /opt/wine/bin/wine
/opt/wine/bin/wine

最后改
/usr/bin/wine-thunder5
  1. #!/bin/sh
  2. export PATH=/opt/wine/bin/:$PATH
  3. ...
Copy the Code

rm -rf ~/.deepin/wine-thunder5

wine-thunder5

对于wine-tm2009
你自己相应地去改
仔细看/usr/bin/wine-tm2009就行
Reply View the author
thebeartian
deepin
2012-06-07 06:36
#3
我能装wine-thunder5,wine-tm2009同理
可以看下/usr/bin/wine-thunder5的内容
  1. #! /bin/sh
  2. ...
  3. export WINEPREFIX=$HOME/.deepinwine/wine-thunder5
  4. ...
  5. if [ -e $WINEPREFIX ];then
  6. echo "Wineprefix exists. If wine-thunder doesn't work, remove directory ~/.deepinwine/wine-thunder5 and retry."
  7. else
  8. echo "Wineprefix doesn't exist, now will create it."
  9. wineboot -u
  10. ln -s /usr/share/fonts/wqy-microhei/wqy-microhei.ttc $WINEPREFIX/drive_c/windows/Fonts/
  11. tar -xzf /usr/share/deepinwine/thunder5/Thunder.tar.gz -C $WINEPREFIX/drive_c/Program\ Files/
  12. tar -xzf /usr/share/deepinwine/thunder5/dlls.tar.gz -C $WINEPREFIX/drive_c/windows/system32/
  13. ...
  14. wine cscript //e:vbscript "C:\Program Files\Thunder\thunder.vbs" $1
  15. fi
Copy the Code
意思就是如果$HOME/.deepinwine/wine-thunder5存在就无动作
否则复制/usr/share/deepinwine/thunder5/里面的内容到$HOME/.deepinwine/wine-thunder5

总之
$HOME/.deepinwine/wine-thunder5始终是一个特别为wine-thunder5定制的虚拟的windows环境
注意这个虚拟的windows环境是32位的,适用于wine 1.4 wine 1.5

最后运行的是wine cscript //e:vbscript "C:\Program Files\Thunder\thunder.vbs" $1
注意了/usr/bin/wine-thunder5没有任何更改PATH变量的操作(像export PATH=或PATH= ;export PATH等),这说明上面的命令中的wine是系统自带的wine也就是/usr/bin/wine

而wine的版本以及架构必须与WINEPREFIX指定的虚拟的windows环境相匹配

结论是
你必须用纯32位的wine来运行wine-tm2009,你去问下怎么在64位系统上装纯32位的wine吧(我用的fedora),最倒霉的情况是装不上纯32位的wine,那样的话装上的wine可以同时运行32位和64位的windows程序,可以称做混合架构的wine,这个
混合架构的wine和$HOME/.deepinwine/wine-thunder5这个特别为wine-thunder5定制的虚拟的windows环境是不匹配的!
谢谢了,同时泪流满面中。。。。。。深度在易用性上提升空间还很大。。。。
Reply View the author
a14331990
deepin
2012-06-07 16:23
#4
wine的32位和64位是deb系打包的问题
deb系64位不能装32位的包,除非包的名字叫123-ia32-1.2.3.amd64.deb之类的
还可以手动下载32位deb包 然后
sudo dpkg --install --force-architecture 123.i386.deb
但这样装的包 卸载是大问题
Reply View the author