Can't update properly

Open
#323,261 1 comment 0 reactions 2 assignees View on GitHub

@deepak1556 is already working on this.

Since Jun 27, 2026.

Assessment

This issue has not been assessed yet.

Description

bug install-update windows

Type: Bug

I encountered this problem while upgrading from Code v.1.123.0 to 1.126.0.
Specifically, it seems that the update program didn't properly rename new_Code.exe to Code.exe. After the update is complete, it will prompt 'Code.exe not found'.

I opened the installation directory of Code and found that both old_Code.exe and new_Code.exe were there.

When I renamed new_Code.exe to Code.exe and new_Code.VisualElementsManifest to Code.VisualElementsManifest, it successfully updated.

VS Code version: Code 1.126.0 (7e7950df89d055b5a378379db9ee14290772148a, 2026-06-23T01:46:13Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info
Item Value
CPUs 12th Gen Intel(R) Core(TM) i5-12490F (12 x 2995)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x10de, DEVICE=0x1f08 [NVIDIA GeForce RTX 2060], DRIVER_VENDOR=NVIDIA, DRIVER_VERSION=32.0.16.1047 ACTIVE
GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.19041.5794
Machine model name:
Machine model version:
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 15.82GB (7.70GB free)
Process Argv --crash-reporter-id a8a92fb9-f83d-49dc-8601-387b9b072f8d
Screen Reader no
VM 0%
Extensions (14)
Name Identifier Author Version
Code Runner formulahendry.code-runner formulahendry 0.12.2
GitHub 拉取请求 github.vscode-pull-request-github GitHub 0.153.2026062604
Rainbow CSV mechatroner.rainbow-csv mechatroner 3.24.1
gettext mrorz.language-gettext mrorz 0.5.0
Japanese Language Pack for Visual Studio Code ms-ceintl.vscode-language-pack-ja MS-CEINTL 1.126.2026062701
Chinese (Simplified) (简体中文) Language Pack for Visual Studio Code ms-ceintl.vscode-language-pack-zh-hans MS-CEINTL 1.126.2026062702
CMake Tools ms-vscode.cmake-tools ms-vscode 1.23.52
C/C++ DevTools ms-vscode.cpp-devtools ms-vscode 0.5.13
C/C++ ms-vscode.cpptools ms-vscode 1.32.2
C/C++ Extension Pack ms-vscode.cpptools-extension-pack ms-vscode 1.5.1
十六进制编辑器 ms-vscode.hexeditor ms-vscode 1.11.1
PowerShell ms-vscode.powershell ms-vscode 2025.4.0
GDScript File Support nthnn.gdscript-vsce nthnn 0.0.1
Markdown 增强预览 shd101wyy.markdown-preview-enhanced shd101wyy 0.8.30
A/B Experiments
vsliv368cf:30146710
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
6abeh943:31336334
envsdeactivate2:31538737
cloudbuttont:31379625
3efgi100_wstrepl:31403338
bj468946:31457056
ec5jj548:31422691
cp_cls_t_966_ss:31526232
4je02754:31466945
8hhj4413:31478653
38bie571_auto:31426784
cp_cls_c_1081:31454833
conptydll_true:31498968
ia-use-proxy-models-svc:31452481
e9c30283:31461165
test_treatment2:31471001
c9b86496:31447327
idci7584:31464702
e3e4d672:31494082
ei9d7968:31496641
chat:31457767
8hig5102:31480529
89g7j272:31518289
7e187181:31503455
i2gc6536:31499202
52612955:31516516
ghj88844:31499326
h08i8180_copy:31475368
ec1eg703:31520046
ddid_t:31478206
hmra_i5g22:31518061
7df3h592:31512476
cp_cls_t_1082:31535311
logging_enabled_new:31498466
db5d2638:31499441
nes-extended-cfe-himalia-004:31500446
jb_cp_cls_t_632:31537244
56dj4588:31512888
32d76977:31512328
ha629193:31508444
cdk-lw-on:31524445
2cfga817_c:31522397
a1ije391_t:31540920
8hfba999:31537718
jbcp_cls_pctr_t:31531130
61138546:31518536
cp_intellij_t_nes:31533504
d7b18187:31526828
nes-curr-leftover-1500:31538366
h561g132:31533256
sessions_3:31532893
52ge9494:31538318
ihg5j128:31534457

Dominant language
TypeScript
Stars
193k
Forks
42.9k
PR merge metrics
PR metrics pending

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/vscode

All issues in microsoft/vscode

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.