[Closed] Error when installing brave for Win10 x64


#1

Hello

Win10 destktop, x64, french locale

I used brave for a few month and a few days ago updates stopped working. So I uninstalled it and tried a clean install using the latest version. However, the installer (run with admin rights) does not work, I get the following error messages

2016-08-05 00:08:57> Program: Starting Squirrel Updater: --install .
2016-08-05 00:08:57> Program: Starting install, writing to C:\Users\User\AppData\Local\SquirrelTemp
2016-08-05 00:08:57> Program: About to install to: C:\Users\User\AppData\Local\brave
2016-08-05 00:08:57> 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\User\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()
2016-08-05 00:08:57> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Impossible de trouver une partie du chemin d’accès ‘C:\Users\User\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()
2016-08-05 00:08:57> CheckForUpdateImpl: Reading RELEASES file from C:\Users\User\AppData\Local\SquirrelTemp
2016-08-05 00:08:57> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2016-08-05 00:08:57> ApplyReleasesImpl: Writing files to app directory: C:\Users\User\AppData\Local\brave\app-0.11.2
2016-08-05 00:09:00> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\Users\User\AppData\Local\brave\app-0.11.2\Brave.exe]
2016-08-05 00:09:09> ApplyReleasesImpl: Starting fixPinnedExecutables
2016-08-05 00:09:09> ApplyReleasesImpl: Examining Pin: File Explorer.lnk
2016-08-05 00:09:09> ApplyReleasesImpl: Examining Pin: Internet Explorer.lnk
2016-08-05 00:09:09> ApplyReleasesImpl: Examining Pin: Microsoft Office Excel 2007.lnk
2016-08-05 00:09:09> ApplyReleasesImpl: Examining Pin: Microsoft Office Word 2007.lnk
2016-08-05 00:09:09> ApplyReleasesImpl: Examining Pin: Snipping Tool.lnk
2016-08-05 00:09:09> ApplyReleasesImpl: File ‘C:\Users\User\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\Snipping Tool.lnk’ could not be converted into a valid ShellLink: System.IO.FileNotFoundException: Le fichier spécifié est introuvable. (Exception de HRESULT : 0x80070002)
à Squirrel.Shell.ShellLink.IShellLinkW.Resolve(IntPtr hWnd, UInt32 fFlags)
à Squirrel.Shell.ShellLink.Open(String linkFile, IntPtr hWnd, EShellLinkResolveFlags resolveFlags, UInt16 timeOut)
à Squirrel.UpdateManager.ApplyReleasesImpl.b__11_0(FileInfo file)
2016-08-05 00:09:09> ApplyReleasesImpl: Fixing up tray icons
2016-08-05 00:09:09> ApplyReleasesImpl: cleanDeadVersions: for version 0.11.2
2016-08-05 00:09:09> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-0.11.2
2016-08-05 00:18:15> Program: Starting Squirrel Updater: --install .
2016-08-05 00:18:15> Program: Starting install, writing to C:\Users\User\AppData\Local\SquirrelTemp
2016-08-05 00:18:15> Program: About to install to: C:\Users\User\AppData\Local\brave
2016-08-05 00:18:15> Program: Install path C:\Users\User\AppData\Local\brave already exists, burning it to the ground
2016-08-05 00:18:15> IEnableLogger: : System.ComponentModel.Win32Exception (0x80004005): Accès refusé


#2

As an additional test, I tried to install 32 bit version : same error message


#3

Are you sure the log is not months ago?


#4

Thanks for the answer, but :

  • The log is the one that opens when I click “Open Setup log” as the installer fails to run

  • I use french date format (part of the french locale), though neither 5 august nor 8 may is the correct time

  • For Windows, my current datetime is OK (currently december 17th, 20:23 am which is fine considering I am CET timezone)


#5

Hi

Did someone else encounter this problem ?


#6

Mine is similar, IMHO. Hope my link below works:


#7

Found a solution

-> Turn antivirus Off
-> Install
-> Turn it back On

So my AV sucks. I use 360 Total Security


#8

There is another report here: https://github.com/brave/browser-laptop/issues/924#issuecomment-232700721

Thanks for your report.


#9

I opened a ticket on GitHub on this issue:

Thanks


#10