How do you install Windows based programs using wine?

Questions about Wine on Linux
Locked
Noidly1
Newbie
Newbie
Posts: 1
Joined: Sat Oct 05, 2024 9:01 pm

How do you install Windows based programs using wine?

Post by Noidly1 »

How do you install Windows based programs using wine?
I tried to install a Windows based program with wine and got the following error;

Code: Select all

noid@Laptop:~$ wine /media/noid/setups/Fidelity/32BitSetup.exe
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
wine: failed to open "/media/noid/setups/Fidelity/32BitSetup.exe": c0000135
noid@Laptop:~$ 
Any help would be appreciated.
Thanks.
desessarts
Level 4
Level 4
Posts: 198
Joined: Wed Oct 04, 2023 7:57 am

Re: How do you install Windows based programs using wine?

Post by desessarts »

Hello

reading the doc may help,

https://gitlab.winehq.org/wine/wine/-/wikis/home

but in short

create a 32 or 64 bits home for this Windows software

Code: Select all

WINEARCH=win32 WINEPREFIX=~/.wine32 wineboot -u
or

Code: Select all

WINEARCH=win64 WINEPREFIX=~/.wine64 wineboot -u
then update winetricks to the latest version, see

https://gitlab.winehq.org/wine/wine/-/wikis/Winetricks

Code: Select all

sudo winetricks --self-update
then your Windows software may need some winetricks, for example, if you use a 32 bits wineprefix, it may look like

Code: Select all

WINEARCH=win32 WINEPREFIX=~/.wine32 winetricks -q dotnet45 corefonts gdiplus fontsmooth=rgb
disclaimer this is just an example and not a general rule

then you may start your software

Code: Select all

WINEARCH=win32 WINEPREFIX=~/.wine32 wine ~/dir/xxx.exe
Locked