Wine-7.5 couldn't start .exe file

Questions about Wine on Linux
Locked
bigkrp
Level 2
Level 2
Posts: 10
Joined: Sat Apr 23, 2022 9:21 am

Wine-7.5 couldn't start .exe file

Post by bigkrp »

I tried to execute some `setup.exe` file and it didn't event started. When i run it in terminal i have this output:

Code: Select all

002c:fixme:winediag:LdrInitializeThunk wine-staging 7.5 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

0080:err:x11settings:X11DRV_ChangeDisplaySettingsEx Failed to write L"\\\\.\\DISPLAY1" display settings to registry.
0080:err:system:NtUserChangeDisplaySettings Changing L"\\\\.\\DISPLAY1" display settings returned -3.
0080:err:explorer:initialize_display_settings Failed to initialize registry display settings for L"\\\\.\\DISPLAY1".
0118:err:module:load_wow64_ntdll failed to load L"\\??\\C:\\windows\\syswow64\\ntdll.dll" error c0000135
Application could not be started, or no application associated with the specified file.
ShellExecuteEx failed: Internal error.
Screenfetch output:

Code: Select all

           /:-------------:\          krp@fedora
        :-------------------::        OS: Fedora 
      :-----------/shhOHbmp---:\      Kernel: x86_64 Linux 5.16.9-200.rog.fc35.x86_64
    /-----------omMMMNNNMMD  ---:     Uptime: 6h 29m
   :-----------sMMMMNMNMP.    ---:    Packages: 3636
  :-----------:MMMdP-------    ---\   Shell: bash 5.1.8
 ,------------:MMMd--------    ---:   Resolution: 1600x900
 :------------:MMMd-------    .---:   DE: GNOME 41.4
 :----    oNMMMMMMMMMNho     .----:   WM: Mutter
 :--     .+shhhMMMmhhy++   .------/   WM Theme: 
 :-    -------:MMMd--------------:    GTK Theme: Adwaita-dark [GTK2/3]
 :-   --------/MMMd-------------;     Icon Theme: Adwaita
 :-    ------/hMMMy------------:      Font: Cantarell 11
 :-- :dMNdhhdNMMNo------------;       Disk: 1,7T / 2,1T (80%)
 :---:sdNMMMMNds:------------:        CPU: Intel Core i7-10750H @ 12x 5GHz [51.0°C]
 :------:://:-------------::          GPU: NVIDIA GeForce RTX 2060
 :---------------------://            RAM: 8399MiB / 15770MiB
Wine version:

Code: Select all

wine-7.5 (Staging)
Any idea what to do?
bigkrp
Level 2
Level 2
Posts: 10
Joined: Sat Apr 23, 2022 9:21 am

Re: Wine-7.5 couldn't start .exe file

Post by bigkrp »

Up
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine-7.5 couldn't start .exe file

Post by jkfloris »

Do Wine's built-in programs work?

Code: Select all

wine explorer
bigkrp
Level 2
Level 2
Posts: 10
Joined: Sat Apr 23, 2022 9:21 am

Re: Wine-7.5 couldn't start .exe file

Post by bigkrp »

Not all of them. For example: `WineMine`, `Wine File Manager`, `Notepad` work well. But `Winetricks` runed only via terminal.
Here some screens in attach:
Screenshot from 2022-04-27 10-27-00.png
Screenshot from 2022-04-27 10-27-18.png
Screenshot from 2022-04-27 10-30-53.png
bigkrp
Level 2
Level 2
Posts: 10
Joined: Sat Apr 23, 2022 9:21 am

Re: Wine-7.5 couldn't start .exe file

Post by bigkrp »

Also some output when i tried run winetricks
Screenshot from 2022-04-27 10-27-51.png
Screenshot from 2022-04-27 10-27-51.png (18.03 KiB) Viewed 12061 times
Screenshot from 2022-04-27 10-27-56.png
Screenshot from 2022-04-27 10-28-02.png
bigkrp
Level 2
Level 2
Posts: 10
Joined: Sat Apr 23, 2022 9:21 am

Re: Wine-7.5 couldn't start .exe file

Post by bigkrp »

wine explorer - work well
Screenshot from 2022-04-27 12-06-11.jpeg
bigkrp
Level 2
Level 2
Posts: 10
Joined: Sat Apr 23, 2022 9:21 am

Re: Wine-7.5 couldn't start .exe file

Post by bigkrp »

Should i install 'ntdll.dll' ?
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine-7.5 couldn't start .exe file

Post by jkfloris »

