Wine doesn't work (guessing) after upgrade to version 7.0

Questions about Wine on Linux
Locked
ChaoZ
Level 2
Level 2
Posts: 13
Joined: Mon Sep 29, 2014 1:31 pm

Wine doesn't work (guessing) after upgrade to version 7.0

Post by ChaoZ »

Code: Select all

:~$ wineboot -u
INTEL-MESA: warning: Haswell Vulkan support is incomplete
00e0:fixme:advapi:RegisterEventSourceW ((null),L"AdobeARMservice"): stub
00e0:fixme:advapi:ReportEventW (CAFE4242,0x0004,0x0000,0x00000000,00000000,0x0001,0x00000000,0233FC6C,00000000): stub
00e0:fixme:advapi:DeregisterEventSource (CAFE4242) stub
002c:fixme:ver:GetCurrentPackageId (0031FEA4 00000000): stub
0034:fixme:ver:GetCurrentPackageId (0031FEA4 00000000): stub
0124:fixme:ver:GetCurrentPackageId (0031FEA4 00000000): stub
0130:err:setupapi:create_dest_file failed to create L"C:\\windows\\system32\\shlwapi.dll" (error=80)
0130:err:setupapi:create_dest_file failed to create L"C:\\windows\\system32\\ucrtbase.dll" (error=80)
0130:fixme:file:NtLockFile I/O completion on lock not implemented yet
0130:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0138:err:module:import_dll Library comctl32.dll (which is needed by L"C:\\windows\\system32\\control.exe") not found
0138:err:module:LdrInitializeThunk Importing dlls for L"C:\\windows\\system32\\control.exe" failed, status c0000135
0130:fixme:heap:RtlSetHeapInformation 00420000 0 0031CC14 4 stub
0130:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {0cfe0455-93ba-440d-a3fe-553973d0b723}
0130:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {797fabac-7b58-4796-b924-d51178a59ce4}
Native IE detected, not doing registration
0140:fixme:ver:GetCurrentPackageId (0031FEA4 00000000): stub
0130:fixme:ver:GetCurrentPackageId (0031FEA4 00000000): stub
wine: configuration in L"H:\\.wine" has been updated.
011c:fixme:ver:GetCurrentPackageId (0031FEA4 00000000): stub
chaoz@chaoz:~$ 0158:err:module:import_dll Library comctl32.dll (which is needed by L"C:\\windows\\system32\\msi.dll") not found
0158:err:module:import_dll Library msi.dll (which is needed by L"c:\\Programme\\Gemeinsame Dateien\\Adobe\\ARM\\1.0\\AdobeARM.exe") not found
0158:err:module:import_dll Library comctl32.dll (which is needed by L"C:\\windows\\system32\\COMDLG32.dll") not found
0158:err:module:import_dll Library COMDLG32.dll (which is needed by L"c:\\Programme\\Gemeinsame Dateien\\Adobe\\ARM\\1.0\\AdobeARM.exe") not found
0158:err:module:import_dll Library COMCTL32.dll (which is needed by L"c:\\Programme\\Gemeinsame Dateien\\Adobe\\ARM\\1.0\\AdobeARM.exe") not found
0158:err:module:LdrInitializeThunk Importing dlls for L"c:\\Programme\\Gemeinsame Dateien\\Adobe\\ARM\\1.0\\AdobeARM.exe" failed, status c0000135
0150:fixme:heap:RtlSetHeapInformation 00000000 1 00000000 0 stub

:~$ winecfg
0170:err:module:import_dll Library comctl32.dll (which is needed by L"c:\\windows\\system32\\winecfg.exe") not found
0170:err:module:import_dll Library comctl32.dll (which is needed by L"c:\\windows\\system32\\comdlg32.dll") not found
0170:err:module:import_dll Library comdlg32.dll (which is needed by L"c:\\windows\\system32\\winecfg.exe") not found
0170:err:module:LdrInitializeThunk Importing dlls for L"c:\\windows\\system32\\winecfg.exe" failed, status c0000135
0168:fixme:ver:GetCurrentPackageId (0031FEA4 00000000): stub
chaoz@chaoz:~$ 0178:err:module:import_dll Library COMCTL32.dll (which is needed by L"c:\\Programme\\Java\\jre7\\bin\\java.exe") not found
0178:err:module:LdrInitializeThunk Importing dlls for L"c:\\Programme\\Java\\jre7\\bin\\java.exe" failed, status c0000135
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine doesn't work (guessing) after upgrade to version 7.0

Post by jkfloris »

Code: Select all

wine: configuration in L"H:\\.wine" has been updated.
This is an unusual directory name.

Does Wine work if you use a clean wine prefix?

Code: Select all

WINEPREFIX=${HOME}/test-wine wine winecfg
ChaoZ
Level 2
Level 2
Posts: 13
Joined: Mon Sep 29, 2014 1:31 pm

Re: Wine doesn't work (guessing) after upgrade to version 7.0

Post by ChaoZ »

That works!

Then i tried

Code: Select all

WINEPREFIX=${HOME}/.wine wine winecfg
doesn't work.

What must i repair to work with my old profile?
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine doesn't work (guessing) after upgrade to version 7.0

Post by jkfloris »

That's a good question.
I'm afraid it's easier to
- rename the old prefix

Code: Select all

mv ~/.wine ~/wine-backup
- create a new one

Code: Select all

wine winecfg
- reinstall your programs
- copy the desired data from the old to the new prefix.
ChaoZ
Level 2
Level 2
Posts: 13
Joined: Mon Sep 29, 2014 1:31 pm

Re: Wine doesn't work (guessing) after upgrade to version 7.0

Post by ChaoZ »

Is there a way without reinstall all programs?
That would be some hours of work to install and configure them.
ChaoZ
Level 2
Level 2
Posts: 13
Joined: Mon Sep 29, 2014 1:31 pm

Re: Wine doesn't work (guessing) after upgrade to version 7.0

Post by ChaoZ »

jkfloris wrote: Wed Jan 26, 2022 5:39 am

Code: Select all

wine: configuration in L"H:\\.wine" has been updated.
This is an unusual directory name.
Which is usual?
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine doesn't work (guessing) after upgrade to version 7.0

Post by jkfloris »

Usually this says something like:

Code: Select all

wine: configuration in L"/home/floris/.wine" has been updated.
You can try to copy the comctl32.dll and comdlg32.dll files from the working prefix to you old prefix.
Make sure you copy both the version from system32 and the one from syswow64.
And rerun wineboot -u
ChaoZ
Level 2
Level 2
Posts: 13
Joined: Mon Sep 29, 2014 1:31 pm

Re: Wine doesn't work (guessing) after upgrade to version 7.0

Post by ChaoZ »

Done, but doesn't change anything.
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine doesn't work (guessing) after upgrade to version 7.0

Post by jkfloris »

Then the error is somewhere in the registry.
You can try to register the dll files with wine regsvr32 /i comctl32.dll
and try to run winecfg with

Code: Select all

WINEDLLOVERRIDES=comctl32=n wine winecfg
If this doesn't help, then reinstalling is, I think, the only solution.
Should a program require a 'winetrick', install it in its own prefix.
ChaoZ
Level 2
Level 2
Posts: 13
Joined: Mon Sep 29, 2014 1:31 pm

Re: Wine doesn't work (guessing) after upgrade to version 7.0

Post by ChaoZ »

~$ wine regsvr32 /i comctl32.dll
regsvr32: DLL 'comctl32.dll' konnte nicht geladen werden
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine doesn't work (guessing) after upgrade to version 7.0

Post by jkfloris »

Make sure you are in the folder where comctl32.dll is located.
for example

Code: Select all

cd ${HOME}/.wine/drive_c/windows/syswow64
wine regsvr32 /i comctl32.dll
ChaoZ
Level 2
Level 2
Posts: 13
Joined: Mon Sep 29, 2014 1:31 pm

Re: Wine doesn't work (guessing) after upgrade to version 7.0

Post by ChaoZ »

~$ cd .wine/drive_c/windows/system32/
:~/.wine/drive_c/windows/system32$ ls comc*
comctl32.dll comctl32.dll-old
:~/.wine/drive_c/windows/system32$ wine regsvr32 /i comctl32.dll
INTEL-MESA: warning: Haswell Vulkan support is incomplete
00dc:fixme:advapi:RegisterEventSourceW ((null),L"AdobeARMservice"): stub
00dc:fixme:advapi:ReportEventW (CAFE4242,0x0004,0x0000,0x00000000,00000000,0x0001,0x00000000,0233FC6C,00000000): stub
00dc:fixme:advapi:DeregisterEventSource (CAFE4242) stub
002c:fixme:ver:GetCurrentPackageId (0031FEA4 00000000): stub
0034:fixme:ver:GetCurrentPackageId (0031FEA4 00000000): stub
regsvr32: DLL 'comctl32.dll' konnte nicht geladen werden
Locked