IE 7 for ubuntu

Posted 11 months, 1 week ago at 11:32 am. 0 comments

ies4linux 安装可参考此二文:

ubuntu 下安装IE
ubuntu 安装IE

默认的 ies4linux 只有 ie 5-6,没有7。2.5 beta 以后有图形化的安装界面,但我这里安装中报告错误了两个错误,最后还是用2.0.5 安装的。

以下ubuntu 安装 IE7 方法来自 http://blog.zhaoke.com/50.html

首先复制已经安装好的 ie6。

sed ~/.ies4linux/bin/ie6 -e ’s/ie6/ie7/g’ > ~/.ies4linux/bin/ie7
chmod +x ~/.ies4linux/bin/ie7

下载 google ie7,cd到IE7Setup_G.exe目录, 使用cabextract程序安装IE7Setup_G.exe
(cabextract安装方法 sudo apt-get install cabextract)

cd ~/yourtempfolder
cabextract IE7Setup_G.exe

ls -la 显示:

15505200 Dec 7 21:21 IE7-Setup.exe

解开需要的文件:

cabextract IE7-Setup.exe

for i in wininet iertutil shlwapi urlmon jscript vbscript \
ieframe mshtml mshtmled mshtmler advpack
do
chmod +x $i.dll
cp $i.dll ~/.ies4linux/ie7/drive_c/windows/system/$i.dll
done

chmod +x inetcpl.cpl
cp inetcpl.cpl ~/.ies4linux/ie7/drive_c/windows/system/

现在需要normaliz.dll和inetcplc.dll动态库文件, 你可以google它们, 或者

http://www.down-dll.com/dll/normaliz.zip
http://www.down-dll.com/dll/inetcplc.zip

http://blog.zhaoke.com/data/2007/0109/normaliz.zip
http://blog.zhaoke.com/data/2007/0109/inetcplc.zip

解压缩上面两个文件, 然后拷贝到 ~/.ies4linux/ie7/drive_c/windows/system

unzip normaliz.zip
unzip inetcplc.zip
cp normaliz.dll ~/.ies4linux/ie7/drive_c/windows/system
cp inetcplc.dll ~/.ies4linux/ie7/drive_c/windows/system

现在IE 7安装成功, 不过查看栏(view pane)显示异常, 除非你切换到Wine程序(容器), 使用Windows XP操作系统.:

WINEPREFIX=~/.ies4linux/ie7 winecfg

在初始化页面的底部修改’Windows’选项为’Windows XP’, 然后点击OK.

创建一个快捷方式:

cd ~/bin
ln -s ~/.ies4linux/bin/ie7 ie7

最后运行ie7和使用先前的浏览器测试Google网站, 结果为:

ie7 reports ‘MSIE 7.0′

注意:下面第一个留言 gdgd… 这个就是ubuntu下用 ie7回复的,看 user agent 的确显示为 ie 7。

Popularity: 14% [?]

Tags:

ad 468x60