Error when trying to install in Linux

Feb 17 at 12:59 PM
As i tried to run X12Parser.exe through wine, getting error.
help me to run this on linux enviornment as we will run through shell using PHP code.

Here is the run time error.
~/.wine-PROGRAM-NAME/drive_c/Program Files/Release$ wine X12Parser.exe
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:process:SetProcessShutdownParameters (00000380, 00000000): partial stub.
fixme:thread:SetThreadStackGuarantee (0x32fbe4): stub
fixme:ntdll:EtwEventRegister ({e13c0d23-ccbc-4e12-931b-d9cc2eee27e4}, 0x7932a40c, 0x797293b0, 0x79764880) stub.
fixme:ntdll:EtwEventRegister ({763fd754-7086-4dfe-95eb-c01a46faf4ca}, 0x7932a40c, 0x797292f0, 0x79729998) stub.
fixme:ntdll:EtwEventRegister ({a669021c-c450-4609-a035-5af59af4df18}, 0x7932a40c, 0x79764890, 0x79764888) stub.
fixme:ntdll:EtwEventRegister ({cc2bcbba-16b6-4cf3-8990-d74c2e8af500}, 0x7932a40c, 0x797648c0, 0x797292e8) stub.
fixme:wer:WerRegisterRuntimeExceptionModule (L"C:\windows\Microsoft.NET\Framework\v4.0.30319\mscordacwks.dll", 0x79140000) stub!
fixme:nls:LocaleNameToLCID unsupported flags 8000000
fixme:nls:LocaleNameToLCID unsupported flags 8000000
fixme:ole:CoGetApartmentType (0x2e1e6a8, 0x2e1e6a4): semi-stub
fixme:shell:URL_ParseUrl failed to parse L"OopFactory.X12"
fixme:shell:URL_ParseUrl failed to parse L"System.Configuration"
fixme:shell:URL_ParseUrl failed to parse L"System"
fixme:shell:URL_ParseUrl failed to parse L"System.Core"
fixme:shell:URL_ParseUrl failed to parse L"System.Xml"
fixme:nls:LocaleNameToLCID unsupported flags 8000000
fixme:nls:LocaleNameToLCID unsupported flags 8000000
fixme:nls:LCIDToLocaleName unsupported flags 8000000
fixme:nls:get_dummy_preferred_ui_language (0x0 0x32c2d4 (nil) 0x32c2d0) returning a dummy value (current locale)
fixme:nls:get_dummy_preferred_ui_language (0x0 0x32c2d4 0x163428 0x32c2d0) returning a dummy value (current locale)
fixme:nls:LocaleNameToLCID unsupported flags 8000000
fixme:nls:LocaleNameToLCID unsupported flags 8000000
fixme:nls:LocaleNameToLCID unsupported flags 8000000
fixme:ntdll:EtwEventRegister ({8e9f5090-2d75-4d03-8a81-e5afbf85daf1}, 0x960502, (nil), 0xcc7c30) stub.
fixme:nls:LCIDToLocaleName unsupported flags 8000000
fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime"): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x00000402,(nil),0x0001,0x00000000,0x32de78,(nil)): stub
err:eventlog:ReportEventW L"Application: X12Parser.exe\nFramework Version: v4.0.30319\nDescription: The process was terminated due to an unhandled exception.\nException Info: System.IndexOutOfRangeException\nStack:\n at OopFactory.X12.X12Parser.Program.Main(System.String[])\n"
fixme:advapi:DeregisterEventSource (0xcafe4242) stub

Unhandled Exception: System.IndexOutOfRangeException: Index was outside the bounds of the array.
at OopFactory.X12.X12Parser.Program.Main(String[] args)
wine: Unhandled exception 0xe0434352 in thread 9 at address 0x7b43c26c (thread 0009), starting debugger...
fixme:service:QueryServiceConfig2W Level 6 not implemented
fixme:service:QueryServiceConfig2W Level 6 not implemented
fixme:service:QueryServiceConfig2W Level 6 not implemented
fixme:service:QueryServiceConfig2W Level 6 not implemented
fixme:service:QueryServiceConfig2W Level 6 not implemented
fixme:service:QueryServiceConfig2W Level 6 not implemented
fixme:service:QueryServiceConfig2W Level 6 not implemented
fixme:service:QueryServiceConfig2W Level 6 not implemented
fixme:service:QueryServiceConfig2W Level 6 not implemented
fixme:service:QueryServiceConfig2W Level 6 not implemented
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:fusion:InitializeFusion
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:thread:SetThreadStackGuarantee (0x33ef80): stub
fixme:ntdll:EtwEventRegister ({e13c0d23-ccbc-4e12-931b-d9cc2eee27e4}, 0x7932a40c, 0x797293b0, 0x79764880) stub.
fixme:ntdll:EtwEventRegister ({763fd754-7086-4dfe-95eb-c01a46faf4ca}, 0x7932a40c, 0x797292f0, 0x79729998) stub.
fixme:ntdll:EtwEventRegister ({a669021c-c450-4609-a035-5af59af4df18}, 0x7932a40c, 0x79764890, 0x79764888) stub.
fixme:ntdll:EtwEventRegister ({cc2bcbba-16b6-4cf3-8990-d74c2e8af500}, 0x7932a40c, 0x797648c0, 0x797292e8) stub.
fixme:wer:WerRegisterRuntimeExceptionModule (L"C:\windows\Microsoft.NET\Framework\v4.0.30319\mscordacwks.dll", 0x79140000) stub!
fixme:nls:LocaleNameToLCID unsupported flags 8000000
fixme:nls:LocaleNameToLCID unsupported flags 8000000
err:ole:CoInitializeEx Attempt to change threading model of this apartment from apartment threaded to multi-threaded
err:ole:CoGetContextToken apartment not initialised
fixme:nls:LocaleNameToLCID unsupported flags 8000000
fixme:nls:LocaleNameToLCID unsupported flags 8000000
fixme:shell:URL_ParseUrl failed to parse L"System.ServiceModel.Activation"
fixme:shell:URL_ParseUrl failed to parse L"System.Runtime.DurableInstancing"
fixme:shell:URL_ParseUrl failed to parse L"System.ServiceModel.Activities"
fixme:shell:URL_ParseUrl failed to parse L"System.Activities"
fixme:shell:URL_ParseUrl failed to parse L"System.Xaml.Hosting"
fixme:shell:URL_ParseUrl failed to parse L"System.Activities.DurableInstancing"
fixme:shell:URL_ParseUrl failed to parse L"Microsoft.VisualBasic.Activities.Compiler"
fixme:shell:URL_ParseUrl failed to parse L"System"
fixme:shell:URL_ParseUrl failed to parse L"System.EnterpriseServices"
fixme:shell:URL_ParseUrl failed to parse L"System.Configuration"
fixme:shell:URL_ParseUrl failed to parse L"System.ServiceModel"
fixme:shell:URL_ParseUrl failed to parse L"System.Transactions"
fixme:shell:URL_ParseUrl failed to parse L"System.Xml"
fixme:shell:URL_ParseUrl failed to parse L"System.ServiceModel.Activation"
fixme:shell:URL_ParseUrl failed to parse L"System.Runtime.DurableInstancing"
fixme:shell:URL_ParseUrl failed to parse L"System.ServiceModel.Activities"
fixme:shell:URL_ParseUrl failed to parse L"System.Activities"
fixme:shell:URL_ParseUrl failed to parse L"System.Xaml.Hosting"
fixme:shell:URL_ParseUrl failed to parse L"System.Activities.DurableInstancing"
fixme:shell:URL_ParseUrl failed to parse L"Microsoft.VisualBasic.Activities.Compiler"
fixme:shell:URL_ParseUrl failed to parse L"System.DirectoryServices"
fixme:shell:URL_ParseUrl failed to parse L"System.Web"
fixme:shell:URL_ParseUrl failed to parse L"System.Runtime.Serialization"
fixme:process:FlushProcessWriteBuffers : stub
err:ole:CoReleaseMarshalData IMarshal::ReleaseMarshalData failed with error 0x8001011d
fixme:ole:CoGetApartmentType (0x33f948, 0x33f944): semi-stub
fixme:ole:CoGetApartmentType (0x33f6f8, 0x33f6f4): semi-stub
fixme:ole:CoGetApartmentType (0x33f6f8, 0x33f6f4): semi-stub
fixme:ole:CoGetApartmentType (0x33f6f8, 0x33f6f4): semi-stub
fixme:ole:CoGetApartmentType (0x33f6e8, 0x33f6e4): semi-stub
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub