client icon indicating copy to clipboard operation
client copied to clipboard

Error installing on windows

Open nicstrong opened this issue 10 years ago • 7 comments

Running the lastest installer i get the following error:

capture

Have tried removing the existing install. Still the same problem. Logs attached.

Keybase_20160902155720_000_KeybasePrograms.log.txt Keybase_20160902155720.log.txt

nicstrong avatar Sep 02 '16 03:09 nicstrong

Cc: @zanderz

maxtaco avatar Sep 02 '16 13:09 maxtaco

This is an interesting case where stopping the running programs failed (taskkill /F /IM kbfsdokan.exe). What version is currently installed? It doesn't seem like removing made any difference. Maybe there is still some older version running under that? After uninstalling from the control panel, use task manager or the taskkill command to make sure kbfsdokan.exe and all instances of keybase.exe are stopped, then run the newer installer.

zanderz avatar Sep 02 '16 17:09 zanderz

I cannot see the kbfsdokan.exe running in process explorer (taskkill returned not found).

The directory C:\Users\nics\AppData\Roaming\Keybase folder is empty. There was originally an folder called guicache or something similar which i removed. I can create an delete files without any errors in that folder.

I can't tell which version I had installed as I removed it manually from Add/Remove programs when I had the original install error. It was from the previous version to the version released last week??

nicstrong avatar Sep 06 '16 05:09 nicstrong

oh, maybe that wasn't it, then. The only other thing I can think of is that the %appdata%\Keybase directory was created with different permissions by a previous installation - what if you delete it first? Otherwise I'm not sure what to try, most installs write to that location no problem. Is this a corporate machine with some group policy in effect?

zanderz avatar Sep 06 '16 20:09 zanderz

Did some digging further on this, it was strange as I could write files to the folder but not copy exes. I spoke to my admin and it turns out he applied blocking rules through our anti-virus since I last installed since some people got hit by cryptolocker. If you look at this link the recommend blocking appdata/roaming for *.exe.

Is there any reason it is using AppData\Roaming and not AppData\Local as in many corporates with roaming profile this also gets sync'ed across machines? AppData\Local is also usually open as well (it is used by Click Once deployments).

nicstrong avatar Sep 07 '16 04:09 nicstrong

Not really, only that I worked at BitTorrent previously, and figured that if %APPDATA% is good enough for a billion uTorrent/BitTorrent installations, it would be good enough for us. But times change, and if everyone is locking down %appdata% maybe we should switch.

zanderz avatar Sep 07 '16 17:09 zanderz

%APPDATA_LOCAL% seem more appropriate in this case, as it avoids it being synced with roaming profiles which would cause issues I am guessing (different versions across machines). Anyway, another colleague had a similar issue with Spotify installer, he got around it using NTFS links i'll try something similar. Close the issue if you want.

nicstrong avatar Sep 08 '16 00:09 nicstrong