Does anyone have experience with Wine or Bottles?

Hello everyone. I have a HyperX Pulsefire Pro mouse (I think that is the one), and for me to change the DPI profiles amongst other things, I need the software. I really don’t care about the RGB profiles and such which load the profile once the software is started - does not hold config on internal memory. But what it does seem to hold are the DPI profiles you could change with the button in the middle. And as I play CSGO, I wanted to try out different config settings with higher DPI.

I’ve downloaded Bottles flatpak, gave it permissions, and still the installer would silently crash. Tried their documented fix of putting the .exe inside the C drive folder of the Bottle created - still no dice. Decided to download a bunch more of dependencies like VC Redist or .NET frameworks which I felt could’ve been necessary to launch the installer/application. That got me to the point where it wouldn’t say “Launching” without anything happening. It launched, but with errors. The “this program encountered a serious error and needs to close”. I’ve tried researching a bit, but it’s mostly Ubuntu (:roll_eyes:) and/or really old (like 7 or more) posts that don’t really give me useful info - also the WineHQ site is kind of shite to navigate through, although that could be just me being old, but not that old :rofl:

Here is the input from the error:

Unhandled exception: 0xe0434352 in 32-bit code (0x7b011296).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7b011296 ESP:0f80eaa4 EBP:0f80eb18 EFLAGS:00000246(   - --  I  Z- -P- )
 EAX:0f80eab0 EBX:00000000 ECX:00000010 EDX:0f80eb90
 ESI:e0434352 EDI:00000001
