wine安装IE8
export WINEPREFIX=~/.wine
export WINEARCH=win32
download:
http://www.dll-files.com/dllindex/dll-files.shtml?msctf
http://www.dll-files.com/dllindex/dll-files.shtml?msimtf
http://www.dll-files.com/dllindex/dll-files.shtml?uxtheme
mv *dll ~/.wine/drive_c/windows/system32
winetricks corefonts gdiplus msls31 msxml3 riched20 riched32 tahoma fontfix fontsmooth-rgb
winecfg
Configure Wine by navigating to Wine –> Configure Wine –> Libraries and set the following DLLs as shown:
“browseui=”native, builtin”
“crypt32″=”native, builtin”
“gdiplus”=”native”
“hhctrl.ocx”=”native, builtin”
“hlink”=”native, builtin”
“iernonce”=”native, builtin”
“iexplore.exe”=”native, builtin”
“itircl”=”native, builtin”
“itss”=”native, builtin”
“jscript”=”native, builtin”
“mlang”=”native, builtin”
“mshtml”=”native, builtin”
“msimtf”=”native,builtin”
“msxml3″=”native,builtin”
“riched20″=”native,builtin”
“riched32″=”native,builtin”
“secur32″=”native, builtin”
“shdoclc”=”native, builtin”
“shdocvw”=”native, builtin”
“shlwapi”=”native, builtin”
“url”=”native, builtin”
“urlmon”=”native, builtin”
“usp10″=”native, builtin”
“uxtheme”=”native,builtin”
“wininet”=”builtin”
“wintrust”=”native, builtin”
“xmllite”=”native, builtin”
download IE8 from:http://www.microsoft.com/downloads/details.aspx?FamilyID=341c2ad5-8c3d-4347-8c03-08cdecd8852b&displaylang=en
download msxml3.msi from:
http://download.cnet.com/Microsoft-XML-Parser-MSXML-3-0-Service-Pack-7-SP7/3000-7241_4-10731613.html
place it in /home/user/.cache/winetricks/msxml3, then run the step below
winetricks corefonts gdiplus msls31 msxml3 riched20 riched32 tahoma fontfix fontsmooth-rgb
wine ~/Documents/IE8-WindowsXP-x86-ENU.exe
cat /tmp/copy_file.txt|xargs -I {} sh -c {} wine 'C:\Program Files\Internet Explorer\iexplore'
#click install updates and click "reboot now" when prompted
on reboot,use the path mentioned in those errors and replace 30996aea7694899e6f in the copy_file.txt file:
---------------------------------------------------copy_file.txt----------------------------------------------------------------
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\admparse.dll.mui" "C:\\windows\\system32\\DllCache\\admparse.dll.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\advpack.dll.mui" "C:\\windows\\system32\\DllCache\\advpack.dll.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\occache.ini" "C:\\windows\\system32\\DllCache\\desktop.ini"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\webcheck.ini" "C:\\windows\\system32\\DllCache\\desktop.ini"
#wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\ExtExport.exe" "C:\\windows\\system32\\DllCache\\ExtExport.exe"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\hmmapi.dll.mui" "C:\\windows\\system32\\DllCache\\hmmapi.dll.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\html.iec" "C:\\windows\\system32\\DllCache\\html.iec"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\html.iec.mui" "C:\\windows\\system32\\DllCache\\html.iec.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\icardie.dll" "C:\\windows\\system32\\DllCache\\icardie.dll"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\icardie.dll.mui" "C:\\windows\\system32\\DllCache\\icardie.dll.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\extexport.exe" "C:\\windows\\system32\\DllCache\\ExtExport.exe"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\ie4uinit.exe.mui" "C:\\windows\\system32\\DllCache\\ie4uinit.exe.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\ie4uinit.exe.mui" "C:\\windows\\system32\\DllCache\\ie4uinit.exe.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\ie8props.propdesc" "C:\\windows\\system32\\DllCache\\ie8props.propdesc"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\ieakeng.dll.mui" "C:\\windows\\system32\\DllCache\\ieakeng.dll.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\ieakmmc.chm" "C:\\windows\\system32\\DllCache\\ieakmmc.chm"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\ieaksie.dll.mui" "C:\\windows\\system32\\DllCache\\ieaksie.dll.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\ieakui.dll.mui" "C:\\windows\\system32\\DllCache\\ieakui.dll.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\ieapfltr.dat" "C:\\windows\\system32\\DllCache\\ieapfltr.dat"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\ieapfltr.dll" "C:\\windows\\system32\\DllCache\\ieapfltr.dll"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\iecompat.dll" "C:\\windows\\system32\\DllCache\\iecompat.dll"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\iedkcs32.dll.mui" "C:\\windows\\system32\\DllCache\\iedkcs32.dll.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\iedkcs32.dll.mui" "C:\\windows\\system32\\DllCache\\iedkcs32.dll.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\iedvtool.dll" "C:\\windows\\system32\\DllCache\\iedvtool.dll"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\iedvtool.dll.mui" "C:\\windows\\system32\\DllCache\\iedvtool.dll.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\ieeula.chm" "C:\\windows\\system32\\DllCache\\ieeula.chm"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\ieframe.dll" "C:\\windows\\system32\\DllCache\\ieframe.dll"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\ieframe.dll.mui" "C:\\windows\\system32\\DllCache\\ieframe.dll.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\ieframe.dll.mui" "C:\\windows\\system32\\DllCache\\ieframe.dll.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\iepeers.dll.mui" "C:\\windows\\system32\\DllCache\\iepeers.dll.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\ieproxy.dll" "C:\\windows\\system32\\DllCache\\ieproxy.dll"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\iernonce.dll.mui" "C:\\windows\\system32\\DllCache\\iernonce.dll.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\iertutil.dll" "C:\\windows\\system32\\DllCache\\iertutil.dll"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\iertutil.dll" "C:\\windows\\system32\\DllCache\\IERtUtil.dll.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\iesetup.dll.mui" "C:\\windows\\system32\\DllCache\\iesetup.dll.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\iesupp.chm" "C:\\windows\\system32\\DllCache\\iesupp.chm"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\ieui.dll" "C:\\windows\\system32\\DllCache\\ieui.dll"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\ieui.dll.mui" "C:\\windows\\system32\\DllCache\\ieui.dll.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\ieuinit.inf" "C:\\windows\\system32\\DllCache\\ieuinit.inf"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\iexplore.chm" "C:\\windows\\system32\\DllCache\\iexplore.chm"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\iexplore.exe.mui" "C:\\windows\\system32\\DllCache\\iexplore.exe.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\iexplore.exe.mui" "C:\\windows\\system32\\DllCache\\iexplore.exe.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\inetcorp.iem" "C:\\windows\\system32\\DllCache\\inetcorp.iem"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\inetcpl.cpl.mui" "C:\\windows\\system32\\DllCache\\inetcpl.cpl.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\inetres.adm" "C:\\windows\\system32\\DllCache\\inetres.adm"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\inetset.iem" "C:\\windows\\system32\\DllCache\\inetset.iem"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\inseng.dll.mui" "C:\\windows\\system32\\DllCache\\inseng.dll.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\install.ins" "C:\\windows\\system32\\DllCache\\install.ins"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\jscript.dll.mui" "C:\\windows\\system32\\DllCache\\jscript.dll.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\jsdbgui.dll" "C:\\windows\\system32\\DllCache\\jsdbgui.dll"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\jsdbgui.dll.mui" "C:\\windows\\system32\\DllCache\\jsdbgui.dll.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\jsdebuggeride.dll" "C:\\windows\\system32\\DllCache\\jsdebuggeride.dll"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\jsdebuggeride.dll.mui" "C:\\windows\\system32\\DllCache\\jsdebuggeride.dll.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\jsprofilercore.dll" "C:\\windows\\system32\\DllCache\\JSProfilerCore.dll"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\jsprofilercore.dll.mui" "C:\\windows\\system32\\DllCache\\JSProfilerCore.dll.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\jsprofilerui.dll" "C:\\windows\\system32\\DllCache\\jsprofilerui.dll"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\jsprofilerui.dll.mui" "C:\\windows\\system32\\DllCache\\jsprofilerui.dll.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\licmgr10.dll.mui" "C:\\windows\\system32\\DllCache\\licmgr10.dll.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\msfeeds.dll" "C:\\windows\\system32\\DllCache\\msfeeds.dll"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\msfeeds.mof" "C:\\windows\\system32\\DllCache\\msfeeds.mof"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\msfeedsbs.dll" "C:\\windows\\system32\\DllCache\\msfeedsbs.dll"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\msfeedsbs.dll.mui" "C:\\windows\\system32\\DllCache\\msfeedsbs.dll.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\msfeedsbs.mof" "C:\\windows\\system32\\DllCache\\msfeedsbs.mof"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\msfeedssync.exe" "C:\\windows\\system32\\DllCache\\msfeedssync.exe"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\mshta.exe.mui" "C:\\windows\\system32\\DllCache\\mshta.exe.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\mshta.exe.mui" "C:\\windows\\system32\\DllCache\\mshta.exe.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\mshtml.dll.mui" "C:\\windows\\system32\\DllCache\\mshtml.dll.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\mshtmler.dll.mui" "C:\\windows\\system32\\DllCache\\mshtmler.dll.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\msrating.dll.mui" "C:\\windows\\system32\\DllCache\\msrating.dll.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\msrating.dll.mui" "C:\\windows\\system32\\DllCache\\msrating.dll.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\occache.dll.mui" "C:\\windows\\system32\\DllCache\\occache.dll.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\pdm.dll" "C:\\windows\\system32\\DllCache\\pdm.dll"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\ticrf.rat" "C:\\windows\\system32\\DllCache\\ticrf.rat"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\urlmon.dll.mui" "C:\\windows\\system32\\DllCache\\urlmon.dll.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\vbscript.dll.mui" "C:\\windows\\system32\\DllCache\\vbscript.dll.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\webcheck.dll.mui" "C:\\windows\\system32\\DllCache\\webcheck.dll.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\feeddisc.wav" "C:\\windows\\system32\\DllCache\\Windows Feed Discovered.wav"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\infobar.wav" "C:\\windows\\system32\\DllCache\\Windows Information Bar.wav"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\navstart.wav" "C:\\windows\\system32\\DllCache\\Windows Navigation Start.wav"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\popupblk.wav" "C:\\windows\\system32\\DllCache\\Windows Pop-up Blocked.wav"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\winfxdocobj.exe" "C:\\windows\\system32\\DllCache\\WinFXDocObj.exe"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\winfxdocobj.exe.mui" "C:\\windows\\system32\\DllCache\\WinFXDocObj.exe.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\wininet.dll.mui" "C:\\windows\\system32\\DllCache\\wininet.dll.mui"
wine cmd.exe /c copy /Y "c:\\a782ebd50e88911e8b8f7eb2b92cf7b7\\xpshims.dll" "C:\\windows\\system32\\DllCache\\xpshims.dll"