Installation failed [Windows 10]


#1

Hello,

I’m trying to install Brave on my windows 10 laptop (x64bits).

I have download brave from https://brave.com/download/

But when I launch the installation I got this message “installation has failed" as you can find in few topics:

I have already deleted brave few times from my appdata/local files and redownload brave or restarted my computer as I saw in those topics. But still I can’t install it properly.

Is someone can help me?

Thanks


#2

Hi @dolcal. Do you get any error log when you run the setup? Just to be sure have you removed the brave folder under Local and Roaming?


#3

Hello, @sriram thank you for your help. Yes I have the same log error as the second post i quoted basically.

Yes i have removed brave folders in local and roaming, also squirell… Also redownloaded brave, but still got this installation failed…


#4

Hi @dolcal could you try removing the squirrel folder in Local and give that a try. Could you right click on the setup and run as administrator and see if the setup completes.


#5

Hi @sriram thanks for your help.

I’ve tried what you asked me and still got “installation failed”.
It seems that I can’t copy the whole log in this forum so here’s the beginning :slight_smile:

018-01-18 07:50:14> Program: Starting Squirrel Updater: --install . --rerunningWithoutUAC
2018-01-18 07:50:14> Program: Starting install, writing to C:\Users\TQB\AppData\Local\SquirrelTemp
2018-01-18 07:50:14> Program: About to install to: C:\Users\TQB\AppData\Local\brave
2018-01-18 07:50:14> CheckForUpdateImpl: Couldn’t write out staging user ID, this user probably shouldn’t get beta anything: System.IO.DirectoryNotFoundException: Impossible de trouver une partie du chemin d’accès ‘C:\Users\TQB\AppData\Local\brave\packages.betaId’.
à System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
à System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
à System.IO.FileStream…ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
à System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
à System.IO.StreamWriter…ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
à System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
à System.IO.File.WriteAllText(String path, String contents, Encoding encoding)
à Squirrel.UpdateManager.CheckForUpdateImpl.getOrCreateStagedUserId()
2018-01-18 07:50:14> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Impossible de trouver une partie du chemin d’accès ‘C:\Users\TQB\AppData\Local\brave\packages\RELEASES’.
à System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
à System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
à System.IO.FileStream…ctor(String path, FileMode mode, FileAccess access, FileShare share)
à Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
à Squirrel.UpdateManager.CheckForUpdateImpl.d__2.MoveNext()
2018-01-18 07:50:14> CheckForUpdateImpl: Reading RELEASES file from C:\Users\TQB\AppData\Local\SquirrelTemp
2018-01-18 07:50:14> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2018-01-18 07:50:14> ApplyReleasesImpl: Writing files to app directory: C:\Users\TQB\AppData\Local\brave\app-0.19.134
2018-01-18 07:50:14> LogHost: Rigging execution stub for lib/net45/Brave_ExecutionStub.exe to C:\Users\TQB\AppData\Local\brave\Brave.exe
2018-01-18 07:50:17> LogHost: Rigging execution stub for lib/net45/resources/BraveDefaults_ExecutionStub.exe to C:\Users\TQB\AppData\Local\brave\app-0.19.134\BraveDefaults.exe
2018-01-18 07:50:19> LogHost: Can’t write execution stub, probably in use: System.UnauthorizedAccessException: L’accès au chemin d’accès ‘C:\Users\TQB\AppData\Local\brave\app-0.19.134\d3dcompiler_47.dll’ est refusé.

Do you have any other idea? thanks !


#6

Closing the thread as @dolcal confirmed the installation went through successfully.


#7