Stack dump:
0x0f80eaa4:  108d053b 3956964a 11914850 e0434352
0x0f80eab4:  00000001 00000000 7b011296 00000005
0x0f80eac4:  80131501 00000000 00000000 00000000
0x0f80ead4:  10710000 11914850 108d05c1 395697ae
0x0f80eae4:  00000000 11914850 00000005 00000000
0x0f80eaf4:  00000000 0fb80030 0f80ebe4 00000001
Backtrace:
=>0 0x7b011296 AccessCheckByTypeAndAuditAlarmW+0x10296() in kernelbase (0x0f80eb18)
  1 0x108c70f1 EntryPoint+0x194591() in clr (0x0f80ebc4)
  2 0x108c7f96 EntryPoint+0x195436() in clr (0x0f80ec8c)
  3 0x56990e04 in presentationframework.ni (+0x380e04) (0x0f80ed90)
  4 0x569be544 in presentationframework.ni (+0x3ae544) (0x0f80edb4)
  5 0x569be20e in presentationframework.ni (+0x3ae20e) (0x0f80ee04)
  6 0x569bd5bd in presentationframework.ni (+0x3ad5bd) (0x0f80ee44)
  7 0x569bd75a in presentationframework.ni (+0x3ad75a) (0x0f80ee60)
  8 0x568dd7dc in presentationframework.ni (+0x2cd7dc) (0x0f80ee74)
  9 0x568ddd94 in presentationframework.ni (+0x2cdd94) (0x0f80ee84)
  10 0x585bee42 in windowsbase.ni (+0xdee42) (0x0f80ee9c)
  11 0x585bed85 in windowsbase.ni (+0xded85) (0x0f80eed8)
  12 0x585c10cd in windowsbase.ni (+0xe10cd) (0x0f80ef20)
  13 0x585bf56f in windowsbase.ni (+0xdf56f) (0x0f80ef3c)
  14 0x79b135f4 in mscorlib.ni (+0x3f35f4) (0x0f80efa0)
  15 0x79b13527 in mscorlib.ni (+0x3f3527) (0x0f80efb4)
  16 0x79b134e4 in mscorlib.ni (+0x3f34e4) (0x0f80efd0)
  17 0x585c0f3a in windowsbase.ni (+0xe0f3a) (0x0f80f000)
  18 0x585c0d80 in windowsbase.ni (+0xe0d80) (0x0f80f038)
  19 0x585bd346 in windowsbase.ni (+0xdd346) (0x0f80f078)
  20 0x585bc57c in windowsbase.ni (+0xdc57c) (0x0f80f0b4)
  21 0x585be661 in windowsbase.ni (+0xde661) (0x0f80f0f0)
  22 0x585be94c in windowsbase.ni (+0xde94c) (0x0f80f110)
  23 0x585bee42 in windowsbase.ni (+0xdee42) (0x0f80f128)
  24 0x585bed85 in windowsbase.ni (+0xded85) (0x0f80f164)
  25 0x585bcf62 in windowsbase.ni (+0xdcf62) (0x0f80f1bc)
  26 0x585be4b4 in windowsbase.ni (+0xde4b4) (0x0f80f204)
  27 0x10fcd08e (0x0f80f238)
  28 0x7e4b593c AdjustWindowRect+0x3460c() in user32 (0x0f80f268)
  29 0x7e4b6103 AdjustWindowRect+0x34dd3() in user32 (0x0f80f2c8)
  30 0x7e4b8746 AdjustWindowRect+0x37416() in user32 (0x0f80f318)
  31 0x7e47b351 AppendMenuA+0x10031() in user32 (0x0f80f3c8)
  32 0x585d7211 in windowsbase.ni (+0xf7211) (0x0f80f414)
  33 0x585bb3d7 in windowsbase.ni (+0xdb3d7) (0x0f80f45c)
  34 0x585bb319 in windowsbase.ni (+0xdb319) (0x0f80f468)
  35 0x568ddd50 in presentationframework.ni (+0x2cdd50) (0x0f80f478)
  36 0x568dd90e in presentationframework.ni (+0x2cd90e) (0x0f80f498)
  37 0x568dd702 in presentationframework.ni (+0x2cd702) (0x0f80f4a8)
  38 0x568dc7d6 in presentationframework.ni (+0x2cc7d6) (0x0f80f4b4)
  39 0x146e08ed (0x0f80f4c8)
  40 0x1071f016 in clr (+0xf016) (0x0f80f4d4)
  41 0x107222ba LogHelp_TerminateOnAssert+0x91a() in clr (0x0f80f528)
  42 0x1072850b LogHelp_TerminateOnAssert+0x6b6b() in clr (0x0f80f598)
  43 0x108c1d0b EntryPoint+0x18f1ab() in clr (0x0f80f6bc)
  44 0x108c23ea EntryPoint+0x18f88a() in clr (0x0f80f928)
  45 0x108c2317 EntryPoint+0x18f7b7() in clr (0x0f80fe0c)
  46 0x108c2498 EntryPoint+0x18f938() in clr (0x0f80fe64)
  47 0x108c25be EntryPoint+0x18fa5e() in clr (0x0f80fea4)
  48 0x108bdef5 EntryPoint+0x18b395() in clr (0x0f80fee0)
  49 0x1050fa84 CLRCreateInstance+0x42f4() in mscoreei (0x0f80ff18)
  50 0x79007f16 EntryPoint+0x50c2() in mscoree (0x0f80ff28)
  51 0x79004de3 EntryPoint+0x1f8f() in mscoree (0x0f80ff48)
  52 0x7bc5dd67 A_SHAFinal+0x3d777() in ntdll (0x0f80ff5c)
  53 0x7bc5e4f0 A_SHAFinal+0x3df00() in ntdll (0x0f80ffec)
