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 IEs4linux.
- Make new configuration directory with different wineprefix directory.
wineprefixcreate --prefix ~/.wineIE6
- The following steps are expecting, that the WINEPREFIX variable is set to path to the directory for IE6, so run
export WINEPREFIX="$HOME/.wineIE6"
- 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
- 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.
- Set Wine version to 2000 in winecfg.
- Lower the version of installed IE by running regedit and then HKEY_LOCAL_MACHINE->Software->Microsoft->Internet Explorer->Version for example to 5.0.
- 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)
- 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
- 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.
- Now you can run IE with
WINEPREFIX="$HOME/.wineIE6" wine iexplore.exe
Note: This wast tested on Wine 0.9.60. |