Changing wine prefix results in file type error

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
User avatar
isaac
Level 2
Level 2
Posts: 39
Joined: Wed Mar 09, 2011 8:49 am

Changing wine prefix results in file type error

Post by isaac »

Example:

Image

Uploaded with ImageShack.us
Example image (above) shows what happens when I click on a Microsoft Word 2007 file.

Error message: "There is no Windows program configured to open this type of file."

Actions that produce this error: Clicking on any file type associated with Microsoft Office.


Theory behind the cause of this error: I recently removed Office 2007 by deleting ~/.wine. Then I reinstalled it under a new prefix called .MSOffice. Shortcuts were able to update, however I have not been able to open Office applications, like Word, by clicking on the Office file, like .doc.

Fail-proof solution: Reformat disk and install Ubuntu 10.10.

My logic: When I click on a file, wine is looking for the app installed in prefix .wine instead of .MSOffice.

Interesting wine problem to me! I'd love to figure out why wine doesn't recognize Office files. I've been trying other solutions with no luck, so I thought I'd start a new thread.
User avatar
isaac
Level 2
Level 2
Posts: 39
Joined: Wed Mar 09, 2011 8:49 am

Post by isaac »

update
I tried deleting MS Office related files under ~/.local/share/applications
No change.

under my .MSOffice prefix directory, system.reg has the line:

Code: Select all

[Software\\Classes\\.docx] 1300479084
@="Word.Document.12"
"Content Type"="application/vnd.openxmlformats-officedocument.wordprocessingml.document"
"PerceivedType"="document"
under my .wine prefix directory if I search .docx and it is not found! :)

I think I'm close!!!! :twisted:
User avatar
isaac
Level 2
Level 2
Posts: 39
Joined: Wed Mar 09, 2011 8:49 am

Post by isaac »

Is this an Ubuntu problem or a wine problem?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

isaac wrote:Is this an Ubuntu problem or a wine problem?
This is your problem. You broke configuration and expect Wine or Ubintu to somehow figure it out?

DO NOT rename wineprefixes! If you start with one, then KEEP it that way. If you want your ms office in a different wineprefix - RE-INSTALL it there. And do not forget to remove the original one first.
User avatar
isaac
Level 2
Level 2
Posts: 39
Joined: Wed Mar 09, 2011 8:49 am

Post by isaac »

Are you replying to this thread? Because nothing was renamed. I think you were replying to someone else.
User avatar
isaac
Level 2
Level 2
Posts: 39
Joined: Wed Mar 09, 2011 8:49 am

Post by isaac »

Never mind. I think this thread is just unclear.

PLEASE DON'T WORRY ABOUT THIS THREAD. THERE'S TOO MUCH RANDOM INFORMATION HERE FOR SOMEONE TO UNDERSTAND THIS SITUATION. I WILL TRY AGAIN LATER NEXT WEEK AFTER I'VE MADE MORE PROGRESS ON MY OWN. I DON'T WANT TO CONFUSE ANY MORE PEOPLE. THANK YOU
User avatar
isaac
Level 2
Level 2
Posts: 39
Joined: Wed Mar 09, 2011 8:49 am

Post by isaac »

Tashib
Newbie
Newbie
Posts: 1
Joined: Fri Aug 19, 2011 1:25 am

Post by Tashib »

Thanks for the link)) I found out there a bunch of useful stuff. That helped to overcome my issue:)
Locked