Trying to install an exe file, but getting a code error.

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Slaythrax
Newbie
Newbie
Posts: 2
Joined: Fri May 12, 2023 12:07 pm

Trying to install an exe file, but getting a code error.

Post by Slaythrax »

I'm trying to install Atlas TI, a qualitative data analysis tool (there is no FOSS or even Linux-native alternatives)
I don't really understand the Error Message, and there is no data about running the application through WINE (Only 5 reports, all of them over 10 years ago!)

Code: Select all

[ERROR] FATAL UNHANDLED EXCEPTION: System.NotImplementedException: The method or operation is not implemented.
  at MS.Internal.Text.InternalEncoding.GetEncoding (System.Int32 codepage) [0x00001] in <f8fc562f7d244f8692d61d7bd2917f68>:0 
  at System.Windows.Documents.RtfToXamlLexer..ctor (System.Byte[] rtfBytes) [0x00024] in <f8fc562f7d244f8692d61d7bd2917f68>:0 
  at System.Windows.Documents.RtfToXamlReader.Initialize () [0x00001] in <f8fc562f7d244f8692d61d7bd2917f68>:0 
  at System.Windows.Documents.RtfToXamlReader..ctor (System.String rtfString) [0x00020] in <f8fc562f7d244f8692d61d7bd2917f68>:0 
  at System.Windows.Documents.XamlRtfConverter.ConvertRtfToXaml (System.String rtfContent) [0x0002b] in <f8fc562f7d244f8692d61d7bd2917f68>:0 
  at System.Windows.Documents.TextEditorCopyPaste.ConvertRtfToXaml (System.String rtfContent) [0x0002e] in <f8fc562f7d244f8692d61d7bd2917f68>:0 
  at System.Windows.Documents.TextRangeBase.Load (System.Windows.Documents.TextRange thisRange, System.IO.Stream stream, System.String dataFormat) [0x0013b] in <f8fc562f7d244f8692d61d7bd2917f68>:0 
  at System.Windows.Documents.TextRange.LoadVirtual (System.IO.Stream stream, System.String dataFormat) [0x00001] in <f8fc562f7d244f8692d61d7bd2917f68>:0 
  at System.Windows.Documents.TextRange.Load (System.IO.Stream stream, System.String dataFormat) [0x00001] in <f8fc562f7d244f8692d61d7bd2917f68>:0 
  at SSD.ATLASti.BootstrapperApp.ViewModel.EulaStepViewModel.LoadEula () [0x00021] in <3f8e9bd3f3e945f380095033505f7506>:0 
  at SSD.ATLASti.BootstrapperApp.ViewModel.EulaStepViewModel..ctor (SSD.ATLASti.BootstrapperApp.ViewModel.RootViewModel root) [0x00012] in <3f8e9bd3f3e945f380095033505f7506>:0 
  at SSD.ATLASti.BootstrapperApp.ViewModel.RootViewModel..ctor (SSD.ATLASti.BootstrapperApp.WixBA application) [0x0002b] in <3f8e9bd3f3e945f380095033505f7506>:0 
  at SSD.ATLASti.BootstrapperApp.WixBA.Run () [0x0004f] in <3f8e9bd3f3e945f380095033505f7506>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <e70d6e9587d64cb3abb4b3f99bbf5a0d>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <e70d6e9587d64cb3abb4b3f99bbf5a0d>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <e70d6e9587d64cb3abb4b3f99bbf5a0d>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <e70d6e9587d64cb3abb4b3f99bbf5a0d>:0
I need help, as I really would like to run this on Linux.

Thanks
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Trying to install an exe file, but getting a code error.

Post by jkfloris »

When trying the trial version of Atlas.ti, I can install the program with wine-staging 8.7 using the following Winetricks:

Code: Select all

winetricks -q dotnet48 corefonts renderer=vulkan win10
Before you get happy, I can't run the program.
When I try to log in, it says the name or password is wrong. The output shown is:

Code: Select all

