rcedit icon indicating copy to clipboard operation
rcedit copied to clipboard

Can rcedit be executed via `wine` on arm64 macs?

Open mmaietta opened this issue 1 year ago • 1 comments

Question: Is rcedit able to be executed with wine on arm64 macs?

I tried just installing wine 9.0 via brew and tested it with a temporary .wine home folder to recreate the wine config from scratch. This was purely to test whether wine could even work on an arm64 mac, without docker. Unfortunately, I'm hitting another error/blocker that I'm struggling to understand.

This also uses the most recent version of rcedit-x64.exe from https://github.com/electron/rcedit/releases

WINEPREFIX=~/wine-test wine64 ~/Development/rcedit-x64.exe ./dist/win-unpacked/Product.exe  --set-version-string FileDescription Product --set-version-string ProductName Product --set-version-string LegalCopyright 'Copyright © 2024 Company' --set-file-version 1.0.0 --set-product-version 1.0.0.0 --set-version-string InternalName Product --set-version-string OriginalFilename '' --set-version-string CompanyName Company 

0024:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFFFFFFFFFA, 000000000011FE80

I haven't been able to identify any documentation on AppPolicyGetProcessTerminationMethod or how to resolve it unfortunately. My google searches aren't returning anything for it and ChatGPT wasn't too helpful either. FWIW, I don't have an adequate way to test whether it even worked AFAICT and if the error message is just a false positive, but the fact we're receiving something labeled fixme in the error message seems concerning in the sense that I'm wondering if rcedit is even designed to work on arm64 macs or used within wine (or maybe just the combo of both conditions). (I also tried by forcing rosetta 2 emulation using arch -x86_64 and still had an error result)

Also received this error alert just trying to init the wine home dir. But it's worth noting that I was still able to launch Internet Explorer from the initialized wine home dir regardless.

wine64 '~/.wine/drive_c/Program Files (x86)/Internet Explorer/iexplore.exe'

Screenshot 2024-07-03 at 9 05 40 AM

I'll keep hammering away at this, but overall, I'm really confused.

mmaietta avatar Jul 03 '24 17:07 mmaietta

Curious if this PR will help a bit, which will start building native arm64 binaries for rcedit.

dennisameling avatar Jul 19 '25 15:07 dennisameling