PROBLEM SOLVED : [Wine] wine regedit - wine: could not load L"C:\\windows\\regedit.exe": Bad EXE format for

Nick Law nlaw at nildram.co.uk
Mon Sep 4 18:26:36 CDT 2006


I found the cause of the problem, regedit.exe that is located in 
/home/yourlogin/.wine/drive_c/windows/ is a symbolic link and was 
pointing to /usr/lib/wine, which contained an old copy of regedit.exe.so, ie

regedit.exe -> /usr/lib/wine/regedit.exe.so

The current version of wine 0.9.20's regedit was actually in 
/usr/local/lib/wine/

So to correct the problem I did the following ...

cd ~/.wine/drive_c/windows
rm regedit.exe

Now if I type regedit in a terminal window it works fine. :)

So I guess the installation procedure (if you are using ./configure, 
make depend, make, make install) fails to remove these old symbolic 
links that were used in earlier versions of wine.

Thanks
Nick

Nick Law wrote:
> I get the same error, i.e.
>
> wine: could not load L"C:\\windows\\regedit.exe": Bad EXE format for"
>
> even if I just type regedit.
>
>
> Sylvain Petreolle wrote:
>> Hi,
>> couldnt you just run 'regedit' ?
>>
>> --- Nick Law <nlaw at mic-nucmed.co.uk> a écrit :
>>
>>  
>>> Hi,
>>>
>>> The following command typed in a terminal window "wine regedit" 
>>> worked ok in earlier versions.
>>>
>>> I just tried typing it on two different systems running Wine V0.9.20 
>>> and I get the following
>>>     
>> error.
>>  
>>> "wine: could not load L"C:\\windows\\regedit.exe": Bad EXE format for"
>>>     
>>
>>
>> Kind regards,
>> Sylvain Petreolle (aka Usurp)
>> --- --- --- --- --- --- --- --- --- --- --- --- ---
>> Run your favorite Windows apps with free ReactOS : 
>> http://www.reactos.org
>> Listen to non-DRMised Music: http://www.jamendo.com
>>
>>
>>
>>
>> _______________________________________________
>> wine-users mailing list
>> wine-users at winehq.org
>> http://www.winehq.org/mailman/listinfo/wine-users
>>
>>
>>   
>
>
> _______________________________________________
> wine-users mailing list
> wine-users at winehq.org
> http://www.winehq.org/mailman/listinfo/wine-users
>
>




More information about the wine-users mailing list