lostindark / DriverStoreExplorer

Driver Store Explorer [RAPR]
GNU General Public License v2.0
6.82k stars 399 forks source link

Unable to launch the tool #158

Closed Observer365 closed 3 years ago

Observer365 commented 3 years ago

I've tried safe mode, .net installations, visual studio installations and force launching the app

The .exe seems to crash/killed everytime i open it

I realize this could be an issue on my machine only, is there any place that i can start looking? Do you have any info on this issue?

lostindark commented 3 years ago

Try check system event log. It should tell you why the app crashed.

Capricus02 commented 3 years ago

Just want to say that I'm having this issue as well. Looking at the event log, it appears to be an unauthorized access issue, however, I'm running the program as administrator (both logged in and right-click > Run as Administrator) and it still will not load / automatically crashes after start up. I've even used the admin cmd prompt and took ownership of all of my folders and files on the C;/ drive where this file is and it still will not launch. Here is one of the event logs:

Log Name: Application Source: .NET Runtime Date: 3/18/2021 3:13:32 PM Event ID: 1026 Task Category: None Level: Error Keywords: Classic User: N/A Computer: MSI Description: Application: Rapr.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.UnauthorizedAccessException at System.IO.Error.WinIOError(Int32, System.String) at System.IO.FileSystemEnumerableIterator`1[[System.Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].AddSearchableDirsToStack(SearchData) at System.IO.FileSystemEnumerableIterator`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at Rapr.DSEFormHelper.GetSupportedLanguage() at Rapr.DSEForm..cctor()

Exception Info: System.TypeInitializationException at Rapr.DSEForm.BuildLanguageMenu() at Rapr.DSEForm..ctor() at Rapr.Program.Main()

Event Xml:

1026 0 2 0 0 0x80000000000000 505 Application MSI Application: Rapr.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.UnauthorizedAccessException at System.IO.__Error.WinIOError(Int32, System.String) at System.IO.FileSystemEnumerableIterator`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].AddSearchableDirsToStack(SearchData) at System.IO.FileSystemEnumerableIterator`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at Rapr.DSEFormHelper.GetSupportedLanguage() at Rapr.DSEForm..cctor() Exception Info: System.TypeInitializationException at Rapr.DSEForm.BuildLanguageMenu() at Rapr.DSEForm..ctor() at Rapr.Program.Main()
Observer365 commented 3 years ago

I got this solved after realizing it was blocked by my OEM. I have disabled updates for bios but somehow a new bios update managed to get through along with Asus's bloatware updates. I had to delete all drivers installed to get the rapr.exe to launch. Although it did launch, it did not detect drivers, I did a system restore, blocked all updates and reinstalled necessary software and older bios and rapr.exe launched fine this time.

found additional weird .inf files from asus and deleted them.

I don't wanna say it but maybe my OEM ie: Asus, is blocking this software so they can continue installing updated telemetry and data gathering utilities to gather data by circumventing latest store/site needs. A good example of this would be the recent stable releases of armoury crate being moved to Microsoft Store beta to avoid detection.

lostindark commented 3 years ago

@Capricus02 somehow the app has no permission has no permission to read language files. Added a fix to suppress the error: 27d7bd87e1d8d7cc999e8e25794d534e823de72e