With a full Wine installation, that file is installed automatically.
Which Wine packages have you installed?
bigkrp
Level 2
Level 2
Posts: 10
Joined: Sat Apr 23, 2022 9:21 am

Re: Wine-7.5 couldn't start .exe file

Post by bigkrp »

I don't know, maybe it was installed through steam. How can i check it?
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine-7.5 couldn't start .exe file

Post by jkfloris »

I don't have much experience with Fedora, but I think the following command should work:

Code: Select all

sudo dnf list installed | grep wine
bigkrp
Level 2
Level 2
Posts: 10
Joined: Sat Apr 23, 2022 9:21 am

Re: Wine-7.5 couldn't start .exe file

Post by bigkrp »

Here output

Code: Select all

mingw32-wine-gecko.noarch                         2.47.2-2.fc34                          @fedora                                             
mingw64-wine-gecko.noarch                         2.47.2-2.fc34                          @fedora                                             
wine.x86_64                                       7.5-1.fc35                             @updates                                            
wine-alsa.i686                                    7.5-1.fc35                             @updates                                            
wine-alsa.x86_64                                  7.5-1.fc35                             @updates                                            
wine-arial-fonts.noarch                           7.5-1.fc35                             @updates                                            
wine-cms.i686                                     7.5-1.fc35                             @updates                                            
wine-cms.x86_64                                   7.5-1.fc35                             @updates                                            
wine-common.noarch                                7.5-1.fc35                             @updates                                            
wine-core.i686                                    7.5-1.fc35                             @updates                                            
wine-core.x86_64                                  7.5-1.fc35                             @updates                                            
wine-courier-fonts.noarch                         7.5-1.fc35                             @updates                                            
wine-desktop.noarch                               7.5-1.fc35                             @updates                                            
wine-dxvk.i686                                    1.10.1-1.fc35                          @updates                                            
wine-dxvk.x86_64                                  1.10.1-1.fc35                          @updates                                            
wine-dxvk-d3d9.i686                               1.10.1-1.fc35                          @updates                                            
wine-dxvk-d3d9.x86_64                             1.10.1-1.fc35                          @updates                                            
wine-dxvk-dxgi.i686                               1.10.1-1.fc35                          @updates                                            
wine-dxvk-dxgi.x86_64                             1.10.1-1.fc35                          @updates                                            
wine-filesystem.noarch                            7.5-1.fc35                             @updates                                            
wine-fixedsys-fonts.noarch                        7.5-1.fc35                             @updates                                            
wine-fonts.noarch                                 7.5-1.fc35                             @updates                                            
wine-ldap.i686                                    7.5-1.fc35                             @updates                                            
wine-ldap.x86_64                                  7.5-1.fc35                             @updates                                            
wine-marlett-fonts.noarch                         7.5-1.fc35                             @updates                                            
wine-mono.noarch                                  7.1.1-1.fc35                           @updates                                            
wine-ms-sans-serif-fonts.noarch                   7.5-1.fc35                             @updates                                            
wine-openal.i686                                  7.5-1.fc35                             @updates                                            
wine-openal.x86_64                                7.5-1.fc35                             @updates                                            
wine-opencl.i686                                  7.5-1.fc35                             @updates                                            
wine-opencl.x86_64                                7.5-1.fc35                             @updates                                            
wine-pulseaudio.i686                              7.5-1.fc35                             @updates                                            
wine-pulseaudio.x86_64                            7.5-1.fc35                             @updates                                            
wine-small-fonts.noarch                           7.5-1.fc35                             @updates                                            
wine-symbol-fonts.noarch                          7.5-1.fc35                             @updates                                            
wine-system-fonts.noarch                          7.5-1.fc35                             @updates                                            
wine-systemd.noarch                               7.5-1.fc35                             @updates                                            
wine-tahoma-fonts.noarch                          7.5-1.fc35                             @updates                                            
wine-times-new-roman-fonts.noarch                 7.5-1.fc35                             @updates                                            
wine-twain.i686                                   7.5-1.fc35                             @updates                                            
wine-twain.x86_64                                 7.5-1.fc35                             @updates                                            
wine-webdings-fonts.noarch                        7.5-1.fc35                             @updates                                            
wine-wingdings-fonts.noarch                       7.5-1.fc35                             @updates                                            
winetricks.noarch                                 20210825-1.fc35                        @fedora                                             

jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine-7.5 couldn't start .exe file

Post by jkfloris »

That looks good.
Back to your original question. Does the setup work in a clean wineprefix?

Code: Select all

WINEPREFIX=${HOME}/wine-test wine setup.exe
The winetricks warnings can probably be solved by updating the program.

Code: Select all

sudo winetricks --self-update
bigkrp
Level 2
Level 2
Posts: 10
Joined: Sat Apr 23, 2022 9:21 am

Re: Wine-7.5 couldn't start .exe file

Post by bigkrp »

Not sure about your question.. so i did

Code: Select all

WINEPREFIX=${HOME}/wine-test wine setup.exe
And here output:

Code: Select all

wine: created the configuration directory '/home/krp/wine-test'
002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
002c:fixme:winediag:LdrInitializeThunk wine-staging 7.5 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
0048:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0050:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
MESA-INTEL: warning: MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0
Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0


MESA-INTEL: warning: MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0
Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0


0048:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0048:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0048:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0050:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0050:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0050:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0048:err:ole:start_rpcss Failed to open RpcSs service
0050:fixme:imm:ImeSetActiveContext (0x267050, 0): stub
0050:fixme:imm:ImmReleaseContext (0000000000010020, 0000000000267050): stub
002c:fixme:imm:ImeSetActiveContext (0x2598d0, 1): stub
002c:fixme:imm:ImmReleaseContext (0000000000010054, 00000000002598D0): stub
0078:err:winedevice:ServiceMain Failed to load L"C:\\windows\\system32\\win32k.sys"
0078:err:winedevice:ServiceMain Failed to load L"C:\\windows\\system32\\drivers\\dxgkrnl.sys"
0078:err:winedevice:ServiceMain Failed to load L"C:\\windows\\system32\\drivers\\dxgmms1.sys"
0088:fixme:file:NtLockFile I/O completion on lock not implemented yet
0088:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0088:err:mscoree:LoadLibraryShim error reading registry key for installroot
0088:err:mscoree:LoadLibraryShim error reading registry key for installroot
0088:err:mscoree:LoadLibraryShim error reading registry key for installroot
0088:err:mscoree:LoadLibraryShim error reading registry key for installroot
0088:err:mscoree:LoadLibraryShim error reading registry key for installroot
0088:err:mscoree:LoadLibraryShim error reading registry key for installroot
0088:err:mscoree:LoadLibraryShim error reading registry key for installroot
0088:err:mscoree:LoadLibraryShim error reading registry key for installroot
0090:err:module:load_wow64_ntdll failed to load L"\\??\\C:\\windows\\syswow64\\ntdll.dll" error c0000135
0088:err:msi:execute_command unable to execute command 1359
0088:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0088:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
00a0:fixme:font:freetype_set_outline_text_metrics failed to read full_nameW for font L"Material Icons Outlined"!
00a0:fixme:font:freetype_set_outline_text_metrics failed to read full_nameW for font L"Material Icons Round"!
00a0:fixme:font:freetype_set_outline_text_metrics failed to read full_nameW for font L"Material Icons Sharp"!
00a0:fixme:font:freetype_set_outline_text_metrics failed to read full_nameW for font L"Material Icons Two Tone"!
00a0:fixme:imm:ImeSetActiveContext (0x25b660, 1): stub
00a0:fixme:imm:ImmReleaseContext (000000000002007A, 000000000025B660): stub
wine: failed to open L"C:\\windows\\syswow64\\rundll32.exe": c0000135
wine: configuration in L"/home/krp/wine-test" has been updated.
0024:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0134:err:module:load_wow64_ntdll failed to load L"\\??\\C:\\windows\\syswow64\\ntdll.dll" error c0000135
Application could not be started, or no application associated with the specified file.
ShellExecuteEx failed: Internal error.
Setup doesn't work well(
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine-7.5 couldn't start .exe file

Post by jkfloris »

It seems that Wine is failing to create a wineprefix (a "fake" Windows installation).
Can you reinstall Wine or use the Wine packages from WineHQ?
Desert_Dweller
Newbie
Newbie
Posts: 1
Joined: Thu May 12, 2022 7:40 pm

Re: Wine-7.5 couldn't start .exe file

Post by Desert_Dweller »

I'm having the same problems with wine 7.0 on Debian 11. I uninstalled and reinstalled today, May 12th.
bigkrp
Level 2
Level 2
Posts: 10
Joined: Sat Apr 23, 2022 9:21 am

Re: Wine-7.5 couldn't start .exe file

Post by bigkrp »

jkfloris wrote: Wed May 11, 2022 11:11 am It seems that Wine is failing to create a wineprefix (a "fake" Windows installation).
Can you reinstall Wine or use the Wine packages from WineHQ?
This helps me, thank you!
Locked