0x7b011296 kernelbase+0x11296: subl	$4,%esp
Modules:
Module	Address			Debug info	Name (57 modules)
PE	00400000-0f602000	Deferred        hyperx_ngenuity_installer_2.20.1.0
PE	10500000-1058d000	Export          mscoreei
PE	10710000-10ebf000	Export          clr
PE	10ec0000-10ed4000	Deferred        vcruntime140_clr0400
PE	10ee0000-10f8b000	Deferred        ucrtbase_clr0400
PE	146f0000-15142000	Deferred        system.ni
PE	15150000-15d8d000	Deferred        presentationcore.ni
PE	15d90000-15f1d000	Deferred        wpfgfx_v0400
PE	15f20000-15f8b000	Deferred        msvcp140_clr0400
PE	15f90000-16073000	Deferred        presentationnative_v0400
PE	16080000-16109000	Deferred        clrjit
PE	16240000-169b4000	Deferred        system.xml.ni
PE	169c0000-17319000	Deferred        shell32
PE	56610000-579f3000	Export          presentationframework.ni
PE	580d0000-582d3000	Deferred        system.xaml.ni
PE	584e0000-588fb000	Export          windowsbase.ni
PE	60370000-60475000	Deferred        system.configuration.ni
PE	61740000-61784000	Deferred        advapi32
PE	61a00000-62218000	Deferred        system.core.ni
PE	62b80000-62b88000	Deferred        api-ms-win-core-localization-l1-2-1
PE	62fc0000-6304e000	Deferred        rpcrt4
PE	63480000-6348d000	Deferred        version
PE	63bc0000-63bda000	Deferred        shcore
PE	64a40000-64a94000	Deferred        shlwapi
PE	64ec0000-64fed000	Deferred        oleaut32
PE	66240000-66258000	Deferred        bcrypt
PE	66b00000-66b3e000	Deferred        win32u
PE	66e40000-66e48000	Deferred        api-ms-win-appmodel-runtime-l1-1-2
PE	67800000-67807000	Deferred        api-ms-win-core-string-l1-1-0
PE	679c0000-679c7000	Deferred        api-ms-win-core-xstate-l2-1-0
PE	68500000-6855a000	Deferred        combase
PE	68700000-68730000	Deferred        uxtheme
PE	6a280000-6a32d000	Deferred        msvcrt
PE	6a400000-6a534000	Deferred        ole32
PE	6ac80000-6ac87000	Deferred        api-ms-win-core-fibers-l1-1-1
PE	6b500000-6b507000	Deferred        api-ms-win-core-localization-obsolete-l1-2-0
PE	6b780000-6b788000	Deferred        api-ms-win-core-winrt-l1-1-0
PE	6bc00000-6bc2c000	Deferred        sechost
PE	6bcc0000-6bd42000	Deferred        setupapi
PE	6bd80000-6bd8f000	Deferred        wintypes
PE	6be40000-6beba000	Deferred        dwrite
PE	6c9c0000-6ca46000	Deferred        gdi32
PE	6dd00000-6dd08000	Deferred        api-ms-win-core-quirks-l1-1-0
PE	6de80000-6de88000	Deferred        api-ms-win-core-synch-l1-2-0
PE	6e400000-6e408000	Deferred        api-ms-win-core-winrt-string-l1-1-0
PE	6e8c0000-6e997000	Deferred        crypt32
PE	6fe40000-6fe74000	Deferred        rsaenh
PE	6ff80000-6ff87000	Deferred        api-ms-win-core-datetime-l1-1-1
PE	70b40000-70c19000	Deferred        ucrtbase
PE	71200000-7121c000	Deferred        imm32
PE	79000000-7904a000	Export          mscoree
PE	79720000-7ab1c000	Export          mscorlib.ni
PE	7b000000-7b0ee000	Export          kernelbase
PE	7b600000-7b81b000	Deferred        kernel32
PE	7bc00000-7bca9000	Export          ntdll
PE	7e410000-7e653000	Export          user32
PE	f7160000-f7164000	Deferred        winex11
Threads:
process  tid      prio (all id:s are in hex)
00000020 start.exe
	00000024    0
00000038 services.exe
	0000003c    0
	00000040    0
	0000004c    0
	00000050    0
	00000064    0
	00000080    0
	000000a4    0
	000000b8    0
	000000cc    0
	000000fc    0
	00000100    0
00000044 svchost.exe
	00000048    0
	00000054    0
	00000058    0
0000005c winedevice.exe
	00000060    0
	00000068    0
	0000006c    0
	00000070    0
	00000074    0
	000000c8    0
00000078 winedevice.exe
	0000007c    0
	00000084    0
	00000088    0
	0000008c    0
	00000090    0
	00000094    0
	00000098    0
	000000a0    0
	000000b0    0
	000000b4    0
000000a8 plugplay.exe
	000000ac    0
	000000bc    0
	000000c0    0
	000000c4    0
000000d0 (D) C:\HyperX_NGENUITY_Installer_2.20.1.0.exe
	["C:\HyperX_NGENUITY_Installer_2.20.1.0.exe" ]
	000000d4    0 <==
	000000d8    0
	000000dc    2
	00000134    0
000000e0 explorer.exe
	000000e4    0
	000000e8    0
	000000ec    0
000000f4 rpcss.exe
	000000f8    0
	00000104    0
	00000108    0
	0000010c    0
	00000110    0
	00000114    0
	00000118    0
	00000148    0
0000011c tabtip.exe
	00000120    0
	00000124    0
	00000128    0
00000138 explorer.exe
	0000013c    0
	00000140    0
	00000144    0
