atom-windows-context-menu icon indicating copy to clipboard operation
atom-windows-context-menu copied to clipboard

Edit Registry as Administrator

Open Zren opened this issue 11 years ago • 2 comments

Both #1 and #2 occurred when the user didn't launch Atom as an admin. We need to either:

  • Elevate permissions. This requires running a separate process & another script. Could probably make a bin/install.js and launch it with nodePath/node path/install.js atomLaunchPath.
  • Detect when not an admin, and tell the user to run as admin next time. We should also not update the lastLaunchPath on a failed install.

Zren avatar Jul 27 '14 01:07 Zren

:+1: for elevating permissions yourself. Have a look at node-windows for that. Seems to undergo some major refactoring right now, but if it does the job...

raphinesse avatar Sep 12 '14 13:09 raphinesse

I've the same problem as #1 but running as Administrator also does not work.

Windows 8.1 x64, Atom 0.204.0

Default install path is: C:\Users\myuser_000\AppData\Local\atom\app-0.204.0\atom.exe

dnauck avatar May 29 '15 09:05 dnauck