bloxstraplabs / bloxstrap

An alternative bootstrapper for Roblox with a bunch of extra features.
https://bloxstraplabs.com
MIT License
1.88k stars 335 forks source link

[BUG] System.UnauthorizedAccessException: Access to the path 'RobloxCrashHandler.exe' is denied. #3725

Open Enkamia opened 2 weeks ago

Enkamia commented 2 weeks ago

Acknowledgement of preliminary instructions

Bloxstrap Version

v2.8.1

What problem did you encounter?

On attempting to join a game through the website, Bloxstrap opens and gets stuck on "Upgrading Roblox..." and then the exception occurs. Previous posts state this is fixed in 2.8.1 but I am using 2.8.1 and it is not fixed - other fixes stated in posts lower down do not work. Reinstalling Bloxstrap temporarily fixes this for the day but it is tedious to do this every time it breaks, which is at least once every few days. This also occurs when "Launch Roblox" is clicked from the Bloxstrap launcher. image_2024-11-08_163729945

Bloxstrap Log

2024-11-08T22:29:19Z [App::OnStartup] Starting Bloxstrap v2.8.1
2024-11-08T22:29:19Z [App::OnStartup] Compiled Tuesday, 29 October 2024 at 5:35:23 PM from commit 2be2f4d0d275e60eabf2f63ecbbe4e38b2aa0773 (tag/v2.8.1)
2024-11-08T22:29:19Z [App::OnStartup] Loaded from %UserProfile%\AppData\Local\Bloxstrap\Bloxstrap.exe
2024-11-08T22:29:19Z [App::OnStartup] Temp path is %UserProfile%\AppData\Local\Temp\Bloxstrap
2024-11-08T22:29:19Z [App::OnStartup] WindowsStartMenu path is %UserProfile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
2024-11-08T22:29:19Z [LaunchSettings] Identifier 'player' is active with data
2024-11-08T22:29:19Z [Logger::Initialize] Initializing at %UserProfile%\AppData\Local\Bloxstrap\Logs\Bloxstrap_20241108T222919Z.log
2024-11-08T22:29:19Z [Logger::Initialize] Finished initializing!
2024-11-08T22:29:19Z [JsonManager<Settings>::Load] Loading from %UserProfile%\AppData\Local\Bloxstrap\Settings.json...
2024-11-08T22:29:19Z [JsonManager<Settings>::Load] Loaded successfully!
2024-11-08T22:29:19Z [JsonManager<State>::Load] Loading from %UserProfile%\AppData\Local\Bloxstrap\State.json...
2024-11-08T22:29:19Z [JsonManager<State>::Load] Loaded successfully!
2024-11-08T22:29:19Z [FastFlagManager::Load] Loading from %UserProfile%\AppData\Local\Bloxstrap\Modifications\ClientSettings\ClientAppSettings.json...
2024-11-08T22:29:19Z [FastFlagManager::Load] Loaded successfully!
2024-11-08T22:29:19Z [LaunchHandler::LaunchRoblox] Initializing bootstrapper
2024-11-08T22:29:19Z [LaunchHandler::LaunchRoblox] Initializing bootstrapper dialog
2024-11-08T22:29:19Z [Bootstrapper::Run] Running bootstrapper
2024-11-08T22:29:19Z [Bootstrapper::SetStatus] Connecting to Roblox...
2024-11-08T22:29:19Z [Deployment::TestConnection<https://setup.rbxcdn.com>] Connecting...
2024-11-08T22:29:19Z [HttpClientLoggingHandler::ProcessRequest] GET https://setup.rbxcdn.com/versionStudio
2024-11-08T22:29:19Z [Deployment::InitializeConnectivity] Testing connectivity...
2024-11-08T22:29:20Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://setup.rbxcdn.com/versionStudio
2024-11-08T22:29:20Z [Deployment::InitializeConnectivity] Got https://setup.rbxcdn.com as the optimal base URL
2024-11-08T22:29:20Z [Bootstrapper::Run] Connectivity check finished
2024-11-08T22:29:20Z [Bootstrapper::CheckForUpdates] Checking for updates...
2024-11-08T22:29:20Z [HttpClientLoggingHandler::ProcessRequest] GET https://api.github.com/repos/bloxstraplabs/bloxstrap/releases/latest
2024-11-08T22:29:20Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://api.github.com/repos/bloxstraplabs/bloxstrap/releases/latest
2024-11-08T22:29:20Z [Bootstrapper::CheckForUpdates] No updates found
2024-11-08T22:29:20Z [Bootstrapper::GetLatestVersionInfo] Got channel as production
2024-11-08T22:29:20Z [Deployment::GetInfo] Getting deploy info for channel production
2024-11-08T22:29:20Z [HttpClientLoggingHandler::ProcessRequest] GET https://clientsettingscdn.roblox.com/v2/client-version/WindowsPlayer
2024-11-08T22:29:20Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://clientsettingscdn.roblox.com/v2/client-version/WindowsPlayer
2024-11-08T22:29:20Z [RegistryKeyEx::SetValueSafe] Writing '' to HKEY_CURRENT_USER\SOFTWARE\ROBLOX Corporation\Environments\RobloxPlayer\Channel\www.roblox.com
2024-11-08T22:29:20Z [HttpClientLoggingHandler::ProcessRequest] GET https://setup.rbxcdn.com/version-b7eebc919e96477a-rbxPkgManifest.txt
2024-11-08T22:29:20Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://setup.rbxcdn.com/version-b7eebc919e96477a-rbxPkgManifest.txt
2024-11-08T22:29:20Z [Bootstrapper::SetStatus] Upgrading {product}...
2024-11-08T22:29:20Z [LaunchHandler::LaunchRoblox] Bootstrapper task has finished
2024-11-08T22:29:20Z [LaunchHandler::LaunchRoblox] An exception occurred when running the bootstrapper
2024-11-08T22:29:20Z [App::FinalizeExceptionHandling] (0x80070005) System.UnauthorizedAccessException: Access to the path 'RobloxCrashHandler.exe' is denied.
   at System.IO.FileSystem.RemoveDirectoryRecursive(String fullPath, WIN32_FIND_DATA& findData, Boolean topLevel)
   at System.IO.FileSystem.RemoveDirectory(String fullPath, Boolean recursive)
   at Bloxstrap.Bootstrapper.UpgradeRoblox()
   at Bloxstrap.Bootstrapper.Run()
   at Bloxstrap.Bootstrapper.Run()
2024-11-08T22:29:20Z [HttpClientLoggingHandler::ProcessRequest] POST https://bloxstraplabs.com/metrics/post-exception
2024-11-08T22:29:20Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://bloxstraplabs.com/metrics/post-exception
2024-11-08T22:31:44Z [App::Terminate] Terminating with exit code 1603 (ERROR_INSTALL_FAILURE)