0000014c tabtip.exe
	00000150    0
	00000154    0
	00000158    0
System information:
    Wine build: wine-7.0.r0.g2fc92f8b ( TkG Staging )
    Platform: i386 (WOW64)
    Version: Windows 10
    Host system: Linux
    Host version: 6.4.11-arch2-1

And here is the inxi link output for the system info, in case needed. (fun fact: thanks to this I just found out that my WD Green 240GB SSD shows up as Seagate, the more you know!)

From reading the output, I see certain things regarding it being 32-bit. And from seeing some things on those posts, I’ve seen people telling them to “not use the 64 bit app, try 32 instead”. I am not sure, in this case, how to check which one I am using (I assume 32?) or which one should I use or how to change it, if possible.
EDIT: Dumb me, on the top it says “Win64”. So I assume the bottle created is 64-bit in case that matters.

In addition, could this be a “bottles” related problem and perhaps I’d be much better just using Wine directly instead? - I didn’t do this because I know that setting up Wine could be a bit cumbersome and this issue is not really that important, but wanted something quick to try to get it up and running.

Thanks in advance for all the help.

Maybe replace your Wine Staging with the below. I’ve played around over 2+ years with Wine and this seems to always work as I need. Now after install try install the mouse software using Wine and not Bottles. Replace Pikaur with you AUR helper of choice.

sudo pikaur -S wine wine-mono wine-gecko

pikaur -S giflib lib32-giflib libldap lib32-libldap gnutls lib32-gnutls v4l-utils lib32-v4l-utils libpulse lib32-libpulse alsa-plugins lib32-alsa-plugins alsa-lib lib32-alsa-lib libxcomposite lib32-libxcomposite libxinerama lib32-libxinerama opencl-icd-loader lib32-opencl-icd-loader gst-plugins-base-libs lib32-gst-plugins-base-libs sdl2 lib32-sdl2 libgphoto2 sane cups samba dosbox

Hello Locutus, thanks for the help. It was not the intention to not use Bottles and that the solution be “use something else” but I gave it a try anyway if that meant less hassle.

Installed wine through your command, but then:
The HyperX installer does not start again (“silent crash”) - Winetricks doesn’t start at all either.
I tried with HwInfo64 - could not launch the program with the sensors obviously, but I could install it no problem.

If I check terminal, this is the output when trying to initiate the NGENUITY installer:

