Summary
When Antigravity IDE is installed to a custom directory on Windows (e.g., D:\Program Files\Antigravity IDE), both the in-app auto-updater (vscode-inno-updater) and the standalone .exe installer’s post-install launch step still look for the executable in the hardcoded default path (C:\Users\<username>\AppData\Local\Programs\Antigravity IDE\Antigravity IDE.exe), causing updates and post-install launches to fail.
Environment
- OS: Windows 11
- App Version: latest
- Custom Install Path:
D:\Program Files\Antigravity IDE
Steps to Reproduce
- Run the official Windows
.exeinstaller and choose a custom installation directory (e.g.,D:\Program Files\Antigravity IDE). - Ensure no leftover files exist under
C:\Users\<username>\AppData\Local\Programs\Antigravity IDE(also cleaned up old C: drive entries fromPATHand theHKCU\...\Uninstall\{...}_is1registry key). - Trigger either of the following:
- Case A (Auto-Update): Inside Antigravity IDE, click Restart to Update.
- Case B (Fresh / Overwrite Install): Complete the
.exeinstaller wizard toD:\Program Files\Antigravity IDEwith the launch option enabled.
Actual Behavior
- Case A (Auto-Update): Fails with a dialog: “Failed to install Visual Studio Code update. Updates may fail due to anti-virus software and/or runaway processes.”
- Case B (Installer Finish): Fails with:
Unable to execute file:
C:\Users\<username>\AppData\Local\Programs\Antigravity IDE\Antigravity IDE.exe
CreateProcess failed; code 2. The system cannot find the file specified.
Relevant Updater Log (vscode-inno-updater-*.log)
Nov 24 03:44:50.160 INFO Starting: C:\Users\<username>\AppData\Local\Programs\Antigravity IDE\Antigravity IDE.exe, false, æ£åœ¨æ›´æ–° Antigravity...
Nov 24 03:44:50.160 ERRO Bad arguments: Code path doesn't seem to exist: C:\Users\<username>\AppData\Local\Programs\Antigravity IDE\Antigravity IDE.exe
