Install msi - "This operating system is not supported"

Questions about Wine on Linux
Post Reply
muelli
Newbie
Newbie
Posts: 2
Joined: Tue Oct 01, 2024 1:46 am

Install msi - "This operating system is not supported"

Post by muelli »

Hello forum,

I am using wine 9.0 and try to install the Remote Desktop client for windows (https://learn.microsoft.com/en-us/azure ... esktop-msi).
I installed dotnet 4.6.2, set Windows to 10 or 11 for testing and when installing that msi (64bit) i tget the message "This operating system is not supported".... Trying msiexec and install unattended gets me a
0118:err:msi:ITERATE_Actions Execution halted, action L"VerifyOperatingSystem" returned 1603

Is there some trick to get this installed?

Thanks!
desessarts
Level 4
Level 4
Posts: 114
Joined: Wed Oct 04, 2023 7:57 am

Re: Install msi - "This operating system is not supported"

Post by desessarts »

Hello

I installed msitools, which brings msiextract

Code: Select all

sudo apt install msitools
 msiextract RemoteDesktop_1.2.5704.0_x64.msi 
then in the directory I found 2 exe

Code: Select all

gg@debian:~/remote/Remote Desktop $ ls -alrt *exe
-rw-r--r-- 1 gg gg 2739752  2 oct.  07:36 msrdc.exe
-rw-r--r-- 1 gg gg 9501736  2 oct.  07:36 msrdcw.exe
⏚ gg@debian:~/remote/Remote Desktop $ 
I downloaded the 64 bits version of Remote Desktop, created a prefix, installed dotnet462

Code: Select all

export WINEARCH=win64
export WINEPREFIX=~/.wine_rm
wineboot -u
winetricks -q dotnet462


but

Code: Select all

wine msrdc.exe
displays a OK window and does nothing

and

Code: Select all

wine msrdcw.exe
fails

Code: Select all

Unhandled exception: 0xe0434352 in 64-bit code (0x006fffff463ef7).
Register dump:
 rip:00006fffff463ef7 rsp:00007ffffe4fbba0 rbp:00007ffffe4fe380 eflags:00000206 (   - --  I   - -P- )
 rax:00007ffffe4fbc00 rbx:0000000000000001 rcx:00007ffffe4fbbc0 rdx:0000000000000000
 rsi:00007ffffe4fbd08 rdi:0000000000000005  r8:00006ffffa210000  r9:00007ffffe4fbd28 r10:0000000000000006
 r11:00007ffffe4fbd08 r12:0000000000004000 r13:00007fd526db6ba0 r14:00000000e0434352 r15:00007ffffeb726d0
Stack dump:
0x007ffffe4fbba0:  00007ffffe4fbbc0 00006ffffa9288b0
0x007ffffe4fbbb0:  fffffffffffffffe 00006fff9adcd100
0x007ffffe4fbbc0:  00000001e0434352 0000000000000000
0x007ffffe4fbbd0:  00006fffff463ef7 00006fff00000005
0x007ffffe4fbbe0:  ffffffff80070035 0000000000000000
0x007ffffe4fbbf0:  0000000000000000 0000000000000000
0x007ffffe4fbc00:  00006ffffa210000 0000000000000000
0x007ffffe4fbc10:  00007fd526db6ba0 00006fff9b2cf358
0x007ffffe4fbc20:  00006fff9b2df2b0 00006fff9adcd030
0x007ffffe4fbc30:  00000000deadbeef 00006ffffa3b0459
0x007ffffe4fbc40:  0000000000000000 00007ffffeb746d0
0x007ffffe4fbc50:  00007ffffe4fbdd8 00006fff00000001
Backtrace:
=>0 0x006fffff463ef7 in kernelbase (+0x13ef7) (0x007ffffe4fe380)
  1 0x006ffffa3b043a in clr (+0x1a043a) (0x007ffffe4fe380)
  2 0x006ffffa3b68d6 in clr (+0x1a68d6) (0x007ffffe4fe380)
0x006fffff463ef7 kernelbase+0x13ef7: add $0xc8, %rsp
Modules:
Module  Address                                 Debug info      Name (102 modules, 20 for wow64 not listed)
PE             100000000-       100355000       Deferred        presentationcore
PE             100360000-       10036c000       Deferred        rdclient.instrumentation
PE             100370000-       100376000       Deferred        rdclient.tracing
PE             100380000-       100392000       Deferred        rdclient.utilities
PE             1003a0000-       1003aa000       Deferred        rdclient.helpers
PE             1003b0000-       1003e8000       Deferred        rdclient.common
PE             1003f0000-       100458000       Deferred        rdclient.wpf.core
PE             100460000-       100466000       Deferred        rdclient.contracts
PE             100470000-       100476000       Deferred        rdclient.platformabstractions
PE             100780000-       10078e000       Deferred        msrdcw.resources
PE             100790000-       1007a2000       Deferred        rdclient.diagnostics
PE             1007b0000-       1007d0000       Deferred        rdclient.remotefeedclient
PE             100ad0000-       100ae0000       Deferred        rdclient.logging
PE             100ae0000-       100af0000       Deferred        rdclient.wpf.win10
PE             100af0000-       100afc000       Deferred        rdclient.updatelib
PE             140000000-       140912000       Deferred        msrdcw
PE           64474a80000-     644756c4000       Deferred        system.ni
PE           64478000000-     644794cc000       Deferred        mscorlib.ni
PE          6ffff9970000-    6ffff9aa8000       Deferred        diasymreader
PE-Wine     6ffff9ac0000-    6ffff9b65000       Deferred        xmllite
PE-Wine     6ffff9b80000-    6ffff9c8d000       Deferred        taskschd
PE          6ffff9ca0000-    6ffff9ecc000       Deferred        wpfgfx_v0400
PE-Wine     6ffff9ee0000-    6ffffa1f7000       Deferred        dwrite
PE          6ffffa210000-    6ffffabf6000       --none--        clr
PE-Wine     6ffffb170000-    6ffffb190000       Deferred        version
PE          6ffffb1a0000-    6ffffb23d000       Deferred        mscoreei
PE-Wine     6ffffb560000-    6ffffb5be000       Deferred        bcrypt
PE-Wine     6ffffb7b0000-    6ffffb879000       Deferred        uxtheme
PE          6ffffb890000-    6ffffb8ff000       Deferred        mscoree
PE          6ffffb910000-    6ffffba07000       Deferred        msvcr120_clr0400
PE-Wine     6ffffba20000-    6ffffba76000       Deferred        winex11
PE-Wine     6ffffba90000-    6ffffbb10000       Deferred        imm32
PE-Wine     6ffffbd90000-    6ffffbdd7000       Deferred        sxs
PE-Wine     6ffffbdf0000-    6ffffc144000       Deferred        oleaut32
PE-Wine     6ffffc1b0000-    6ffffc1c1000       Deferred        psapi
PE          6ffffc1e0000-    6ffffc2ef000       Deferred        presentationnative_v0400
PE          6ffffc300000-    6ffffc316000       Deferred        nlssorting
PE          6ffffc330000-    6ffffc43e000       Deferred        clrjit
PE-Wine     6ffffc450000-    6ffffc818000       Deferred        crypt32
PE-Wine     6ffffc830000-    6ffffc8ea000       Deferred        rsaenh
PE-Wine     6ffffc900000-    6ffffc954000       Deferred        shcore
PE-Wine     6ffffc970000-    6ffffca88000       Deferred        shlwapi
PE-Wine     6ffffcaa0000-    6ffffd84d000       Deferred        shell32
PE-Wine     6ffffd860000-    6ffffd8ad000       Deferred        coml2
PE-Wine     6ffffd8c0000-    6ffffdb55000       Deferred        rpcrt4
PE-Wine     6ffffdb70000-    6ffffdbad000       Deferred        win32u
PE-Wine     6ffffdbc0000-    6ffffe1ab000       Deferred        user32
PE-Wine     6ffffe1c0000-    6ffffe485000       Deferred        gdi32
PE-Wine     6ffffe4a0000-    6ffffe62f000       Deferred        combase
PE-Wine     6ffffe640000-    6ffffea08000       Deferred        ole32
PE-Wine     6ffffea20000-    6ffffeacf000       Deferred        ws2_32
PE-Wine     6ffffeae0000-    6ffffeed6000       Deferred        ucrtbase
PE-Wine     6ffffeef0000-    6ffffef7b000       Deferred        sechost
PE-Wine     6ffffef90000-    6fffff2f6000       Deferred        msvcrt
PE-Wine     6fffff310000-    6fffff43f000       Deferred        advapi32
PE-Wine     6fffff450000-    6fffffa5d000       Dwarf-4         kernelbase
PE-Wine     6fffffa70000-    6fffffc2d000       Deferred        kernel32
PE-Wine     6fffffc40000-    6ffffffe8000       Deferred        ntdll
ELF         7fd524b16000-    7fd524ccc000       Deferred        libunistring.so.2
ELF         7fd524ccc000-    7fd524e00000       Deferred        libp11-kit.so.0
ELF         7fd524e00000-    7fd52501c000       Deferred        libgnutls.so.30
ELF         7fd52504f000-    7fd5250d0000       Deferred        libgmp.so.10
ELF         7fd526000000-    7fd526206000       Deferred        libxxf86vm.so.1
ELF         7fd526259000-    7fd5262a2000       Deferred        libhogweed.so.6
ELF         7fd5262a2000-    7fd5262f0000       Deferred        libnettle.so.8
ELF         7fd526400000-    7fd526606000       Deferred        libxdmcp.so.6
ELF         7fd526628000-    7fd52663d000       Deferred        libtasn1.so.6
ELF         7fd52663d000-    7fd52666e000       Deferred        libidn2.so.0
ELF         7fd52667b000-    7fd526681000       Deferred        ws2_32.so
ELF         7fd526681000-    7fd526687000       Deferred        dwrite.so
ELF         7fd526687000-    7fd52668d000       Deferred        crypt32.so
ELF         7fd5266b1000-    7fd5266b9000       Deferred        libxfixes.so.3
ELF         7fd5266b9000-    7fd5266c6000       Deferred        libxcursor.so.1
ELF         7fd5266c6000-    7fd5266da000       Deferred        libxi.so.6
ELF         7fd5266da000-    7fd5266df000       Deferred        libxcomposite.so.1
ELF         7fd5266df000-    7fd5266ec000       Deferred        libxrandr.so.2
ELF         7fd5266ec000-    7fd5266f9000       Deferred        libxrender.so.1
ELF         7fd5266f9000-    7fd5266fe000       Deferred        libxinerama.so.1
ELF         7fd5266fe000-    7fd52670b000       Deferred        libmd.so.0
ELF         7fd52670b000-    7fd526721000       Deferred        libbsd.so.0
ELF         7fd526721000-    7fd52674b000       Deferred        libxcb.so.1
ELF         7fd52674b000-    7fd52688d000       Deferred        libx11.so.6
ELF         7fd52688d000-    7fd5268a2000       Deferred        libxext.so.6
ELF         7fd5268a7000-    7fd5268b3000       Deferred        libffi.so.8
ELF         7fd5268b3000-    7fd5268bf000       Deferred        bcrypt.so
ELF         7fd5268c1000-    7fd526940000       Deferred        winex11.so
ELF         7fd53ec50000-    7fd53ec55000       Deferred        libxau.so.6
ELF         7fd53ec9d000-    7fd53ecc8000       Deferred        libexpat.so.1
ELF         7fd53ecc8000-    7fd53ed13000       Deferred        libfontconfig.so.1
ELF         7fd53ed13000-    7fd53ed36000       Deferred        libbrotlicommon.so.1
ELF         7fd53ed36000-    7fd53ed6c000       Deferred        libpng16.so.16
ELF         7fd53ed6c000-    7fd53ed8b000       Deferred        libz.so.1
ELF         7fd53ed8b000-    7fd53ee55000       Deferred        libfreetype.so.6
ELF         7fd53ee55000-    7fd53f000000       Deferred        win32u.so
ELF         7fd53f6f6000-    7fd53f703000       Deferred        libbrotlidec.so.1
ELF         7fd53f703000-    7fd53f7e2000       Deferred        libm.so.6
ELF         7fd53f7e2000-    7fd53f811000       Deferred        liblzma.so.5
ELF         7fd53f811000-    7fd53f82d000       Deferred        libunwind.so.8
ELF         7fd53f82d000-    7fd53f8ea000       Export          ntdll.so
ELF         7fd53f8ed000-    7fd53face000       Deferred        libc.so.6
ELF         7fd53faef000-    7fd53fb23000       Deferred        ld-linux-x86-64.so.2
ELF         7fd53fb23000-    7fd53fb28000       Deferred        <wine-loader>
Threads:
process  tid      prio    name (all IDs are in hex)
00000020 start.exe
	00000024    0     
00000038 services.exe
	0000003c    0     
	00000040    0     wine_rpcrt4_server
	00000054    0     wine_rpcrt4_io
	00000058    0     wine_threadpool_worker
	0000007c    0     wine_rpcrt4_io
	00000080    0     wine_rpcrt4_io
	00000084    0     wine_threadpool_worker
	0000009c    0     wine_rpcrt4_io
	000000b0    0     wine_rpcrt4_io
	000000d0    0     wine_rpcrt4_io
	00000100    0     wine_rpcrt4_io
	00000118    0     
	00000124    0     wine_rpcrt4_io
00000044 mscorsvw.exe
	00000048    0     
	0000005c    0     
	00000060    0     wine_sechost_service
	00000064    0     
0000004c explorer.exe
	00000050    0     
	00000070    0     
	00000074    0     wine_explorer_display_settings_restorer
	00000078    0     wine_rpcrt4_server
00000068 mscorsvw.exe
	0000006c    0     
	00000088    0     
	0000008c    0     wine_sechost_service
	00000090    0     
00000094 svchost.exe
	00000098    0     
	000000a0    0     
	000000a4    0     wine_sechost_service
000000a8 winedevice.exe
	000000ac    0     
	000000b4    0     
	000000b8    0     wine_sechost_service
	000000bc    0     
	000000c0    0     
	000000c4    0     
	00000110    0     
	00000114    0     
000000c8 winedevice.exe
	000000cc    0     
	000000d4    0     
	000000d8    0     wine_sechost_service
	000000dc    0     
	000000e0    0     
	000000e4    0     
	000000e8    0     
	000000ec    0     
	000000f0    0     
000000f8 plugplay.exe
	000000fc    0     
	00000104    0     
	00000108    0     wine_sechost_service
	0000010c    0     wine_rpcrt4_server
0000011c rpcss.exe
	00000120    0     
	00000128    0     
	0000012c    0     wine_sechost_service
	00000130    0     wine_rpcrt4_server
	00000134    0     wine_rpcrt4_server
	00000138    0     wine_rpcrt4_io
	0000013c    0     wine_threadpool_worker
00000140 conhost.exe
	00000144    0     
00000148 (D) Z:\home\gg\remote\Remote Desktop\msrdcw.exe
	0000014c    0 <== 
	00000150    0     
	00000154    2     
	00000158    0     
	0000015c    0     
	00000160    0     
	00000164    0     
	00000168    0     
	0000016c    0     
	00000180    0     
00000178 conhost.exe
	0000017c    0     
System information:
    Wine build: wine-9.18
    Platform: x86_64 (guest: i386)
    Version: Windows 7
    Host system: Linux
    Host version: 6.1.0-25-amd64
muelli
Newbie
Newbie
Posts: 2
Joined: Tue Oct 01, 2024 1:46 am

Re: Install msi - "This operating system is not supported"

Post by muelli »

Thanks, all the same here up to the fail, which looks a little bit different:

0120:err:ole:CoGetContextToken apartment not initialised
0118:err:combase:RoGetActivationFactory Failed to find library for L"Windows.ApplicationModel.DesignMode"
0118:err:combase:RoGetActivationFactory Failed to find library for L"Windows.ApplicationModel.DesignMode"
0118:err:eventlog:ReportEventW L"Application: msrdcw.exe\n"
0118:err:eventlog:ReportEventW L"Framework Version: v4.0.30319\n"
0118:err:eventlog:ReportEventW L"Description: The process was terminated due to an unhandled exception.\n"
0118:err:eventlog:ReportEventW L"Exception Info: System.TypeLoadException\n"
0118:err:eventlog:ReportEventW L" at RdClient.WPF.Win10.CloudPCProviderService.IsSupported()\n"
0118:err:eventlog:ReportEventW L"\n"
0118:err:eventlog:ReportEventW L"Exception Info: System.Reflection.TargetInvocationException\n"
0118:err:eventlog:ReportEventW L" at System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Object[], System.Signature, Boolean)\n"
0118:err:eventlog:ReportEventW L" at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(System.Object, System.Object[], System.Object[])\n"
0118:err:eventlog:ReportEventW L" at System.Reflection.RuntimeMethodInfo.Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)\n"
0118:err:eventlog:ReportEventW L" at RdClient.WPF.Mains.ConnectionCenterMain.RegisterRequiredTypes(Prism.Ioc.IContainerRegistry)\n"
0118:err:eventlog:ReportEventW L" at Prism.PrismApplicationBase.Initialize()\n"
0118:err:eventlog:ReportEventW L" at Prism.PrismApplicationBase.InitializeInternal()\n"
0118:err:eventlog:ReportEventW L" at RdClient.WPF.App.OnStartup(System.Windows.StartupEventArgs)\n"
0118:err:eventlog:ReportEventW L" at System.Windows.Application.<.ctor>b__1_0(System.Object)\n"
0118:err:eventlog:ReportEventW L" at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)\n"
0118:err:eventlog:ReportEventW L" at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)\n"
0118:err:eventlog:ReportEventW L" at System.Windows.Threading.DispatcherOperation.InvokeImpl()\n"
0118:err:eventlog:ReportEventW L" at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object)\n"
0118:err:eventlog:ReportEventW L" at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)\n"
0118:err:eventlog:ReportEventW L" at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)\n"
0118:err:eventlog:ReportEventW L" at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)\n"
0118:err:eventlog:ReportEventW L" at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)\n"
0118:err:eventlog:ReportEventW L" at System.Windows.Threading.DispatcherOperation.Invoke()\n"
0118:err:eventlog:ReportEventW L" at System.Windows.Threading.Dispatcher.ProcessQueue()\n"
0118:err:eventlog:ReportEventW L" at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)\n"
0118:err:eventlog:ReportEventW L" at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)\n"
0118:err:eventlog:ReportEventW L" at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)\n"
0118:err:eventlog:ReportEventW L" at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)\n"
0118:err:eventlog:ReportEventW L" at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)\n"
0118:err:eventlog:ReportEventW L" at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)\n"
0118:err:eventlog:ReportEventW L" at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)\n"
0118:err:eventlog:ReportEventW L" at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)\n"
0118:err:eventlog:ReportEventW L" at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)\n"
0118:err:eventlog:ReportEventW L" at System.Windows.Application.RunDispatcher(System.Object)\n"
0118:err:eventlog:ReportEventW L" at System.Windows.Application.RunInternal(System.Windows.Window)\n"
0118:err:eventlog:ReportEventW L" at RdClient.WPF.App.Main()\n"
0118:err:eventlog:ReportEventW L"\n"
wine: Unhandled exception 0xe0434352 in thread 118 at address 00006FFFFF483F07 (thread 0118), starting debugger...
desessarts
Level 4
Level 4
Posts: 114
Joined: Wed Oct 04, 2023 7:57 am

Re: Install msi - "This operating system is not supported"

Post by desessarts »

after the 64 bits I tested the 32 bits, exactly same results,

Code: Select all

wine msrdc.exe
display a

i

then exits

and

Code: Select all

wine msrdcw.exe
fails with similar messages
desessarts
Level 4
Level 4
Posts: 114
Joined: Wed Oct 04, 2023 7:57 am

Re: Install msi - "This operating system is not supported"

Post by desessarts »

I think msiextract must go to Program Files, I extracted there, but no improvement
Post Reply