Unhandled Exception:
System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'NGenuityInstaller.MainWindow' that matches the specified binding constraints threw an exception. ---> System.TypeLoadException: Could not load type of field 'NGenuityInstaller.SetupApplication:<PackageManager>k__BackingField' (7) due to: Could not load file or assembly 'Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
  at (wrapper managed-to-native) System.RuntimeMethodHandle.GetFunctionPointer(intptr)
  at System.RuntimeMethodHandle.GetFunctionPointer () [0x00000] in <69ebfd1fc56040acade074e61bd61307>:0 
  at System.Xaml.Schema.XamlTypeInvoker+DefaultCtorXamlActivator.EnsureConstructorDelegate (System.Xaml.Schema.XamlTypeInvoker type) [0x000fc] in <3fc53d513cff40b6aec672c4761de80d>:0 
  at System.Xaml.Schema.XamlTypeInvoker+DefaultCtorXamlActivator.CreateInstance (System.Xaml.Schema.XamlTypeInvoker type) [0x00001] in <3fc53d513cff40b6aec672c4761de80d>:0 
  at System.Xaml.Schema.XamlTypeInvoker.CreateInstance (System.Object[] arguments) [0x0002d] in <3fc53d513cff40b6aec672c4761de80d>:0 
  at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstanceWithCtor (System.Xaml.XamlType xamlType, System.Object[] args) [0x00007] in <3fc53d513cff40b6aec672c4761de80d>:0 
  at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstance (System.Xaml.XamlType xamlType, System.Object[] args) [0x0002e] in <3fc53d513cff40b6aec672c4761de80d>:0 
   --- End of inner exception stack trace ---
  at System.Windows.Markup.XamlReader.RewrapException (System.Exception e, System.Xaml.IXamlLineInfo lineInfo, System.Uri baseUri) [0x00009] in <faa99c925ccd4a009f5d27827e0b2e1e>:0 
  at System.Windows.Markup.WpfXamlLoader.Load (System.Xaml.XamlReader xamlReader, System.Xaml.IXamlObjectWriterFactory writerFactory, System.Boolean skipJournaledProperties, System.Object rootObject, System.Xaml.XamlObjectWriterSettings settings, System.Uri baseUri) [0x00120] in <faa99c925ccd4a009f5d27827e0b2e1e>:0 
  at System.Windows.Markup.WpfXamlLoader.LoadBaml (System.Xaml.XamlReader xamlReader, System.Boolean skipJournaledProperties, System.Object rootObject, System.Xaml.Permissions.XamlAccessLevel accessLevel, System.Uri baseUri) [0x00017] in <faa99c925ccd4a009f5d27827e0b2e1e>:0 
  at System.Windows.Markup.XamlReader.LoadBaml (System.IO.Stream stream, System.Windows.Markup.ParserContext parserContext, System.Object parent, System.Boolean closeStream) [0x00123] in <faa99c925ccd4a009f5d27827e0b2e1e>:0 
  at System.Windows.Application.LoadBamlStreamWithSyncInfo (System.IO.Stream stream, System.Windows.Markup.ParserContext pc) [0x0003b] in <faa99c925ccd4a009f5d27827e0b2e1e>:0 
  at System.Windows.Application.LoadComponent (System.Uri resourceLocator, System.Boolean bSkipJournaledProperties) [0x00052] in <faa99c925ccd4a009f5d27827e0b2e1e>:0 
  at System.Windows.Application.DoStartup () [0x0008d] in <faa99c925ccd4a009f5d27827e0b2e1e>:0 
  at System.Windows.Application.<.ctor>b__1_0 (System.Object unused) [0x00027] in <faa99c925ccd4a009f5d27827e0b2e1e>:0 
  at System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate callback, System.Object args, System.Int32 numArgs) [0x000c6] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at System.Windows.Threading.ExceptionWrapper.TryCatchWhen (System.Object source, System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00004] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at System.Windows.Threading.Dispatcher.WrappedInvoke (System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00001] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at System.Windows.Threading.DispatcherOperation.InvokeImpl () [0x00099] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext (System.Object state) [0x00008] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper (System.Object obj) [0x0001d] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <69ebfd1fc56040acade074e61bd61307>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <69ebfd1fc56040acade074e61bd61307>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <69ebfd1fc56040acade074e61bd61307>:0 
  at MS.Internal.CulturePreservingExecutionContext.Run (MS.Internal.CulturePreservingExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00047] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at System.Windows.Threading.DispatcherOperation.Invoke () [0x00016] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at System.Windows.Threading.Dispatcher.ProcessQueue () [0x00114] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at System.Windows.Threading.Dispatcher.WndProcHook (System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam, System.Boolean& handled) [0x00061] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at MS.Win32.HwndWrapper.WndProc (System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam, System.Boolean& handled) [0x0003a] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at MS.Win32.HwndSubclass.DispatcherCallbackOperation (System.Object o) [0x00042] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate callback, System.Object args, System.Int32 numArgs) [0x000c6] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at System.Windows.Threading.ExceptionWrapper.TryCatchWhen (System.Object source, System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00004] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at System.Windows.Threading.Dispatcher.WrappedInvoke (System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00001] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at System.Windows.Threading.Dispatcher.LegacyInvokeImpl (System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, System.Object args, System.Int32 numArgs) [0x000fc] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at System.Windows.Threading.Dispatcher.Invoke (System.Windows.Threading.DispatcherPriority priority, System.Delegate method, System.Object arg) [0x00011] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at MS.Win32.HwndSubclass.SubclassWndProc (System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam) [0x00154] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at (wrapper native-to-managed) MS.Win32.HwndSubclass.SubclassWndProc(intptr,int,intptr,intptr)
  at (wrapper managed-to-native) MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG&)
  at System.Windows.Threading.Dispatcher.TranslateAndDispatchMessage (System.Windows.Interop.MSG& msg) [0x0001a] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at System.Windows.Threading.Dispatcher.PushFrameImpl (System.Windows.Threading.DispatcherFrame frame) [0x0004c] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at System.Windows.Threading.Dispatcher.PushFrame (System.Windows.Threading.DispatcherFrame frame) [0x00077] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at System.Windows.Threading.Dispatcher.Run () [0x00006] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at System.Windows.Application.RunDispatcher (System.Object ignore) [0x00023] in <faa99c925ccd4a009f5d27827e0b2e1e>:0 
  at System.Windows.Application.RunInternal (System.Windows.Window window) [0x0010d] in <faa99c925ccd4a009f5d27827e0b2e1e>:0 
  at System.Windows.Application.Run (System.Windows.Window window) [0x00008] in <faa99c925ccd4a009f5d27827e0b2e1e>:0 
  at System.Windows.Application.Run () [0x00009] in <faa99c925ccd4a009f5d27827e0b2e1e>:0 
  at NGenuityInstaller.App.Main () [0x0000e] in <1cfb9bcefc954f63b148c3c591d564c9>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'NGenuityInstaller.MainWindow' that matches the specified binding constraints threw an exception. ---> System.TypeLoadException: Could not load type of field 'NGenuityInstaller.SetupApplication:<PackageManager>k__BackingField' (7) due to: Could not load file or assembly 'Windows, Version=255.255.255.255, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
  at (wrapper managed-to-native) System.RuntimeMethodHandle.GetFunctionPointer(intptr)
  at System.RuntimeMethodHandle.GetFunctionPointer () [0x00000] in <69ebfd1fc56040acade074e61bd61307>:0 
  at System.Xaml.Schema.XamlTypeInvoker+DefaultCtorXamlActivator.EnsureConstructorDelegate (System.Xaml.Schema.XamlTypeInvoker type) [0x000fc] in <3fc53d513cff40b6aec672c4761de80d>:0 
  at System.Xaml.Schema.XamlTypeInvoker+DefaultCtorXamlActivator.CreateInstance (System.Xaml.Schema.XamlTypeInvoker type) [0x00001] in <3fc53d513cff40b6aec672c4761de80d>:0 
  at System.Xaml.Schema.XamlTypeInvoker.CreateInstance (System.Object[] arguments) [0x0002d] in <3fc53d513cff40b6aec672c4761de80d>:0 
  at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstanceWithCtor (System.Xaml.XamlType xamlType, System.Object[] args) [0x00007] in <3fc53d513cff40b6aec672c4761de80d>:0 
  at MS.Internal.Xaml.Runtime.ClrObjectRuntime.CreateInstance (System.Xaml.XamlType xamlType, System.Object[] args) [0x0002e] in <3fc53d513cff40b6aec672c4761de80d>:0 
   --- End of inner exception stack trace ---
  at System.Windows.Markup.XamlReader.RewrapException (System.Exception e, System.Xaml.IXamlLineInfo lineInfo, System.Uri baseUri) [0x00009] in <faa99c925ccd4a009f5d27827e0b2e1e>:0 
  at System.Windows.Markup.WpfXamlLoader.Load (System.Xaml.XamlReader xamlReader, System.Xaml.IXamlObjectWriterFactory writerFactory, System.Boolean skipJournaledProperties, System.Object rootObject, System.Xaml.XamlObjectWriterSettings settings, System.Uri baseUri) [0x00120] in <faa99c925ccd4a009f5d27827e0b2e1e>:0 
  at System.Windows.Markup.WpfXamlLoader.LoadBaml (System.Xaml.XamlReader xamlReader, System.Boolean skipJournaledProperties, System.Object rootObject, System.Xaml.Permissions.XamlAccessLevel accessLevel, System.Uri baseUri) [0x00017] in <faa99c925ccd4a009f5d27827e0b2e1e>:0 
  at System.Windows.Markup.XamlReader.LoadBaml (System.IO.Stream stream, System.Windows.Markup.ParserContext parserContext, System.Object parent, System.Boolean closeStream) [0x00123] in <faa99c925ccd4a009f5d27827e0b2e1e>:0 
  at System.Windows.Application.LoadBamlStreamWithSyncInfo (System.IO.Stream stream, System.Windows.Markup.ParserContext pc) [0x0003b] in <faa99c925ccd4a009f5d27827e0b2e1e>:0 
  at System.Windows.Application.LoadComponent (System.Uri resourceLocator, System.Boolean bSkipJournaledProperties) [0x00052] in <faa99c925ccd4a009f5d27827e0b2e1e>:0 
  at System.Windows.Application.DoStartup () [0x0008d] in <faa99c925ccd4a009f5d27827e0b2e1e>:0 
  at System.Windows.Application.<.ctor>b__1_0 (System.Object unused) [0x00027] in <faa99c925ccd4a009f5d27827e0b2e1e>:0 
  at System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate callback, System.Object args, System.Int32 numArgs) [0x000c6] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at System.Windows.Threading.ExceptionWrapper.TryCatchWhen (System.Object source, System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00004] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at System.Windows.Threading.Dispatcher.WrappedInvoke (System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00001] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at System.Windows.Threading.DispatcherOperation.InvokeImpl () [0x00099] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext (System.Object state) [0x00008] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper (System.Object obj) [0x0001d] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <69ebfd1fc56040acade074e61bd61307>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <69ebfd1fc56040acade074e61bd61307>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <69ebfd1fc56040acade074e61bd61307>:0 
  at MS.Internal.CulturePreservingExecutionContext.Run (MS.Internal.CulturePreservingExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00047] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at System.Windows.Threading.DispatcherOperation.Invoke () [0x00016] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at System.Windows.Threading.Dispatcher.ProcessQueue () [0x00114] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at System.Windows.Threading.Dispatcher.WndProcHook (System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam, System.Boolean& handled) [0x00061] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at MS.Win32.HwndWrapper.WndProc (System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam, System.Boolean& handled) [0x0003a] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at MS.Win32.HwndSubclass.DispatcherCallbackOperation (System.Object o) [0x00042] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at System.Windows.Threading.ExceptionWrapper.InternalRealCall (System.Delegate callback, System.Object args, System.Int32 numArgs) [0x000c6] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at System.Windows.Threading.ExceptionWrapper.TryCatchWhen (System.Object source, System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00004] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at System.Windows.Threading.Dispatcher.WrappedInvoke (System.Delegate callback, System.Object args, System.Int32 numArgs, System.Delegate catchHandler) [0x00001] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at System.Windows.Threading.Dispatcher.LegacyInvokeImpl (System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, System.Object args, System.Int32 numArgs) [0x000fc] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at System.Windows.Threading.Dispatcher.Invoke (System.Windows.Threading.DispatcherPriority priority, System.Delegate method, System.Object arg) [0x00011] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at MS.Win32.HwndSubclass.SubclassWndProc (System.IntPtr hwnd, System.Int32 msg, System.IntPtr wParam, System.IntPtr lParam) [0x00154] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at (wrapper native-to-managed) MS.Win32.HwndSubclass.SubclassWndProc(intptr,int,intptr,intptr)
  at (wrapper managed-to-native) MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG&)
  at System.Windows.Threading.Dispatcher.TranslateAndDispatchMessage (System.Windows.Interop.MSG& msg) [0x0001a] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at System.Windows.Threading.Dispatcher.PushFrameImpl (System.Windows.Threading.DispatcherFrame frame) [0x0004c] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at System.Windows.Threading.Dispatcher.PushFrame (System.Windows.Threading.DispatcherFrame frame) [0x00077] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at System.Windows.Threading.Dispatcher.Run () [0x00006] in <45f75a19b38c4545b1e5acf471ecc270>:0 
  at System.Windows.Application.RunDispatcher (System.Object ignore) [0x00023] in <faa99c925ccd4a009f5d27827e0b2e1e>:0 
  at System.Windows.Application.RunInternal (System.Windows.Window window) [0x0010d] in <faa99c925ccd4a009f5d27827e0b2e1e>:0 
  at System.Windows.Application.Run (System.Windows.Window window) [0x00008] in <faa99c925ccd4a009f5d27827e0b2e1e>:0 
  at System.Windows.Application.Run () [0x00009] in <faa99c925ccd4a009f5d27827e0b2e1e>:0

Hello!

I’m trying to get windows program to work. This program requires Java. I have tried wine, playonlinux and bottles. Every time I try to install program, I get this message:

“No JVM could be found on your system.
Please define EXE4J_JAVA_HOME to point to an installed 32-bit JDK or JRE or download a JRE from www.java.com

java --version
openjdk 21 2023-09-19
OpenJDK Runtime Environment (build 21+35)
OpenJDK 64-Bit Server VM (build 21+35, mixed mode, sharing)

Is it because I have 64-bit java installed and the program needs 32-bit?