Sunday, February 21, 2010

Installing IE7 On Ubuntu

==== command Line Instructions for Installing Wine: ====

First, open a terminal window (Applications->Accessories->Terminal). Then add the repository's key to your system's list of trusted APT keys by copy and pasting the following into your terminal:


$ wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -

Next, add the repository to your system's list of APT sources:

==== Add one of the following to your sources.list ====
For Ubuntu Jaunty (9.04):
$ sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/jaunty.list -O /etc/apt/sources.list.d/winehq.list

For Ubuntu Intrepid (8.10):
$ sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/intrepid.list -O /etc/apt/sources.list.d/winehq.list

For Ubuntu Hardy (8.04):
$ sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/hardy.list -O /etc/apt/sources.list.d/winehq.list

Then update APT's package information by running
$ sudo apt-get update

You can now install Wine normally or by typing in terminal.
$ sudo apt-get install wine
$ sudo apt-get install cabextract

====

- Wine DLL Overrides
DLL Overrides can be set in winecfg, just run winecfg from your favorite terminal and then go to Libraries and set the above DLL's as shown above.

"browseui"="native, builtin"
"comctl32"="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"

====
You will also need to copy a number of DLL's from a Windows XP machine and place them in /system32 as winetricks doesn't provide these DLL's at this time.

msctf.dll
msimtf.dll
uxtheme.dll
xmllite.dll

====

*WineTricks

Now download winetricks if you don't already have it and install the following Windows redistributables.

comctl32
comctl32.ocx
corefonts
gdiplus
gecko
msls31
msxml3
msxml4
msxml6
riched20
riched30
tahoma

After the install run winecfg
$ winecfg ===> It Lauches wine Configuration.

Go to '''libraries''' Tab, select '''comctl32.dll''' click edit button and set Load order back to '''Builtin (Wine)'''.


*IE 7 install in Wine

Download Windows Internet Explorer 7 and save it to your home directory.
You can download from http://www.microsoft.com/downloads/details.aspx?familyid=9ae91ebe-3385-447c-8a30-081805b2f90b&displaylang=en
or Run the Following command in terminal:
$ cd ~
$ wget http://download.microsoft.com/download/3/8/8/38889dc1-848c-4bf2-8335-86c573ad86d9/IE7-WindowsXP-x86-enu.exe

Now open a terminal and run
$ cd ~
$ wine IE7-WindowsXP-x86-enu.exe

The IE 7 install should now start,

No comments:

Post a Comment