right-click (or double-click) to launch .exe doesn't work

Questions about Wine on macOS.
Post Reply
ToastyBug
Level 2
Level 2
Posts: 20
Joined: Tue Mar 11, 2025 2:02 pm

right-click (or double-click) to launch .exe doesn't work

Post by ToastyBug »

When right-clicking and selecting Open with > Wine Stable.app on a Windows .exe, it doesn't launch the .exe, it just behaves the same as if I had launched Wine Stable.app directly (it launches a macOS terminal window with the "Welcome to wine-10.0" message)

When I tried it with Open with > Wine Crossover.app it does work correctly and launches the .exe

tested with Wine Stable 10.0, Wine Crossover 23.7.1-1
debaj
Newbie
Newbie
Posts: 3
Joined: Sat Mar 15, 2025 7:21 am

Re: right-click (or double-click) to launch .exe doesn't work

Post by debaj »

I have the same issue. Duplicating wine and renaming it to wine64 in Wine Stable.app/Contents/Resources/wine/bin solves the issue for 32-bit applications, but 64 bit applications still won't launch. Launching the executable from Terminal has the same issue, after printing a number of log messages it just crashes and returns to the command prompt without launching the app.

Relevant log lines before the crash:

Code: Select all

0024:err:seh:call_seh_handlers invalid frame 00000001000FF7D0 (0000000000022000-0000000000120000)
0024:err:seh:NtRaiseException Exception frame is not in stack limits => unable to dispatch exception.
16" 2019 Macbook Pro, 2.3GHz Intel Core i9, Sequoia 15.3.2. The issue started after upgrading to wine-stable 10.0 via Homebrew. Latest wine@devel package 10.3 has the same issue
Last edited by debaj on Sat Mar 15, 2025 7:41 am, edited 3 times in total.
ToastyBug
Level 2
Level 2
Posts: 20
Joined: Tue Mar 11, 2025 2:02 pm

Re: right-click (or double-click) to launch .exe doesn't work

Post by ToastyBug »

Your fix works! I duplicated "Applications/Wine Stable.app/Contents/Resources/wine/bin/wine" to "Applications/Wine Stable.app/Contents/Resources/wine/bin/wine64", and now I can launch .exes by right-clicking > Open With > Wine Stable.app. It even works with both 32 and 64 bit .exes for me.

I'm using CPU-Z for testing (cpu-z_2.14-en.zip which contains both 32 and 64-bit versions), and when I right-click "cpuz_x32.exe" or "cpuz_x64.exe" > Open With > Wine Stable.app, just after launch I see the following processes in Activity Monitor:

Code: Select all

Wine Stable
wine64
wine64
wineserver
and later a bunch more "wine64" and some "wine" processes



I didn't have your issue with "0024:err:seh" when launching the .exe, it did launch if I launched the "Wine Stable.app" and then in the macOS Terminal that opened, I typed

Code: Select all

wine path/to/program.exe
My issue was only with right-clicking > "Open with" on the actual .exe

Maybe your "0024:err:seh" 64-bit issue is specific only to that executable? Try with CPU-Z and see if it works

----

How did you get wine@devel package 10.3 by the way? The latest I see for wine@devel on homebrew is only version 10.0
debaj
Newbie
Newbie
Posts: 3
Joined: Sat Mar 15, 2025 7:21 am

Re: right-click (or double-click) to launch .exe doesn't work

Post by debaj »

ToastyBug wrote: Sun Mar 16, 2025 1:06 pm How did you get wine@devel package 10.3 by the way? The latest I see for wine@devel on homebrew is only version 10.0
You are right, I assumed wine@devel is up-to-date in homebrew :-) now I checked with brew info (I rolled back to stable after it didn't have any improvement) and it's indeed 10.0.

It's possible that the error log is app specific, I only use 2 apps through wine (SpritePad64 Pro and CharPad64 Pro), they are from the same developer and I assume they share most of their code. They both failed with the same error but fortunately they have 32 bit executables I can fall back until the issue is fixed - they are a bit sluggish compared to the 64 bit versions but otherwise work fine. I only updated to Wine 10 recently and with the previous stable version (installed sometime last November) there wasn't any problem
ToastyBug
Level 2
Level 2
Posts: 20
Joined: Tue Mar 11, 2025 2:02 pm

Re: right-click (or double-click) to launch .exe doesn't work

Post by ToastyBug »

Can you download cpu-z_2.14-en.zip and test with the 64-bit version (cpuz_x64.exe) if it launches correctly?

If it does work, then you know the issue is with the SpritePad64 Pro and CharPad64 Pro apps, and you can report the issue in the Bugzilla bug tracker

by the way, wine@devel 10.3 has just been released
ToastyBug
Level 2
Level 2
Posts: 20
Joined: Tue Mar 11, 2025 2:02 pm

Re: right-click (or double-click) to launch .exe doesn't work

Post by ToastyBug »

The original issue (right-clicking a .exe doesn't launch the app) has been fixed in wine@devel 10.3 without requiring any workarounds
debaj
Newbie
Newbie
Posts: 3
Joined: Sat Mar 15, 2025 7:21 am

Re: right-click (or double-click) to launch .exe doesn't work

Post by debaj »

I tried CPU-z a few days back, and only the 32 bit version worked for me - let me check wine@devel
Post Reply