linking menu icon with MS office exe files

Questions about Wine on Linux
Locked
Alan Reynolds
Level 1
Level 1
Posts: 7
Joined: Sat Feb 02, 2013 3:32 pm

linking menu icon with MS office exe files

Post by Alan Reynolds »

I installed MS office on Linuxmint 14.1 using wine install. There are icons on the applications menu that do not activate the programs. An example of the link in launcher properties is as follows;

env WINEPREFIX="/home/alan/.wine" wine C:\\windows\\command\\start.exe /Unix /home/alan/.wine/dosdevices/c:/users/alan/Start\ Menu/Programs/Microsoft\ Office/Microsoft\ Office\ PowerPoint\ 2007.lnk

Assuming that this was suppoed to be a path to the exe file I modified another launcher to;

env WINEPREFIX="/home/alan/.wine" wine C:\\program\files\\microsoft\office\\office12\\excel.exe

I would be gratefull if someone would explain the rationale behind the link and suggest where I am going wrong.
Further info; when I was using Winetricks in the installation a prompt asked for the CD Office12 and the CD label was Office 2007. The software works OK so long as I activate the approptriate exe file.
User avatar
dimesio
Moderator
Moderator
Posts: 13207
Joined: Tue Mar 25, 2008 10:30 pm

Re: linking menu icon with MS office exe files

Post by dimesio »

Alan Reynolds
Level 1
Level 1
Posts: 7
Joined: Sat Feb 02, 2013 3:32 pm

Re: linking menu icon with MS office exe files

Post by Alan Reynolds »

Thanks for the advice. I have implemented the fixes suggested but without success. I have tried both;

env WINEPREFIX="/home/alan/.wine" wine C:\\windows\\command\\start.exe /Unix “/home/alan/.wine/dosdevices/c:/users/alan/Start Menu/Programs/Microsoft Office/Microsoft Office Access 2007.lnk”

as you suggested and;

env WINEPREFIX="/home/alan/.wine" wine C:\\windows\\command\\start.exe /Unix “/home/alan/.wine/dosdevices/c:/users/alan/'Start Menu'/Programs/'Microsoft Office'/'Microsoft Office Access 2007'.lnk”
Alan Reynolds
Level 1
Level 1
Posts: 7
Joined: Sat Feb 02, 2013 3:32 pm

Re: linking menu icon with MS office exe files

Post by Alan Reynolds »

Further info which may be relevent.
Windows programs open when in C: with right click open with Wine Loader. However if the EXE icon is copied or moved to the desktop it will not open.
User avatar
dimesio
Moderator
Moderator
Posts: 13207
Joined: Tue Mar 25, 2008 10:30 pm

Re: linking menu icon with MS office exe files

Post by dimesio »

Did you remove the z: drive from winecfg?
Alan Reynolds
Level 1
Level 1
Posts: 7
Joined: Sat Feb 02, 2013 3:32 pm

Re: linking menu icon with MS office exe files

Post by Alan Reynolds »

No, do I have to?
User avatar
dimesio
Moderator
Moderator
Posts: 13207
Joined: Tue Mar 25, 2008 10:30 pm

Re: linking menu icon with MS office exe files

Post by dimesio »

No, you shouldn't. If you had, that would explain why you could not run an exe located outside the wineprefix. As it is, I don't know why you can't. Does running from a terminal work?
Alan Reynolds
Level 1
Level 1
Posts: 7
Joined: Sat Feb 02, 2013 3:32 pm

Re: linking menu icon with MS office exe files

Post by Alan Reynolds »

No! there are only two ways to run an MS Office application. From the EXE icon in the virtual C: drive or right clickon a document and open with the Office application. Would I be better off re-installing Wine and MS Office. If so is it advisable to install MS Office using Wine installer/uninstaller or by using Winetricks?
User avatar
dimesio
Moderator
Moderator
Posts: 13207
Joined: Tue Mar 25, 2008 10:30 pm

Re: linking menu icon with MS office exe files

Post by dimesio »

Post terminal output from trying to run it from a terminal. Include the command you are using to start it.
Alan Reynolds
Level 1
Level 1
Posts: 7
Joined: Sat Feb 02, 2013 3:32 pm

Re: linking menu icon with MS office exe files

Post by Alan Reynolds »

lan@alan-Compaq-610 ~ $ winword &
[1] 17611
alan@alan-Compaq-610 ~ $ winword: command not found
winword
winword: command not found
[1]+ Exit 127 winword
[1]+ Exit 127 winword
alan@alan-Compaq-610 ~ $
User avatar
dimesio
Moderator
Moderator
Posts: 13207
Joined: Tue Mar 25, 2008 10:30 pm

Re: linking menu icon with MS office exe files

Post by dimesio »

Alan Reynolds
Level 1
Level 1
Posts: 7
Joined: Sat Feb 02, 2013 3:32 pm

Re: linking menu icon with MS office exe files

Post by Alan Reynolds »

This works from Terminal. Also right click and open with Wine Windows Program Loader.
alan@alan-Compaq-610 ~ $ wine start 'c:\program files\microsoft office\office12\winword.exe'
fixme:exec:SHELL_execute flags ignored: 0x00000100
fixme:heap:HeapSetInformation 0x110000 1 (nil) 0
alan@alan-Compaq-610 ~ $ fixme:heap:HeapSetInformation 0x110000 1 (nil) 0
fixme:heap:HeapSetInformation 0x110000 1 (nil) 0
fixme:heap:HeapSetInformation 0x110000 1 (nil) 0
fixme:heap:HeapSetInformation 0x110000 1 (nil) 0
fixme:mscoree:get_runtime_info unsupported runtimeinfo flags 50
fixme:mscoree:CLRMetaHost_GetRuntime Unrecognized version L"v2.0.0"
fixme:mscoree:LockClrVersion (0x326ff57b 0x33428968 0x33428978): stub
fixme:heap:HeapSetInformation 0x110000 1 (nil) 0
fixme:heap:HeapSetInformation 0x110000 1 (nil) 0
fixme:heap:HeapSetInformation 0x110000 1 (nil) 0
fixme:time:GetCalendarInfoW Unimplemented caltype 1
fixme:advapi:RegisterEventSourceW ((null),L"Microsoft Office 12 Sessions"): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0004,0x0000,0x00001b58,(nil),0x0006,0x00000000,0x33f6d8,(nil)): stub
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
Locked