You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Fix: NSIS installer "Error opening file for writing" on node.exe
2
+
3
+
## Problem
4
+
Windows NSIS installer fails with "Error opening file for writing: C:\Users\AB\AppData\Local\agent-workspace\resources\backend\node\node.exe" when reinstalling after uninstall.
5
+
6
+
## Root Cause
7
+
The bundled node.exe (backend server) is still running as an orphaned process after app close/uninstall, holding a file lock. The installer can't overwrite a locked file.
8
+
9
+
## Solution
10
+
Add NSIS preinstall hook that kills node.exe and Agent Workspace.exe before file extraction.
0 commit comments