Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update fails and breaks existing install: Rename: "Code.exe" - Access is denied #49648

Closed
scragly opened this issue May 10, 2018 · 1 comment
Closed

Comments

@scragly
Copy link

scragly commented May 10, 2018

  • VSCode Version: < 1.23.1
    (unable to see exact version, as the install was unable to relaunch vscode after failure. I only updated a few days ago though before this so was likely only 1 release before current.)
  • OS Version: Windows 10 Version 1709 (OS Build 16299.431)

Steps to Reproduce:

  1. Allow VSCode to download update
  2. Click restart to apply update in the notification popup in bottom right of VSCode.

Does this issue occur when all extensions are disabled?: Unable to verify

Simply reinstalling VSCode works fine, seemingly no lost preferences, so nothing irreparable has occurred.

May 11 07:16:53.870 INFO Starting: C:\Program Files\Microsoft VS Code\Code.exe, false
May 11 07:16:53.871 INFO Checking for running Code.exe processes... (attempt 1)
May 11 07:16:53.883 INFO Code.exe is running, wait a bit
May 11 07:16:54.384 INFO Checking for running Code.exe processes... (attempt 2)
May 11 07:16:54.394 INFO Code.exe is running, wait a bit
May 11 07:16:54.895 INFO Checking for running Code.exe processes... (attempt 3)
May 11 07:16:54.906 INFO Code.exe is not running
May 11 07:16:54.906 INFO Checking for possible conflicting running processes... (attempt 1)
May 11 07:16:54.917 INFO Inno Updater v0.4.3
May 11 07:16:54.917 INFO Starting update, silent = false
May 11 07:16:54.976 INFO do_update: "C:\\Program Files\\Microsoft VS Code\\Code.exe", _
May 11 07:16:54.976 INFO move_update: "C:\\Program Files\\Microsoft VS Code\\unins000.dat", _
May 11 07:16:54.977 INFO Delete: "api-ms-win-core-console-l1-1-0.dll" (attempt 1)
May 11 07:16:54.977 INFO Delete: "api-ms-win-core-datetime-l1-1-0.dll" (attempt 1)
May 11 07:16:54.978 INFO Delete: "api-ms-win-core-debug-l1-1-0.dll" (attempt 1)
May 11 07:16:54.978 INFO Delete: "api-ms-win-core-errorhandling-l1-1-0.dll" (attempt 1)
May 11 07:16:54.979 INFO Delete: "api-ms-win-core-file-l1-1-0.dll" (attempt 1)
May 11 07:16:54.979 INFO Delete: "api-ms-win-core-file-l1-2-0.dll" (attempt 1)
May 11 07:16:54.979 INFO Delete: "api-ms-win-core-file-l2-1-0.dll" (attempt 1)
May 11 07:16:54.980 INFO Delete: "api-ms-win-core-handle-l1-1-0.dll" (attempt 1)
May 11 07:16:54.980 INFO Delete: "api-ms-win-core-heap-l1-1-0.dll" (attempt 1)
May 11 07:16:54.981 INFO Delete: "api-ms-win-core-interlocked-l1-1-0.dll" (attempt 1)
May 11 07:16:54.981 INFO Delete: "api-ms-win-core-libraryloader-l1-1-0.dll" (attempt 1)
May 11 07:16:54.982 INFO Delete: "api-ms-win-core-localization-l1-2-0.dll" (attempt 1)
May 11 07:16:54.982 INFO Delete: "api-ms-win-core-memory-l1-1-0.dll" (attempt 1)
May 11 07:16:54.982 INFO Delete: "api-ms-win-core-namedpipe-l1-1-0.dll" (attempt 1)
May 11 07:16:54.983 INFO Delete: "api-ms-win-core-processenvironment-l1-1-0.dll" (attempt 1)
May 11 07:16:54.983 INFO Delete: "api-ms-win-core-processthreads-l1-1-0.dll" (attempt 1)
May 11 07:16:54.984 INFO Delete: "api-ms-win-core-processthreads-l1-1-1.dll" (attempt 1)
May 11 07:16:54.984 INFO Delete: "api-ms-win-core-profile-l1-1-0.dll" (attempt 1)
May 11 07:16:54.984 INFO Delete: "api-ms-win-core-rtlsupport-l1-1-0.dll" (attempt 1)
May 11 07:16:54.985 INFO Delete: "api-ms-win-core-string-l1-1-0.dll" (attempt 1)
May 11 07:16:54.985 INFO Delete: "api-ms-win-core-synch-l1-1-0.dll" (attempt 1)
May 11 07:16:54.986 INFO Delete: "api-ms-win-core-synch-l1-2-0.dll" (attempt 1)
May 11 07:16:54.986 INFO Delete: "api-ms-win-core-sysinfo-l1-1-0.dll" (attempt 1)
May 11 07:16:54.987 INFO Delete: "api-ms-win-core-timezone-l1-1-0.dll" (attempt 1)
May 11 07:16:54.987 INFO Delete: "api-ms-win-core-util-l1-1-0.dll" (attempt 1)
May 11 07:16:54.988 INFO Delete: "api-ms-win-crt-conio-l1-1-0.dll" (attempt 1)
May 11 07:16:54.988 INFO Delete: "api-ms-win-crt-convert-l1-1-0.dll" (attempt 1)
May 11 07:16:54.988 INFO Delete: "api-ms-win-crt-environment-l1-1-0.dll" (attempt 1)
May 11 07:16:54.989 INFO Delete: "api-ms-win-crt-filesystem-l1-1-0.dll" (attempt 1)
May 11 07:16:54.989 INFO Delete: "api-ms-win-crt-heap-l1-1-0.dll" (attempt 1)
May 11 07:16:54.990 INFO Delete: "api-ms-win-crt-locale-l1-1-0.dll" (attempt 1)
May 11 07:16:54.990 INFO Delete: "api-ms-win-crt-math-l1-1-0.dll" (attempt 1)
May 11 07:16:54.990 INFO Delete: "api-ms-win-crt-multibyte-l1-1-0.dll" (attempt 1)
May 11 07:16:54.991 INFO Delete: "api-ms-win-crt-private-l1-1-0.dll" (attempt 1)
May 11 07:16:54.992 INFO Delete: "api-ms-win-crt-process-l1-1-0.dll" (attempt 1)
May 11 07:16:54.993 INFO Delete: "api-ms-win-crt-runtime-l1-1-0.dll" (attempt 1)
May 11 07:16:54.993 INFO Delete: "api-ms-win-crt-stdio-l1-1-0.dll" (attempt 1)
May 11 07:16:54.993 INFO Delete: "api-ms-win-crt-string-l1-1-0.dll" (attempt 1)
May 11 07:16:54.994 INFO Delete: "api-ms-win-crt-time-l1-1-0.dll" (attempt 1)
May 11 07:16:54.994 INFO Delete: "api-ms-win-crt-utility-l1-1-0.dll" (attempt 1)
May 11 07:16:54.995 INFO Delete: "bin" (attempt 1)
May 11 07:16:54.996 INFO Delete: "blink_image_resources_200_percent.pak" (attempt 1)
May 11 07:16:54.996 INFO Delete: "Code.exe" (attempt 1)
May 11 07:16:54.999 INFO Delete: "Code.VisualElementsManifest.xml" (attempt 1)
May 11 07:16:55.000 INFO Delete: "CodeSignSummary.md" (attempt 1)
May 11 07:16:55.000 INFO Delete: "content_resources_200_percent.pak" (attempt 1)
May 11 07:16:55.001 INFO Delete: "content_shell.pak" (attempt 1)
May 11 07:16:55.002 INFO Delete: "d3dcompiler_47.dll" (attempt 1)
May 11 07:16:55.002 INFO Delete: "ffmpeg.dll" (attempt 1)
May 11 07:16:55.003 INFO Delete: "icudtl.dat" (attempt 1)
May 11 07:16:55.003 INFO Delete: "libEGL.dll" (attempt 1)
May 11 07:16:55.004 INFO Delete: "libGLESv2.dll" (attempt 1)
May 11 07:16:55.005 INFO Delete: "locales" (attempt 1)
May 11 07:16:55.028 INFO Delete: "msvcp140.dll" (attempt 1)
May 11 07:16:55.028 INFO Delete: "natives_blob.bin" (attempt 1)
May 11 07:16:55.029 INFO Delete: "node.dll" (attempt 1)
May 11 07:16:55.032 INFO Delete: "pdf_viewer_resources.pak" (attempt 1)
May 11 07:16:55.032 INFO Delete: "resources" (attempt 1)
May 11 07:16:57.669 INFO Delete: "snapshot_blob.bin" (attempt 1)
May 11 07:16:57.669 INFO Delete: "ucrtbase.dll" (attempt 1)
May 11 07:16:57.670 INFO Delete: "ui_resources_200_percent.pak" (attempt 1)
May 11 07:16:57.670 INFO Delete: "vcruntime140.dll" (attempt 1)
May 11 07:16:57.671 INFO Delete: "views_resources_200_percent.pak" (attempt 1)
May 11 07:16:57.671 INFO Rename: "api-ms-win-core-console-l1-1-0.dll" (attempt 1)
May 11 07:16:57.672 INFO Rename: "api-ms-win-core-datetime-l1-1-0.dll" (attempt 1)
May 11 07:16:57.673 INFO Rename: "api-ms-win-core-debug-l1-1-0.dll" (attempt 1)
May 11 07:16:57.674 INFO Rename: "api-ms-win-core-errorhandling-l1-1-0.dll" (attempt 1)
May 11 07:16:57.675 INFO Rename: "api-ms-win-core-file-l1-1-0.dll" (attempt 1)
May 11 07:16:57.675 INFO Rename: "api-ms-win-core-file-l1-2-0.dll" (attempt 1)
May 11 07:16:57.676 INFO Rename: "api-ms-win-core-file-l2-1-0.dll" (attempt 1)
May 11 07:16:57.677 INFO Rename: "api-ms-win-core-handle-l1-1-0.dll" (attempt 1)
May 11 07:16:57.678 INFO Rename: "api-ms-win-core-heap-l1-1-0.dll" (attempt 1)
May 11 07:16:57.679 INFO Rename: "api-ms-win-core-interlocked-l1-1-0.dll" (attempt 1)
May 11 07:16:57.680 INFO Rename: "api-ms-win-core-libraryloader-l1-1-0.dll" (attempt 1)
May 11 07:16:57.680 INFO Rename: "api-ms-win-core-localization-l1-2-0.dll" (attempt 1)
May 11 07:16:57.681 INFO Rename: "api-ms-win-core-memory-l1-1-0.dll" (attempt 1)
May 11 07:16:57.682 INFO Rename: "api-ms-win-core-namedpipe-l1-1-0.dll" (attempt 1)
May 11 07:16:57.683 INFO Rename: "api-ms-win-core-processenvironment-l1-1-0.dll" (attempt 1)
May 11 07:16:57.684 INFO Rename: "api-ms-win-core-processthreads-l1-1-0.dll" (attempt 1)
May 11 07:16:57.684 INFO Rename: "api-ms-win-core-processthreads-l1-1-1.dll" (attempt 1)
May 11 07:16:57.685 INFO Rename: "api-ms-win-core-profile-l1-1-0.dll" (attempt 1)
May 11 07:16:57.686 INFO Rename: "api-ms-win-core-rtlsupport-l1-1-0.dll" (attempt 1)
May 11 07:16:57.687 INFO Rename: "api-ms-win-core-string-l1-1-0.dll" (attempt 1)
May 11 07:16:57.687 INFO Rename: "api-ms-win-core-synch-l1-1-0.dll" (attempt 1)
May 11 07:16:57.688 INFO Rename: "api-ms-win-core-synch-l1-2-0.dll" (attempt 1)
May 11 07:16:57.689 INFO Rename: "api-ms-win-core-sysinfo-l1-1-0.dll" (attempt 1)
May 11 07:16:57.690 INFO Rename: "api-ms-win-core-timezone-l1-1-0.dll" (attempt 1)
May 11 07:16:57.690 INFO Rename: "api-ms-win-core-util-l1-1-0.dll" (attempt 1)
May 11 07:16:57.691 INFO Rename: "api-ms-win-crt-conio-l1-1-0.dll" (attempt 1)
May 11 07:16:57.692 INFO Rename: "api-ms-win-crt-convert-l1-1-0.dll" (attempt 1)
May 11 07:16:57.693 INFO Rename: "api-ms-win-crt-environment-l1-1-0.dll" (attempt 1)
May 11 07:16:57.694 INFO Rename: "api-ms-win-crt-filesystem-l1-1-0.dll" (attempt 1)
May 11 07:16:57.694 INFO Rename: "api-ms-win-crt-heap-l1-1-0.dll" (attempt 1)
May 11 07:16:57.695 INFO Rename: "api-ms-win-crt-locale-l1-1-0.dll" (attempt 1)
May 11 07:16:57.696 INFO Rename: "api-ms-win-crt-math-l1-1-0.dll" (attempt 1)
May 11 07:16:57.697 INFO Rename: "api-ms-win-crt-multibyte-l1-1-0.dll" (attempt 1)
May 11 07:16:57.697 INFO Rename: "api-ms-win-crt-private-l1-1-0.dll" (attempt 1)
May 11 07:16:57.698 INFO Rename: "api-ms-win-crt-process-l1-1-0.dll" (attempt 1)
May 11 07:16:57.699 INFO Rename: "api-ms-win-crt-runtime-l1-1-0.dll" (attempt 1)
May 11 07:16:57.700 INFO Rename: "api-ms-win-crt-stdio-l1-1-0.dll" (attempt 1)
May 11 07:16:57.700 INFO Rename: "api-ms-win-crt-string-l1-1-0.dll" (attempt 1)
May 11 07:16:57.701 INFO Rename: "api-ms-win-crt-time-l1-1-0.dll" (attempt 1)
May 11 07:16:57.702 INFO Rename: "api-ms-win-crt-utility-l1-1-0.dll" (attempt 1)
May 11 07:16:57.703 INFO Rename: "bin" (attempt 1)
May 11 07:16:57.703 INFO Rename: "blink_image_resources_200_percent.pak" (attempt 1)
May 11 07:16:57.704 INFO Rename: "Code.exe" (attempt 1)
May 11 07:16:57.755 INFO Rename: "Code.exe" (attempt 2)
May 11 07:16:57.956 INFO Rename: "Code.exe" (attempt 3)
May 11 07:16:58.407 INFO Rename: "Code.exe" (attempt 4)
May 11 07:16:59.209 INFO Rename: "Code.exe" (attempt 5)
May 11 07:17:00.460 INFO Rename: "Code.exe" (attempt 6)
May 11 07:17:02.261 INFO Rename: "Code.exe" (attempt 7)
May 11 07:17:04.712 INFO Rename: "Code.exe" (attempt 8)
May 11 07:17:07.914 INFO Rename: "Code.exe" (attempt 9)
May 11 07:17:11.965 INFO Rename: "Code.exe" (attempt 10)
May 11 07:17:16.966 INFO Rename: "Code.exe" (attempt 11)
May 11 07:17:16.966 ERRO Access is denied. (os error 5)
@scragly
Copy link
Author

scragly commented May 10, 2018

Seems to be essentially the same as #47841
Should have checked properly first, my apologies. Closing Issue.

@scragly scragly closed this as completed May 10, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Jun 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant