jackie 首页 我的空间 帮助 波罗蜜

IE6 on freebsd

2008-10-05 12:28
you want to install Internet Explorer automatically, use IEs4linux. The following howto is dedicated to expirienced users, who desn't want to use IEs4li­nux.

  1. Make new configuration directory with different wineprefix directory.
    wineprefixcreate --prefix ~/.wineIE6 
  2. The following steps are expecting, that the WINEPREFIX variable is set to path to the directory for IE6, so run
    export WINEPREFIX="$HOME/.wineIE6"
  3. You have to delete or move the following files, otherwise Wine won't let IE6 installer to install necessary files:
    • Program Files/Internet Explorer/iexplore.exe
    • mshtml.dll shdoclc.dll shdocvw.dll shlwapi.dll urlmon.dll ­wininet.dll in ~/.wineIE6/windows/system32 directory
  4. Run winecfg, go to Libraries tab and add overrides for the following applications and libraries: iexplore.exe mshtml shdoclc shdocvw shlwapi urlmon wininet mlang setting them to native, builtin.
  5. Set Wine version to 2000 in winecfg.
  6. Lower the version of installed IE by running regedit and then HKEY_LOCAL_MACHINE->Software->Microsoft->Internet Explorer->Version for example to 5.0.
  7. Run IE6SETUP.EXE. It should complete without errors. (you can run it with /q parameter for installation without asking)
    If you get an error saying "The download location information is damaged", please make sure you are not using a remote mounted drive (nfs, samba, etc.). If you are, you can trick the installer into thinking it is an attached drive by going into winecfg->Drives->show advanced and change the type from "Autodetect" to "Local hard disk". (This happen also on Windows)

    If you still get this error, it might be because Microsoft's server sometimes don't send the right infos to the installer. Try again. (This happen also on Windows)
  8. Now you have to re'register all dlls in ~/.wineIE6/windows/system32 directory. Open any terminal application go to this directory and run this command twice:
    for i in *.dll *.ocx; do regsvr32 /i $i; done­
  9. At this point IE6 will run but it won't display any content. To resolve this problem you should download msls31.dll file (use google) into ~/.wineIE6/windows/system32 directory. 
  10. Now you can run IE with
    WINEPREFIX="$HOME/.wineIE6" wine iexplore.exe
    1.  

Note: This wast tested on Wine 0.9.60.

298 次阅读 | 0 个评论

留下脚印