Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Windows Inno updater stages previous install under %LOCALAPPDATA%\Programs\cursor_bak (~950MB) and often never deletes it. Next update fails with Win32 error 183 (file already exists) after 16 retries on _bak\Cursor.exe. Until _bak is manually deleted, every update fails. Reproduced across many days of logs (Oct 18–23 2026 alone) and earlier for months.
Also: registry DisplayVersion can show 3.27.12 while on-disk Cursor.exe stays 3.26.16. Full UserSetup while Cursor is open fails replacing tools\inno_updater.exe (DeleteFile access denied 5) and aborts.
Steps to Reproduce
- Use Windows Cursor user install (%LOCALAPPDATA%\Programs\cursor).
- Let auto-update run so _bak is created.
- Leave _bak in place (updater often does).
- Trigger another update → %TEMP%\cursor-inno-updater-*.log ends with os error 183.
- Repeat without deleting _bak → infinite failure loop.
Expected Behavior
- Delete or rotate existing _bak before staging a new backup.
- Delete _bak after successful promotion.
- Treat error 183 on _bak as recoverable (remove stale bak + retry), not fatal.
- Keep registry DisplayVersion = product.json = Cursor.exe ProductVersion.
- Do not leave ~1GB orphaned _bak that breaks the next update.
Operating System
Windows 10/11
Version Information
On-disk Cursor.exe / product.json: 3.26.16
Registry Uninstall DisplayVersion: 3.27.12 (desynced)
Update feed offered: 3.27.12
Inno Updater v0.16.0
Install: user-setup under %LOCALAPPDATA%\Programs\cursor
For AI issues: which model did you use?
N/A — installer/updater bug, not an AI model issue
For AI issues: add Request ID with privacy disabled
N/A
Additional Information
Actual log pattern:
INFO Reading directory: “…\cursor_bak”
INFO Get file handle: “…\cursor_bak\Cursor.exe” (attempt 1..16)
ERRO … (os error 183)
Workaround: quit Cursor, delete _bak (~950MB), then update. This should not be required.
Please fix _bak lifecycle in inno_updater. Happy to attach full cursor-inno-updater-*.log set + Setup Log tails.
Tag suggestion: installation
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor