Page MenuHomeFeedback Tracker

Arma 3 Launcher throws an error when launched after a Windows OS upgrade
Closed, ResolvedPublic

Description

After upgrading my computer from a Windows 7 Ultimate x64 OS to a Windows 10 professional x64 OS, when I launched Arma, it automatically crashed giving me the following error:

Unexpected error occurred:
The type initializer for "System.Windows.Interop.OSVersionHelper" threw an exception.
Details are stored in a text file on your desktop.

The text file on my desktop will be pasted in additional information.

PC specs:
M/B: Gigabyte GA-Z77M-D3H-MVP rev. 10
CPU: Intel core i5-3470 @ 3.2GHz (OC: 3.8GHz)
GPU: ASUS Nvidia Geforce GTX 770 DirectCU II
RAM: 8GB DDR3 1333MHz
HDD: Seagate Barracuda 2TB
PSU: 800W

Details

Severity
Crash
Resolution
No Bug
Reproducibility
N/A
Operating System
Windows 10 x64
Category
Launcher
Steps To Reproduce

Can't say for sure, however a windows 7 upgrade to a windows 10 upgrade seemed to have caused this problem.

Additional Information
Arma 3 Launcher Exception Log
=============================
...
----------------------------
System information
----------------------------
Date:                2016-08-31 00:50:21 / 2016-08-30 20:50:21 -04
Current dir:         C:\Program Files (x86)\Steam\steamapps\common\Arma 3
AppData dir:         C:\Users\Opdelta\AppData\Local
Command line:        "C:\Program Files (x86)\Steam\steamapps\common\Arma 3\arma3launcher.exe"
Version:             1.5.137.506
CLR version:         4.0.30319.42000
OS Version:          10.0.10586.0 (Microsoft Windows NT 10.0.10586.0)
OS 64 bit:           True
Process 64 bit:      False
Personal dir:        C:\Users\Opdelta\Documents
Culture:             en-US
UI Culture:          en-US
Point of log:        Unhandled Exception

----------------------------
Exception
----------------------------
System.TypeInitializationException: The type initializer for 'System.Windows.Interop.OSVersionHelper' threw an exception. ---> System.EntryPointNotFoundException: Unable to find an entry point named 'IsWindows10RS1OrGreater' in DLL 'PresentationNative_v0400.dll'.
   at System.Windows.Interop.OSVersionHelper.IsWindows10RS1OrGreater()
   at System.Windows.Interop.OSVersionHelper..cctor()
   --- End of inner exception stack trace ---
   at System.Windows.Interop.HwndTarget.InitProcessDpiAwareness()
   at System.Windows.Interop.HwndTarget.InitializePrimaryDpiScale()
   at System.Windows.Interop.HwndTarget..ctor(IntPtr hwnd)
   at System.Windows.Interop.HwndSource.Initialize(HwndSourceParameters parameters)
   at System.Windows.Window.CreateSourceWindow(Boolean duringShow)
   at System.Windows.Window.CreateSourceWindowDuringShow()
   at System.Windows.Window.SafeCreateWindowDuringShow()
   at System.Windows.Window.ShowHelper(Object booleanBox)
   at System.Windows.Window.Show()
   at Launcher.App.OnStartup(StartupEventArgs e)
   at System.Windows.Application.<.ctor>b__1_0(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Threading.DispatcherOperation.Invoke()
   at System.Windows.Threading.Dispatcher.ProcessQueue()
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at Launcher.Program.StartGui(InitArgs param)
   at Launcher.Program.HandleCommandLine()
   at Launcher.Program.RunLauncher()
   at Launcher.Program.Main(String[] args)

----------------------------
Modules and assemblies
----------------------------
- mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll
- arma3launcher, Version=1.5.137.506, Culture=neutral, PublicKeyToken=null; C:\Program Files (x86)\Steam\steamapps\common\Arma 3\arma3launcher.exe
- log4net, Version=1.2.13.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a; C:\Program Files (x86)\Steam\steamapps\common\Arma 3\Launcher\log4net.dll
- System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll
- System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll
- System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll
- System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll
- SharedResources, Version=1.5.137.506, Culture=neutral, PublicKeyToken=null; C:\Program Files (x86)\Steam\steamapps\common\Arma 3\Launcher\SharedResources.dll
- PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.dll
- WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\WindowsBase\v4.0_4.0.0.0__31bf3856ad364e35\WindowsBase.dll
- System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xaml\v4.0_4.0.0.0__b77a5c561934e089\System.Xaml.dll
- Utils, Version=1.5.137.506, Culture=neutral, PublicKeyToken=null; C:\Program Files (x86)\Steam\steamapps\common\Arma 3\Launcher\Utils.dll
- PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; C:\WINDOWS\Microsoft.Net\assembly\GAC_32\PresentationCore\v4.0_4.0.0.0__31bf3856ad364e35\PresentationCore.dll
- UIAutomationTypes, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\UIAutomationTypes\v4.0_4.0.0.0__31bf3856ad364e35\UIAutomationTypes.dll
- UIAutomationProvider, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\UIAutomationProvider\v4.0_4.0.0.0__31bf3856ad364e35\UIAutomationProvider.dll
- arma3launcher.resources, Version=1.5.137.506, Culture=en-US, PublicKeyToken=null; C:\Program Files (x86)\Steam\steamapps\common\Arma 3\Launcher\en-US\arma3launcher.resources.dll
- SharedResources.resources, Version=1.5.137.506, Culture=en-US, PublicKeyToken=null; C:\Program Files (x86)\Steam\steamapps\common\Arma 3\Launcher\en-US\SharedResources.resources.dll
- PresentationFramework.Aero2, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework.Aero2\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.Aero2.dll
- Microsoft.GeneratedCode, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null; (dynamic assembly)
- System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll
- SMDiagnostics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\SMDiagnostics\v4.0_4.0.0.0__b77a5c561934e089\SMDiagnostics.dll
- System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll
- System.ServiceModel.Internals, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Internals\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Internals.dll
- PresentationFramework-SystemXml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework-SystemXml\v4.0_4.0.0.0__b77a5c561934e089\PresentationFramework-SystemXml.dll
- System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll
- System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll

Event Timeline

opdelta created this task.Aug 31 2016, 3:22 AM
BISWizard changed the task status from New to Assigned.
BISWizard added a subscriber: BISWizard.

Hello,
it seems that some .NET Framework files were not updated. Please try to re-install .NET Framework 4.6.2: https://www.microsoft.com/en-us/download/details.aspx?id=53345 or use .NET Framework Repair Tool: https://www.microsoft.com/en-us/download/details.aspx?id=30135

BISWizard updated the task description. (Show Details)Aug 31 2016, 9:31 AM
BISWizard edited Additional Information. (Show Details)
BISWizard changed Category from Error Message to Launcher.
BISWizard renamed this task from ArmA Launcher throws an error when launched after a Windows OS upgrade to Arma 3 Launcher throws an error when launched after a Windows OS upgrade.

I was looking through the error log and saw the " Unable to find an entry point named 'IsWindows10RS1OrGreater' in DLL 'PresentationNative_v0400.dll'". Before getting a reply, I updated my Windows 10 to the anniversary update and ArmA is now working again. Not sure if .NET would've fixed it!

Thanks a lot for the reply though.

Hi,
thank you for letting us know.

Your problem was a missing function in 'PresentationNative_v0400.dll', which is a file that is a part of .NET Framework and upgrading to Anniversary Update has updated the .NET Framework as well. The most likely when you've upgraded from Windows 7 to 10, part of the .NET Framework wasn't updated and that caused a mismatch that was fixed when upgrading to Anniversary Update.

BISWizard closed this task as Resolved.Sep 1 2016, 9:50 AM
BISWizard changed Resolution from Open to No Bug.