linking menu icon with MS office exe files
-
- Level 1
- Posts: 7
- Joined: Sat Feb 02, 2013 3:32 pm
linking menu icon with MS office exe files
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.
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.
-
- Level 1
- Posts: 7
- Joined: Sat Feb 02, 2013 3:32 pm
Re: linking menu icon with MS office exe files
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”
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”
-
- Level 1
- Posts: 7
- Joined: Sat Feb 02, 2013 3:32 pm
Re: linking menu icon with MS office exe files
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.
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.
Re: linking menu icon with MS office exe files
Did you remove the z: drive from winecfg?
-
- Level 1
- Posts: 7
- Joined: Sat Feb 02, 2013 3:32 pm
Re: linking menu icon with MS office exe files
No, do I have to?
Re: linking menu icon with MS office exe files
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?
-
- Level 1
- Posts: 7
- Joined: Sat Feb 02, 2013 3:32 pm
Re: linking menu icon with MS office exe files
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?
Re: linking menu icon with MS office exe files
Post terminal output from trying to run it from a terminal. Include the command you are using to start it.
-
- Level 1
- Posts: 7
- Joined: Sat Feb 02, 2013 3:32 pm
Re: linking menu icon with MS office exe files
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 ~ $
[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 ~ $
-
- Level 1
- Posts: 7
- Joined: Sat Feb 02, 2013 3:32 pm
Re: linking menu icon with MS office exe files
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
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