049c:fixme:winsock:GetAddrInfoExW Unsupported namespace 0
049c:fixme:winsock:GetAddrInfoExW Unsupported cancel handle
04f8:fixme:winsock:setsockopt Ignoring SO_REUSE_UNICASTPORT
04b0:fixme:secur32:get_cipher_algid unknown algorithm 23
04b0:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
04b0:fixme:secur32:get_cipher_algid unknown algorithm 23
04b0:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
04b0:fixme:secur32:get_cipher_str unknown cipher 23
04b0:fixme:secur32:get_cipher_len unknown cipher 23
04b0:fixme:secur32:get_hash_str unknown mac 200
04b0:fixme:secur32:get_chaining_mode_str unknown cipher 23
04b0:fixme:secur32:get_hash_str unknown mac 200
04a4:fixme:ncrypt:NCryptOpenStorageProvider (000000000A8692A0, L"Microsoft Software Key Storage Provider", 0): stub
04a4:fixme:ncrypt:NCryptSetProperty flags 0x40000000 not supported
04a4:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 00000003A0DB0338, 38) stub
04d8:fixme:ntdll:RtlGetCurrentProcessorNumberEx (0000000016F3F560) :semi-stub
04b0:fixme:winsock:GetAddrInfoExW Unsupported namespace 0
04b0:fixme:winsock:GetAddrInfoExW Unsupported cancel handle
04a8:fixme:winsock:setsockopt Ignoring SO_REUSE_UNICASTPORT
04f8:fixme:secur32:get_hash_str unknown mac 200
04f8:fixme:secur32:get_hash_str unknown mac 200
0468:fixme:win:UnregisterPowerSettingNotification (00000000DEADBEEF): stub
0468:fixme:wtsapi:WTSUnRegisterSessionNotification Stub 000000000003006E
0468:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 00000003A0EE0440, 64) stub
If you encounter the same problem, please file a bug report.
Slaythrax
Newbie
Newbie
Posts: 2
Joined: Fri May 12, 2023 12:07 pm

Re: Trying to install an exe file, but getting a code error.

Post by Slaythrax »

jkfloris wrote: Sat May 13, 2023 1:41 pm When trying the trial version of Atlas.ti, I can install the program with wine-staging 8.7 using the following Winetricks:

Code: Select all

winetricks -q dotnet48 corefonts renderer=vulkan win10
Before you get happy, I can't run the program.
When I try to log in, it says the name or password is wrong. The output shown is:

Code: Select all

049c:fixme:winsock:GetAddrInfoExW Unsupported namespace 0
049c:fixme:winsock:GetAddrInfoExW Unsupported cancel handle
04f8:fixme:winsock:setsockopt Ignoring SO_REUSE_UNICASTPORT
04b0:fixme:secur32:get_cipher_algid unknown algorithm 23
04b0:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
04b0:fixme:secur32:get_cipher_algid unknown algorithm 23
04b0:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
04b0:fixme:secur32:get_cipher_str unknown cipher 23
04b0:fixme:secur32:get_cipher_len unknown cipher 23
04b0:fixme:secur32:get_hash_str unknown mac 200
04b0:fixme:secur32:get_chaining_mode_str unknown cipher 23
04b0:fixme:secur32:get_hash_str unknown mac 200
04a4:fixme:ncrypt:NCryptOpenStorageProvider (000000000A8692A0, L"Microsoft Software Key Storage Provider", 0): stub
04a4:fixme:ncrypt:NCryptSetProperty flags 0x40000000 not supported
04a4:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 00000003A0DB0338, 38) stub
04d8:fixme:ntdll:RtlGetCurrentProcessorNumberEx (0000000016F3F560) :semi-stub
04b0:fixme:winsock:GetAddrInfoExW Unsupported namespace 0
04b0:fixme:winsock:GetAddrInfoExW Unsupported cancel handle
04a8:fixme:winsock:setsockopt Ignoring SO_REUSE_UNICASTPORT
04f8:fixme:secur32:get_hash_str unknown mac 200
04f8:fixme:secur32:get_hash_str unknown mac 200
0468:fixme:win:UnregisterPowerSettingNotification (00000000DEADBEEF): stub
0468:fixme:wtsapi:WTSUnRegisterSessionNotification Stub 000000000003006E
0468:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 00000003A0EE0440, 64) stub
If you encounter the same problem, please file a bug report.

Thanks, it worked flawlessly!

May I ask, how did you knew to use those winetricks? I would really like to know how to diagnose any issues I may have installing software through wine.
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Trying to install an exe file, but getting a code error.

Post by jkfloris »

Code: Select all

[ERROR] FATAL UNHANDLED EXCEPTION: System.NotImplementedException: The method or operation is not implemented.
(dotnet48) .Net programs give this kind of error. The Atlas.ti web site indicates that .Net 4.8 is required.
It is recommended that you also install the Windows fonts (corefonts), as .Net programs often require them.

The installer gives a message that Windows 10 or 11 is required, so you need win10
I'm not sure if renderer=vulkan is really necessary. You can test if the program also works with the default renderer=gl.
Locked