http://bugs.winehq.org/show_bug.cgi?id=3412
------- Additional Comments From markknecht@gmail.com 2007-21-05 19:22 ------- OK, the dll is not found:
mark@lightning ~ $ find .wine/drive_c -iname msvcirt.dll mark@lightning ~ $
NO big deal to me to try the tricks that you are suggesting. Hang on a minute...
mark@lightning ~ $ sh winetricks vcrun6 /home/mark/.wine updated successfully. --17:07:57-- http://download.microsoft.com/download/vc60pro/update/1/w9xnt4/en-us/vc6redi... => `vc6redistsetup_enu.exe' Resolving download.microsoft.com... 66.186.196.73, 66.186.196.83 Connecting to download.microsoft.com|66.186.196.73|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1,833,232 (1.7M) [application/octet-stream]
100%[====================================>] 1,833,232 1.32M/s
17:07:59 (1.31 MB/s) - `vc6redistsetup_enu.exe' saved [1833232/1833232]
Executing wine /home/mark/winetrickscache/vc6redistsetup_enu.exe /T:c:\winetrickstmp /c Executing cabextract /home/mark/winetrickscache/vcredist.exe Extracting cabinet: /home/mark/winetrickscache/vcredist.exe extracting VCRedist.inf extracting PreSetup.exe extracting 50comupd.exe extracting asycfilt.dll extracting atla.dll extracting comcat.dll extracting mfc42.dll extracting mfc42u.dll extracting msvcirt.dll extracting msvcp60.dll extracting msvcrt.dll extracting oleaut32.dll extracting olepro32.dll extracting stdole2.tlb extracting atlu.dll extracting ADVPACK.DLL extracting W95INF32.DLL extracting W95INF16.DLL
All done, no errors. Install of vcrun6 done winetricks done. mark@lightning ~ $
NOTE: I hear two 'uh oh' audio sounds while doing this but it seems to have installed.
OK, having run winetricks MathCAD did apparently install correcly. No error messages about dlls. However running the start command Vitaliy provided fails:
mark@lightning ~ $ cd ~ && wine start Mathcad.exe fixme:exec:SHELL_execute flags ignored: 0x00000500 Application could not be started, or no application associated with the specified file. ShellExecuteEx failed: File not found
mark@lightning ~ $
Now, looking down in the Program Files directory I find the application is actually "mcad.exe". If I change the start command to use mcad.exe the program still fails to start.
mark@lightning ~ $ cd ~ && wine start mcad.exe fixme:exec:SHELL_execute flags ignored: 0x00000500 Application could not be started, or no application associated with the specified file. ShellExecuteEx failed: File not found
mark@lightning ~ $
However if I cd into the program's directory it does run. The GUI comes up and simple things like typing in 1+2 and hitting return the program evaluates to the number '3' so it works. However in Windows I see an '=' sign in the equation while in wine I do not. Font problem?
Also, here's what's in the terminal when I run MathCad 8 now:
mark@lightning ~/.wine/drive_c/Program Files/MathSoft/Mathcad 8 $ fixme:psdrv:PSDRV_ExtEscape QUERYESCSUPPORT(24) - not supported. fixme:toolbar:TOOLBAR_SetRows multiple rows not supported! fixme:toolbar:TOOLBAR_SetRows multiple rows not supported! fixme:toolbar:TOOLBAR_SetRows multiple rows not supported! fixme:toolbar:TOOLBAR_SetRows multiple rows not supported! fixme:toolbar:TOOLBAR_SetRows multiple rows not supported! fixme:toolbar:TOOLBAR_SetRows multiple rows not supported! fixme:toolbar:TOOLBAR_SetRows multiple rows not supported! fixme:toolbar:TOOLBAR_SetRows multiple rows not supported! fixme:toolbar:TOOLBAR_SetRows multiple rows not supported! fixme:toolbar:TOOLBAR_SetRows multiple rows not supported! fixme:heap:RtlCompactHeap stub err:ole:CoGetClassObject class {00000000-0000-0000-0000-000000000000} not registered err:ole:create_server class {00000000-0000-0000-0000-000000000000} not registered err:ole:CoGetClassObject no class object {00000000-0000-0000-0000-000000000000} could be created for context 0x5
None the less this is a HUGE improvement over older revisions. What is the right solution for Wine though? Should running your winetricks be done by Wine itself to make it more user friendly?
I suppose this means the original problem, installation, is now solved with 0.9.37. However it is clear that there are probably other problems to be looked into like the missing '=' sign and who knows what else I find.
Thanks to both of you for your help and insights. I look forward to trying MathCAD out more seriously and seeing how Wine does.
Let me know what other things you would like me to try.