Instantly share code, notes, and snippets.

Embed
What would you like to do?
Installing IE8 on Ubuntu 12.04 64-bit (and avoiding the 32/64 bit architecture error)
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\admparse.dll.mui" "C:\\windows\\system32\\DllCache\\admparse.dll.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\advpack.dll.mui" "C:\\windows\\system32\\DllCache\\advpack.dll.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\occache.ini" "C:\\windows\\system32\\DllCache\\desktop.ini"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\webcheck.ini" "C:\\windows\\system32\\DllCache\\desktop.ini"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\ExtExport.exe" "C:\\windows\\system32\\DllCache\\ExtExport.exe"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\hmmapi.dll.mui" "C:\\windows\\system32\\DllCache\\hmmapi.dll.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\html.iec" "C:\\windows\\system32\\DllCache\\html.iec"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\html.iec.mui" "C:\\windows\\system32\\DllCache\\html.iec.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\icardie.dll" "C:\\windows\\system32\\DllCache\\icardie.dll"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\icardie.dll.mui" "C:\\windows\\system32\\DllCache\\icardie.dll.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\ie4uinit.exe.mui" "C:\\windows\\system32\\DllCache\\ie4uinit.exe.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\ie4uinit.exe.mui" "C:\\windows\\system32\\DllCache\\ie4uinit.exe.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\ie8props.propdesc" "C:\\windows\\system32\\DllCache\\ie8props.propdesc"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\ieakeng.dll.mui" "C:\\windows\\system32\\DllCache\\ieakeng.dll.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\ieakmmc.chm" "C:\\windows\\system32\\DllCache\\ieakmmc.chm"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\ieaksie.dll.mui" "C:\\windows\\system32\\DllCache\\ieaksie.dll.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\ieakui.dll.mui" "C:\\windows\\system32\\DllCache\\ieakui.dll.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\ieapfltr.dat" "C:\\windows\\system32\\DllCache\\ieapfltr.dat"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\ieapfltr.dll" "C:\\windows\\system32\\DllCache\\ieapfltr.dll"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\iecompat.dll" "C:\\windows\\system32\\DllCache\\iecompat.dll"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\iedkcs32.dll.mui" "C:\\windows\\system32\\DllCache\\iedkcs32.dll.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\iedkcs32.dll.mui" "C:\\windows\\system32\\DllCache\\iedkcs32.dll.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\iedvtool.dll" "C:\\windows\\system32\\DllCache\\iedvtool.dll"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\iedvtool.dll.mui" "C:\\windows\\system32\\DllCache\\iedvtool.dll.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\ieeula.chm" "C:\\windows\\system32\\DllCache\\ieeula.chm"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\ieframe.dll" "C:\\windows\\system32\\DllCache\\ieframe.dll"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\ieframe.dll.mui" "C:\\windows\\system32\\DllCache\\ieframe.dll.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\ieframe.dll.mui" "C:\\windows\\system32\\DllCache\\ieframe.dll.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\iepeers.dll.mui" "C:\\windows\\system32\\DllCache\\iepeers.dll.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\ieproxy.dll" "C:\\windows\\system32\\DllCache\\ieproxy.dll"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\iernonce.dll.mui" "C:\\windows\\system32\\DllCache\\iernonce.dll.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\iertutil.dll" "C:\\windows\\system32\\DllCache\\iertutil.dll"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\IERtUtil.dll.mui" "C:\\windows\\system32\\DllCache\\IERtUtil.dll.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\iesetup.dll.mui" "C:\\windows\\system32\\DllCache\\iesetup.dll.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\iesupp.chm" "C:\\windows\\system32\\DllCache\\iesupp.chm"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\ieui.dll" "C:\\windows\\system32\\DllCache\\ieui.dll"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\ieui.dll.mui" "C:\\windows\\system32\\DllCache\\ieui.dll.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\ieuinit.inf" "C:\\windows\\system32\\DllCache\\ieuinit.inf"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\iexplore.chm" "C:\\windows\\system32\\DllCache\\iexplore.chm"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\iexplore.exe.mui" "C:\\windows\\system32\\DllCache\\iexplore.exe.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\iexplore.exe.mui" "C:\\windows\\system32\\DllCache\\iexplore.exe.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\inetcorp.iem" "C:\\windows\\system32\\DllCache\\inetcorp.iem"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\inetcpl.cpl.mui" "C:\\windows\\system32\\DllCache\\inetcpl.cpl.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\inetres.adm" "C:\\windows\\system32\\DllCache\\inetres.adm"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\inetset.iem" "C:\\windows\\system32\\DllCache\\inetset.iem"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\inseng.dll.mui" "C:\\windows\\system32\\DllCache\\inseng.dll.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\install.ins" "C:\\windows\\system32\\DllCache\\install.ins"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\jscript.dll.mui" "C:\\windows\\system32\\DllCache\\jscript.dll.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\jsdbgui.dll" "C:\\windows\\system32\\DllCache\\jsdbgui.dll"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\jsdbgui.dll.mui" "C:\\windows\\system32\\DllCache\\jsdbgui.dll.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\jsdebuggeride.dll" "C:\\windows\\system32\\DllCache\\jsdebuggeride.dll"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\jsdebuggeride.dll.mui" "C:\\windows\\system32\\DllCache\\jsdebuggeride.dll.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\JSProfilerCore.dll" "C:\\windows\\system32\\DllCache\\JSProfilerCore.dll"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\JSProfilerCore.dll.mui" "C:\\windows\\system32\\DllCache\\JSProfilerCore.dll.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\jsprofilerui.dll" "C:\\windows\\system32\\DllCache\\jsprofilerui.dll"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\jsprofilerui.dll.mui" "C:\\windows\\system32\\DllCache\\jsprofilerui.dll.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\licmgr10.dll.mui" "C:\\windows\\system32\\DllCache\\licmgr10.dll.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\msfeeds.dll" "C:\\windows\\system32\\DllCache\\msfeeds.dll"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\msfeeds.mof" "C:\\windows\\system32\\DllCache\\msfeeds.mof"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\msfeedsbs.dll" "C:\\windows\\system32\\DllCache\\msfeedsbs.dll"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\msfeedsbs.dll.mui" "C:\\windows\\system32\\DllCache\\msfeedsbs.dll.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\msfeedsbs.mof" "C:\\windows\\system32\\DllCache\\msfeedsbs.mof"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\msfeedssync.exe" "C:\\windows\\system32\\DllCache\\msfeedssync.exe"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\mshta.exe.mui" "C:\\windows\\system32\\DllCache\\mshta.exe.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\mshta.exe.mui" "C:\\windows\\system32\\DllCache\\mshta.exe.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\mshtml.dll.mui" "C:\\windows\\system32\\DllCache\\mshtml.dll.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\mshtmler.dll.mui" "C:\\windows\\system32\\DllCache\\mshtmler.dll.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\msrating.dll.mui" "C:\\windows\\system32\\DllCache\\msrating.dll.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\msrating.dll.mui" "C:\\windows\\system32\\DllCache\\msrating.dll.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\occache.dll.mui" "C:\\windows\\system32\\DllCache\\occache.dll.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\pdm.dll" "C:\\windows\\system32\\DllCache\\pdm.dll"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\ticrf.rat" "C:\\windows\\system32\\DllCache\\ticrf.rat"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\urlmon.dll.mui" "C:\\windows\\system32\\DllCache\\urlmon.dll.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\vbscript.dll.mui" "C:\\windows\\system32\\DllCache\\vbscript.dll.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\webcheck.dll.mui" "C:\\windows\\system32\\DllCache\\webcheck.dll.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\FeedDisc.wav" "C:\\windows\\system32\\DllCache\\Windows Feed Discovered.wav"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\InfoBar.wav" "C:\\windows\\system32\\DllCache\\Windows Information Bar.wav"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\NavStart.wav" "C:\\windows\\system32\\DllCache\\Windows Navigation Start.wav"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\PopupBlk.wav" "C:\\windows\\system32\\DllCache\\Windows Pop-up Blocked.wav"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\WinFXDocObj.exe" "C:\\windows\\system32\\DllCache\\WinFXDocObj.exe"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\WinFXDocObj.exe.mui" "C:\\windows\\system32\\DllCache\\WinFXDocObj.exe.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\wininet.dll.mui" "C:\\windows\\system32\\DllCache\\wininet.dll.mui"
wine cmd.exe /c copy /Y "c:\\30996aea7694899e6f\\xpshims.dll" "C:\\windows\\system32\\DllCache\\xpshims.dll"

###avoid the error "this installation does not support your system architecture, (32/64 bits)"

export WINEPREFIX=~/.wine_ie8 #make sure this is a BRAND NEW DIRECTORY
export WINEARCH=win32 # make sure you do this BEFORE you install IE8
###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_ie8/drive_c/windows/system32

####download IE8 from here

winetricks corefonts gdiplus msls31 msxml3 riched20 tahoma fontfix fontsmooth-rgb
####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 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, you will get a lot of copy errors, use the path mentioned in those errors and replace 30996aea7694899e6f in the copy_file.txt file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment