Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
The Windows updater deletes the existing install, then fails to delete resources with Access is denied. (os error 5). Same failure on three consecutive updates (13 Aug, 15 Aug, 19 Aug 2026).
Latest update (3.16.17 → 3.16.29) still hit it. Cursor did eventually launch after this latest one, but the inno_updater log ends at the error, and a leftover CodeSetup-stable-3.16.29.exe (~194 MB) remains in %TEMP%.
Custom install path: D:\Software\Cursor\cursor (user setup, not %LOCALAPPDATA%\Programs\cursor).
Related:
Steps to Reproduce
- Run Cursor on Windows from a custom install path
- Leave it running (agent loops / terminals / MCP)
- Allow auto-update to download in the background
- Quit so the staged Inno updater applies (do_update: …Cursor.exe, _)
- Updater waits for Cursor.exe, deletes files, then fails on resources
Expected Behavior
Do not delete the working install until the new files are in place. If resources is locked (node.exe / rg.exe / MCP children), abort and roll back.
Operating System
Windows 10/11
Version Information
Version: 3.16.29 (user setup)
VS Code: 1.128.0
Commit: 6246455961129c32969845e00aa25d87ae926ec0
Install: D:\Software\Cursor\cursor
Channel: win32-x64-user / stable
Inno Updater v0.14.0
Additional Information
main.log (3.16.17 session, local time UTC+3):
2026-08-19 04:58:18.717 [info] update#setState checking for updates
2026-08-19 11:15:31.373 [info] update#setState downloading
2026-08-19 11:16:19.761 [info] update#setState downloaded
2026-08-19 11:16:20.504 [info] update#setState updating
2026-08-19 11:21:23.502 [info] update#setState ready
2026-08-19 11:39:33.182 [info] update#recheckOutdatedUpdateOnResume
cursor-inno-updater-1787142724.log (19 Aug, timestamps UTC):
Aug 19 12:32:04.677 INFO Starting: D:\Software\Cursor\cursor\Cursor.exe, true, Updating Cursor…
Aug 19 12:32:04.692 INFO Cursor.exe is running, wait a bit
… (14 wait attempts) …
Aug 19 12:32:11.501 INFO Cursor.exe is not running
Aug 19 12:32:11.521 INFO Inno Updater v0.14.0
Aug 19 12:32:11.549 INFO do_update: “D:\Software\Cursor\cursor\Cursor.exe”, _
Aug 19 12:32:20.358 INFO All files deleted
Aug 19 12:32:20.359 INFO Delete directory recursively: “…\resources” (attempt 1)
…
Aug 19 12:32:41.625 INFO Delete directory recursively: “…\resources” (attempt 11)
Aug 19 12:32:48.640 ERRO Access is denied. (os error 5)
Same error in:
%TEMP%\cursor-inno-updater-1786629358.log (13 Aug)
%TEMP%\cursor-inno-updater-1786785294.log (15 Aug)
Workaround already applied:
update.mode = manual
update.enableWindowsBackgroundUpdates = false
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor