lucasg / Dependencies

A rewrite of the old legacy software "depends.exe" in C# for Windows devs to troubleshoot dll load dependencies issues.
MIT License
8.47k stars 697 forks source link

[Question] How can I run the DependenciesGui.exe in WINE? #250

Closed Martin15135215 closed 7 months ago

Martin15135215 commented 8 months ago

I got the following error message:

002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -r" (2).
00c8:err:ole:CoGetContextToken apartment not initialised

0024:err:combase:RoGetActivationFactory Failed to find library for L"Windows.Foundation.Diagnostics.AsyncCausalityTracer"

0024:err:eventlog:ReportEventW L"Application: DependenciesGui.exe\nFramework Version: v4.0.30319\nDescription: The application requested process termination through System.Environment.FailFast(string message).\nMessage: Unrecoverable system error.\nStack:\n   at System.Environment.FailFast(System.String)\n   at MS.Intern"...
pzhlkj6612 commented 7 months ago

Hi!

It looks OK in a fresh-installed Debian 11 VM:

20231126-224116-debian-11-wine-Dependencies_x64

The package: v1.11.1 § Dependencies_x64_Release.zip

I know a little about Wine, so did some googling. Hope the following content is helpful to you.


Wine Mono is required to run DotNET apps, so download its installer from https://dl.winehq.org/wine/wine-mono/ .

Then, execute commands:

sudo apt install wine

sudo dpkg --add-architecture i386 && sudo apt-get update && sudo apt-get install wine32
wine msiexec /i wine-mono-8.1.0-x86.msi

wine DependenciesGui.exe

The environment:

$ uname -a
Linux debian-11-0 5.10.0-26-amd64 #1 SMP Debian 5.10.197-1 (2023-09-29) x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:    11
Codename:   bullseye
$ cat /etc/debian_version 
11.8
$ cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Ref: Mono Package for Wine is not installed - Ask Ubuntu § answer 1448770

Martin15135215 commented 7 months ago

Thanks for the help!