{"action":"created","issue":{"url":"https://api.github.com/repos/atom/atom/issues/12667","repository_url":"https://api.github.com/repos/atom/atom","labels_url":"https://api.github.com/repos/atom/atom/issues/12667/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom/issues/12667/comments","events_url":"https://api.github.com/repos/atom/atom/issues/12667/events","html_url":"https://github.com/atom/atom/issues/12667","id":176299828,"number":12667,"title":"Windows installer not setup the shell menu items.","user":{"login":"xpol","id":20248,"avatar_url":"https://avatars.githubusercontent.com/u/20248?v=3","gravatar_id":"","url":"https://api.github.com/users/xpol","html_url":"https://github.com/xpol","followers_url":"https://api.github.com/users/xpol/followers","following_url":"https://api.github.com/users/xpol/following{/other_user}","gists_url":"https://api.github.com/users/xpol/gists{/gist_id}","starred_url":"https://api.github.com/users/xpol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xpol/subscriptions","organizations_url":"https://api.github.com/users/xpol/orgs","repos_url":"https://api.github.com/users/xpol/repos","events_url":"https://api.github.com/users/xpol/events{/privacy}","received_events_url":"https://api.github.com/users/xpol/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/atom/atom/labels/installer","name":"installer","color":"fef2c0"},{"url":"https://api.github.com/repos/atom/atom/labels/windows","name":"windows","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-12T05:57:32Z","updated_at":"2016-09-12T15:43:29Z","closed_at":null,"body":"### Description\r\n\r\nWindows installer **AtomSetup.exe** not setup the shell menu item (Open with Atom).\r\n\r\nThe installer log `SquirrelSetup.log`:\r\n\r\n```\r\n2016-09-12 13:51:11> Program: Starting Squirrel Updater: --install .\r\n2016-09-12 13:51:11> Program: Starting install, writing to C:\\Users\\xxx\\AppData\\Local\\SquirrelTemp\r\n2016-09-12 13:51:11> Program: About to install to: C:\\Users\\xxx\\AppData\\Local\\atom\r\n2016-09-12 13:51:11> Program: Install path C:\\Users\\xxx\\AppData\\Local\\atom already exists, burning it to the ground\r\n2016-09-12 13:51:13> IEnableLogger: Failed to copy Update.exe to C:\\Users\\xxx\\AppData\\Local\\atom\\Update.exe: System.UnauthorizedAccessException: Access to the path 'C:\\Users\\xxx\\AppData\\Local\\atom\\Update.exe' is denied.\r\n   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n   at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)\r\n   at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)\r\n   at Squirrel.Update.Program.<>c__DisplayClass36.<Install>b__2d()\r\n   at Squirrel.Utility.LogIfThrows(IFullLogger This, LogLevel level, String message, Action block)\r\n2016-09-12 13:51:13> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.UnauthorizedAccessException: Access to the path 'C:\\Users\\xxx\\AppData\\Local\\atom\\Update.exe' is denied.\r\n   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n   at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)\r\n   at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)\r\n   at Squirrel.Update.Program.<>c__DisplayClass36.<Install>b__2d()\r\n   at Squirrel.Utility.LogIfThrows(IFullLogger This, LogLevel level, String message, Action block)\r\n   at Squirrel.Utility.ErrorIfThrows(IEnableLogger This, Action block, String message)\r\n   at Squirrel.Update.Program.<Install>d__38.MoveNext()\r\n   --- End of inner exception stack trace ---\r\n   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)\r\n   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)\r\n   at System.Threading.Tasks.Task.Wait()\r\n   at Squirrel.Update.Program.executeCommandLine(String[] args)\r\n   at Squirrel.Update.Program.main(String[] args)\r\n---> (Inner Exception #0) System.UnauthorizedAccessException: Access to the path 'C:\\Users\\xxx\\AppData\\Local\\atom\\Update.exe' is denied.\r\n   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n   at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)\r\n   at System.IO.File.Copy(String sourceFileName, String destFileName, Boolean overwrite)\r\n   at Squirrel.Update.Program.<>c__DisplayClass36.<Install>b__2d()\r\n   at Squirrel.Utility.LogIfThrows(IFullLogger This, LogLevel level, String message, Action block)\r\n   at Squirrel.Utility.ErrorIfThrows(IEnableLogger This, Action block, String message)\r\n   at Squirrel.Update.Program.<Install>d__38.MoveNext()<---\r\n\r\n2016-09-12 13:51:44> Program: Starting Squirrel Updater: --install .\r\n2016-09-12 13:51:44> Program: Starting install, writing to C:\\Users\\xxx\\AppData\\Local\\SquirrelTemp\r\n2016-09-12 13:51:44> Program: About to install to: C:\\Users\\xxx\\AppData\\Local\\atom\r\n2016-09-12 13:51:44> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\\Users\\xxx\\AppData\\Local\\atom\\packages\\RELEASES'.\r\n   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)\r\n   at 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)\r\n   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)\r\n   at Squirrel.Utility.LoadLocalReleases(String localReleaseFile)\r\n   at Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__3f.MoveNext()\r\n2016-09-12 13:51:44> CheckForUpdateImpl: Reading RELEASES file from C:\\Users\\xxx\\AppData\\Local\\SquirrelTemp\r\n2016-09-12 13:51:44> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch\r\n2016-09-12 13:51:45> ApplyReleasesImpl: Writing files to app directory: C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\r\n2016-09-12 13:51:52> ApplyReleasesImpl: Moving file C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\lib\\net45\\content_resources_200_percent.pak to C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\content_resources_200_percent.pak\r\n2016-09-12 13:51:52> ApplyReleasesImpl: Moving file C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\lib\\net45\\d3dcompiler_47.dll to C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\d3dcompiler_47.dll\r\n2016-09-12 13:51:52> ApplyReleasesImpl: Moving file C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\lib\\net45\\content_shell.pak to C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\content_shell.pak\r\n2016-09-12 13:51:52> ApplyReleasesImpl: Moving file C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\lib\\net45\\atom.exe to C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\atom.exe\r\n2016-09-12 13:51:52> ApplyReleasesImpl: Moving file C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\lib\\net45\\ffmpeg.dll to C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\ffmpeg.dll\r\n2016-09-12 13:51:52> ApplyReleasesImpl: Moving file C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\lib\\net45\\icudtl.dat to C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\icudtl.dat\r\n2016-09-12 13:51:52> ApplyReleasesImpl: Moving file C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\lib\\net45\\libEGL.dll to C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\libEGL.dll\r\n2016-09-12 13:51:52> ApplyReleasesImpl: Moving file C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\lib\\net45\\libGLESv2.dll to C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\libGLESv2.dll\r\n2016-09-12 13:51:52> ApplyReleasesImpl: Moving file C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\lib\\net45\\LICENSE to C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\LICENSE\r\n2016-09-12 13:51:52> ApplyReleasesImpl: Moving file C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\lib\\net45\\msvcp120.dll to C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\msvcp120.dll\r\n2016-09-12 13:51:52> ApplyReleasesImpl: Moving file C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\lib\\net45\\msvcr120.dll to C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\msvcr120.dll\r\n2016-09-12 13:51:52> ApplyReleasesImpl: Moving file C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\lib\\net45\\natives_blob.bin to C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\natives_blob.bin\r\n2016-09-12 13:51:52> ApplyReleasesImpl: Moving file C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\lib\\net45\\snapshot_blob.bin to C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\snapshot_blob.bin\r\n2016-09-12 13:51:52> ApplyReleasesImpl: Moving file C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\lib\\net45\\ui_resources_200_percent.pak to C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\ui_resources_200_percent.pak\r\n2016-09-12 13:51:52> ApplyReleasesImpl: Moving file C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\lib\\net45\\vccorlib120.dll to C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\vccorlib120.dll\r\n2016-09-12 13:51:52> ApplyReleasesImpl: Moving file C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\lib\\net45\\node.dll to C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\node.dll\r\n2016-09-12 13:51:52> ApplyReleasesImpl: Moving file C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\lib\\net45\\squirrel.exe to C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\squirrel.exe\r\n2016-09-12 13:51:52> ApplyReleasesImpl: Moving file C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\lib\\net45\\xinput1_3.dll to C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\xinput1_3.dll\r\n2016-09-12 13:51:52> ApplyReleasesImpl: Squirrel Enabled Apps: [C:\\Users\\xxx\\AppData\\Local\\atom\\app-1.10.2\\atom.exe]\r\n2016-09-12 13:51:56> ApplyReleasesImpl: Starting fixPinnedExecutables\r\n2016-09-12 13:51:56> ApplyReleasesImpl: Examining Pin: File Explorer.lnk\r\n2016-09-12 13:51:56> ApplyReleasesImpl: Examining Pin: Google Chrome.lnk\r\n2016-09-12 13:51:56> ApplyReleasesImpl: Examining Pin: SourceTree.lnk\r\n2016-09-12 13:51:56> ApplyReleasesImpl: Examining Pin: Visual Studio 2015.lnk\r\n2016-09-12 13:51:56> ApplyReleasesImpl: Fixing up tray icons\r\n2016-09-12 13:51:56> ApplyReleasesImpl: cleanDeadVersions: for version 1.10.2\r\n2016-09-12 13:51:56> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-1.10.2\r\n```\r\n\r\n### Versions\r\n\r\nAtom    : 1.10.2\r\nElectron: 0.37.8\r\nChrome  : 49.0.2623.75\r\nNode    : 5.10.0\r\n\r\n\r\napm  1.12.5\r\nnpm  3.10.5\r\nnode 4.4.5\r\npython 2.7.12\r\ngit 2.9.2.windows.1\r\nvisual studio 2015\r\n"},"comment":{"url":"https://api.github.com/repos/atom/atom/issues/comments/246390727","html_url":"https://github.com/atom/atom/issues/12667#issuecomment-246390727","issue_url":"https://api.github.com/repos/atom/atom/issues/12667","id":246390727,"user":{"login":"xpol","id":20248,"avatar_url":"https://avatars.githubusercontent.com/u/20248?v=3","gravatar_id":"","url":"https://api.github.com/users/xpol","html_url":"https://github.com/xpol","followers_url":"https://api.github.com/users/xpol/followers","following_url":"https://api.github.com/users/xpol/following{/other_user}","gists_url":"https://api.github.com/users/xpol/gists{/gist_id}","starred_url":"https://api.github.com/users/xpol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xpol/subscriptions","organizations_url":"https://api.github.com/users/xpol/orgs","repos_url":"https://api.github.com/users/xpol/repos","events_url":"https://api.github.com/users/xpol/events{/privacy}","received_events_url":"https://api.github.com/users/xpol/received_events","type":"User","site_admin":false},"created_at":"2016-09-12T15:43:29Z","updated_at":"2016-09-12T15:43:29Z","body":"PS, My OS is Windows 10 RS1."}}
{"actor":{"display_login":"xpol"}}