winetricks/Office2010 under Ubuntu 12.04 LTS

Questions about Wine on Linux
Locked
mohammed.moumen
Newbie
Newbie
Posts: 3
Joined: Thu Apr 03, 2014 10:44 am

winetricks/Office2010 under Ubuntu 12.04 LTS

Post by mohammed.moumen »

Hello,
I downloaded wine and the packages for Office2010 and went to the directory of Installer(by terminal) in Office2010 and executed
/home/mohammed/.wineprefixes/office2010/drive_c/windows/wine Setup.exe
and I got this message :
mohammed@mohammed-Inspiron-5537:~/Installer$ wine Setup.exefixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:process:SetProcessDEPPolicy (1): stub
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:process:SetProcessShutdownParameters (00000380, 00000000): partial stub.
fixme:ntdll:find_reg_tz_info Can’t find matching timezone information in the registry for bias 0, std (d/m/y): 26/10/2014, dlt (d/m/y): 29/07/2014
wine: cannot find L”C:\\windows\\system32\\Setup.exe”
Can you help me?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: winetricks/Office2010 under Ubuntu 12.04 LTS

Post by dimesio »

mohammed.moumen wrote: /home/mohammed/.wineprefixes/office2010/drive_c/windows/wine Setup.exe
That's not correct.
http://wiki.winehq.org/FAQ#head-f351523 ... 8da63be66f
http://wiki.winehq.org/FAQ#32_bit_wineprefix
http://wiki.winehq.org/FAQ#wineprefix

Winetricks is not needed to install Office 2010.
mohammed.moumen
Newbie
Newbie
Posts: 3
Joined: Thu Apr 03, 2014 10:44 am

Re: winetricks/Office2010 under Ubuntu 12.04 LTS

Post by mohammed.moumen »

hello moderator,

I tried these steps :
1- sudo apt-get install mesa-utils mesa-utils-extra libgl1-mesa-glx:i386 libgl1-mesa-dev ia32-libs ===> Mesa OpenGL
2- sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/mesa/libGL.so
sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so /usr/lib/i386-linux-gnu/libGL.so ===> softlinks for the 32-bit OpenGL libraries
3- sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine
===> installing wine
4- export WINEPREFIX="/home/user/.wineprefixes/office2010/"
export WINEARCH="win32"
set windows version as 32 bits.
5- winetricks vcrun2008 dotnet20 dotnet40 msxml6 riched20 riched30 gdiplus
winetricks vb2run vb3run vb4run vb5run vb6run ie8 corefonts
===> install dll components for Office
6- winecfg ==>set dll components downloaded as "Native windows"
7- in this step i have to copy the "Installer" to /home and cd to it and tehn execute the command : wine setup.exe
==> the problem is : first, I do not know which installer they're talking about and where to find it?! anyway I copied all the diretory of office2010/drive_c/windows/system32 and cd to it and then executed the command "wine setup.exe" and got the error message I described before.

Any help how to fix it?? also as I saw, you said that I don't need wine to install office2010, please clarify how and what should I do?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: winetricks/Office2010 under Ubuntu 12.04 LTS

Post by dimesio »

mohammed.moumen wrote: I tried these steps :
===> installing wine
4- export WINEPREFIX="/home/user/.wineprefixes/office2010/"
export WINEARCH="win32"
set windows version as 32 bits.
FYI, you cannot change the architecture of an existing wineprefix. You must set WINEARCH=win32 before creating the wineprefix in the first place. Also, once the Office 2010 installer fails on a given wineprefix, it will always fail.

Delete that wineprefix and recreate it following the instructions for creating a 32 bit wineprefix that I linked to above.
5- winetricks vcrun2008 dotnet20 dotnet40 msxml6 riched20 riched30 gdiplus
winetricks vb2run vb3run vb4run vb5run vb6run ie8 corefonts
You don't need any of those things, except perhaps corefonts if you don't have them installed systemwide.
7- in this step i have to copy the "Installer" to /home and cd to it and tehn execute the command : wine setup.exe
==> the problem is : first, I do not know which installer they're talking about and where to find it?! anyway I copied all the diretory of office2010/drive_c/windows/system32 and cd to it and then executed the command "wine setup.exe" and got the error message I described be
The installer should be either the one on your install cd or the one you downloaded from Microsoft. If your copy of Office 2010 is not legal, this conversation is over.
you said that I don't need wine to install office2010,
I said you don't need winetricks; obviously you need Wine.
please clarify how and what should I do?
Follow the instructions in the AppDB. http://appdb.winehq.org/objectManager.p ... &iId=17336
mohammed.moumen
Newbie
Newbie
Posts: 3
Joined: Thu Apr 03, 2014 10:44 am

Re: winetricks/Office2010 under Ubuntu 12.04 LTS

Post by mohammed.moumen »

hello;

what i understood is that i have to install mono!!! I tried to but I am really confused with the steps! is there any simplified tutorial with detailed steps you can help me with?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: winetricks/Office2010 under Ubuntu 12.04 LTS

Post by dimesio »

Ubuntu packages wine-mono. Just install their package with your package manager, same as you would any other package.
Locked