can't install microsoft office 2007

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
danielsender
Level 2
Level 2
Posts: 29
Joined: Fri Sep 03, 2010 11:16 am

can't install microsoft office 2007

Post by danielsender »

Hi,

I have a fresh install of Ubuntu Lucid 10.04 with wine 1.2. I inserted the Microsoft Office 2007 in the drive and when I open setup.exe with wine it comes back with a message "Setup did not complete successfully, We are sorry for the ..."

As a test of wine, I tried running some little programs unrelated to this Office package and they run well. I also copied the setup.exe to a separate directory and I got a different message: "Setup cannot find the required setup...", which indicates to me that wine is executing the setup program.

In the past I installed the same package (with the same disk) on Ubuntu Karmic 9.04 without any problems and more recently on a XP system so it is not a problem of the CD. In fact I copied the whole CD to a USB flash drive and ran it from there and I get the same message.

I'll appreciate any help.

Daniel
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: can't install microsoft office 2007

Post by dimesio »

danielsender wrote: I have a fresh install of Ubuntu Lucid 10.04 with wine 1.2. I inserted the Microsoft Office 2007 in the drive and when I open setup.exe with wine it comes back with a message "Setup did not complete successfully, We are sorry for the ..."
Office 2007 should install without any tweaking in a clean wineprefix.

Rename ~/.wine. Do not install any winetricks or other tweaks. Run the installer from a terminal and post whatever messages appear.
danielsender
Level 2
Level 2
Posts: 29
Joined: Fri Sep 03, 2010 11:16 am

Post by danielsender »

I ran the command from a terminal window:

% wine start "D:\setup.exe" and got the following log:

Code: Select all

fixme:exec:SHELL_execute flags ignored: 0x00000100
fixme:system:SetProcessDPIAware stub!
fixme:htmlhelp:HtmlHelpW HH case HH_INITIALIZE not handled.
fixme:richedit:REExtendedRegisterClass semi stub
fixme:richedit:ME_HandleMessage EM_SETEDITSTYLE: stub
fixme:richedit:ME_HandleMessage EM_SETBIDIOPTIONS: stub
fixme:richedit:ME_HandleMessage EM_SETEDITSTYLE: stub
fixme:richedit:ME_HandleMessage EM_SETBIDIOPTIONS: stub
fixme:richedit:ME_HandleMessage EM_SETEDITSTYLE: stub
fixme:richedit:ME_HandleMessage EM_SETBIDIOPTIONS: stub
fixme:richedit:ME_HandleMessage EM_SETEDITSTYLE: stub
fixme:richedit:ME_HandleMessage EM_SETBIDIOPTIONS: stub
fixme:htmlhelp:HtmlHelpW HH case HH_UNINITIALIZE not handled.
fixme:reg:GetNativeSystemInfo (0x33f014) using GetSystemInfo()
fixme:netapi32:NetGetJoinInformation Stub (null) 0x33f03c 0x33f030
fixme:heap:HeapSetInformation 0x110000 1 (nil) 0
fixme:imm:ImmDisableIME (-1): stub
fixme:advapi:RegisterEventSourceW ((null),L"Microsoft Office 12"): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x00001388,(nil),0x000b,0x000000e6,0x300bcf54,0x77ca2c): stub
err:eventlog:ReportEventW L"office12setup"
err:eventlog:ReportEventW L"{10120000-0f00-0000-0000--0000000ff1ce}"
err:eventlog:ReportEventW L"12.0.4518.1014"
err:eventlog:ReportEventW L"x"
err:eventlog:ReportEventW L"unexpectederror"
err:eventlog:ReportEventW L"x"
err:eventlog:ReportEventW L"x"
err:eventlog:ReportEventW L"x"
err:eventlog:ReportEventW L"NIL"
err:eventlog:ReportEventW L"NIL"
err:eventlog:ReportEventW L"NIL"
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
fixme:richedit:ME_HandleMessage EM_SETMARGINS: stub
fixme:richedit:ME_HandleMessage EM_SETMARGINS: stub
err:ole:CoUninitialize Mismatched CoUninitialize
err:ole:CoUninitialize Mismatched CoUninitialize
fixme:reg:GetNativeSystemInfo (0x33fbfc) using GetSystemInfo()
fixme:netapi32:NetGetJoinInformation Stub (null) 0x33fc24 0x33fc18
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

danielsender wrote:I ran the command from a terminal window:

% wine start "D:\setup.exe" and got the following log:
Did you rename ~/.wine first?
danielsender
Level 2
Level 2
Posts: 29
Joined: Fri Sep 03, 2010 11:16 am

Post by danielsender »

Sorry, but rename it to what?
danielsender
Level 2
Level 2
Posts: 29
Joined: Fri Sep 03, 2010 11:16 am

Post by danielsender »

Since Office 2007 is the first window application that I wanted to install, I remove ~/.wine and ran that command first.
John Drescher

can't install microsoft office 2007

Post by John Drescher »

Sorry, but rename it to what?
You can rename the folder to you want or even delete it if you did not
care what was installed under wine. The point was to get the
potentially corrupted virtual windows out of the way.

John
danielsender
Level 2
Level 2
Posts: 29
Joined: Fri Sep 03, 2010 11:16 am

Post by danielsender »

Hi John,

That's exactly what I did, I removed .wine completely and ran setup.exe as I wrote before. I know nothing about wine so I was wondering if the log that I posted gives you a clue of what's happening. Thanks,

Daniel
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

danielsender wrote: That's exactly what I did, I removed .wine completely and ran setup.exe as I wrote before. I know nothing about wine so I was wondering if the log that I posted gives you a clue of what's happening. Thanks,
You mentioned you could install this in Ubuntu 9.04. There were some changes in 10.04 pertaining to the executable bit that have caused lots of problems for Ubuntu users. That may be the "unexpected error" that's terminating the installer. Search the Ubuntu forum for how to work around it.

The log you posted is not helpful; Office's error handler is intercepting the output. Disable dw20.exe in winecfg and run the installer again.

The other thing is: what edition of Office is this (Pro, Standard, etc.), and what language? In the past there have been bugs that affected only certain versions of the Office installer.
danielsender
Level 2
Level 2
Posts: 29
Joined: Fri Sep 03, 2010 11:16 am

Post by danielsender »

Can you tell me how to disable dw20.exe in the cfg window? I only see the remove option.

I just tried with another office 2007 media, an exe file that when is executed un-zipps into a Temp directory, the un-zipping goes well and when I run the setup.exe file I get the same result as before.

You mentioned a thread on the Ubuntu forums, but I couldn't find it, do you have a link for it?

Thanks!

Daniel
danielsender
Level 2
Level 2
Posts: 29
Joined: Fri Sep 03, 2010 11:16 am

Post by danielsender »

Something quite interesting. I found in the office another system with Lucid 10.04, the same wine version (1.1.42). I placed the CD, ran the setup.exe and it opens the installation window!!! This system already has office 2007 installed. So I looked into the cfg file of wine, and found in the libraries the following "Existing overrides:"

gdiplus (native)
msvcrt (native, builtin)
msxml3 (native, builtin)
riched20 (native, builtin)
riched32 (native, builtin)

So I went back to my system and using "winetricks" I downloaded these libraries. When I checked in my cfg window, all these libraries are now there but their names have an asterisk, e.g.:
*msxml3 (native, builtin), etc.

I put the disk in the drive and again, the problem remains. My question is:
what could make the difference between these 2 machines?

Thanks,

Daniel
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

Can you tell me how to disable dw20.exe in the cfg window? I only see the remove option.
Type dw20.exe in the box, and click Add. Select dw20.exe from the list, click Edit, select (Disable), click OK, then click Apply.
You mentioned a thread on the Ubuntu forums, but I couldn't find it, do you have a link for it
http://lmgtfy.com/?q=ubuntu+executable+bit+wine
danielsender wrote:Something quite interesting. I found in the office another system with Lucid 10.04, the same wine version (1.1.42).
You said in your initial post you were using 1.2. Which is it? If it's 1.1.42, you need to upgrade.
I placed the CD, ran the setup.exe and it opens the installation window!!! This system already has office 2007 installed. So I looked into the cfg file of wine, and found in the libraries the following "Existing overrides:"

gdiplus (native)
msvcrt (native, builtin)
msxml3 (native, builtin)
riched20 (native, builtin)
riched32 (native, builtin)
The only override on that list that is necessary is riched20, and that's not needed for the installer.
So I went back to my system and using "winetricks" I downloaded these libraries. When I checked in my cfg window, all these libraries are now there but their names have an asterisk, e.g.:
*msxml3 (native, builtin), etc.
Delete ~/.wine and start over with a clean wineprefix, using Wine 1.2 or newer.
My question is:
what could make the difference between these 2 machines?
How would I know? It's your computer.

You didn't answer my question about which edition of Office you have.
danielsender
Level 2
Level 2
Posts: 29
Joined: Fri Sep 03, 2010 11:16 am

Post by danielsender »

After following your directions on disabling dw20.exe when I attempt to install I get a log line that says:

wine: cannot fine L"D:\\Office.en-us\\DW20.exe"

and also get a different window saying:

"Setup did not complete successfully, We are sorry for the inconvenience"

I think that the executable bit issue is a one that prevents running the executable which is not my problem, it always runs with "wine setup.exe".
The version is Office_Professional_Plus_2007.

When I said wine1.2 was based on the line written on the synaptic manager, but when I typed "wine --version" then I read 1.1.42.

I'm about to throw the towel...

Cheers,

Daniel
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

danielsender wrote:After following your directions on disabling dw20.exe when I attempt to install I get a log line that says:

wine: cannot fine L"D:\\Office.en-us\\DW20.exe"
That's normal; you've disabled it. Where's the rest of the console output?

You should also upgrade to 1.2 or later.
danielsender
Level 2
Level 2
Posts: 29
Joined: Fri Sep 03, 2010 11:16 am

Post by danielsender »

HOLD IT!!! I just updated to 1.2 and is installing! I'll let you know how it works. Should I use winetricks to get riched20?
danielsender
Level 2
Level 2
Posts: 29
Joined: Fri Sep 03, 2010 11:16 am

Post by danielsender »

Word works fine, I still have to check the other components. Thank you very very much for your help and patience.

cheers,

Daniel
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

danielsender wrote:HOLD IT!!! I just updated to 1.2 and is installing! I'll let you know how it works. Should I use winetricks to get riched20?
You don't need winetricks; Office installs its own riched20, so just set it to native in winecfg. There's more information in the AppDB. http://appdb.winehq.org/objectManager.p ... n&iId=4992
Locked