Original Post
I have been using Wine 1.6 for running several old Windows XP applications. Last night I tried to install a old win98 app and seem to have broken something.
I changed the "default" compatibility mode to "win98" in the Configure Wine window and exited out. The n tried to right click on the .exe file to use install wine application from the pop-up menu. Wine never launched the install.
When I tried to go back to "Configure Wine" it even failed to open and then to my shock I found that my other three windows XP applications that worked prior to this all failed to launch.
Doing some research I tried launching winecfg from the command line and it failed with an error with something about .idt failed to invoke.
So my question is how can I undo or fix my horrible mistake? Is there a way to force the wine mode back to winXP?
Edit to add following
Per a suggestion I tried winetricks winxp
but nothing happened, it just hung & I got the following:
gerald@gerald-Vostro-200:~$ winetricks winxp
wine cmd.exe /c echo '%ProgramFiles%' returned empty string
When i run winecfg
, I got:
gerald@gerald-Vostro-200:~$ winecfg
modify_ldt: Invalid argument
modify_ldt: Invalid argument
modify_ldt: Invalid argument
modify_ldt: Invalid argument
modify_ldt: Invalid argument
^C (I tried to cancle / close the hung up process)
err:ntdll:RtlpWaitForCriticalSection section 0x7bcc7be0 "loader.c: loader_section" wait timed out in thread 0024, blocked by 0009, retrying (60 sec)
^C
err:ntdll:RtlpWaitForCriticalSection section 0x7bcc7be0 "loader.c: loader_section" wait timed out in thread 0025, blocked by 0009, retrying (60 sec)
^C
err:ntdll:RtlpWaitForCriticalSection section 0x7bcc7be0 "loader.c: loader_section" wait timed out in thread 0026, blocked by 0009, retrying (60 sec)
err:seh:raise_exception Unhandled exception code c0000194 flags 0 addr 0x7bc367d1
err:ntdll:RtlpWaitForCriticalSection section 0x7bcc7be0 "loader.c: loader_section" wait timed out in thread 0024, blocked by 0009, retrying (60 sec)
^C
err:seh:raise_exception Unhandled exception code c000013a flags 0 addr 0xf77d3430
gerald@gerald-Vostro-200:~$
UPDATE
Looking around in the FAQ I found "10.6. Every app I try to start crashes" http://wiki.winehq.org/FAQ#head-7c6623cfe3fb6b542f4b0d97bea78ce682c7c16c
I was not able to recover my wine installation and had to remove it then reinstall.
All is good now.