Bug: Windows installer creates broken Start menu shortcut (wrong exe name + missing icon) — app silently fails to launch
Bug: Windows installer creates broken Start menu shortcut — silent launch failure
Summary
The Windows installer (Agent.Orchestrator.Setup.0.10.2.exe) creates a Start menu shortcut pointing to Agent Orchestrator.exe (with spaces), but the actual installed binary is agent-orchestrator.exe (lowercase, hyphenated). This causes silent launch failure — clicking the Start menu icon does nothing, no error, no window.
Additionally, the shortcut has no IconLocation set, so the Start menu shows a generic Windows document icon instead of the AO robot icon (even though the exe has the icon embedded correctly).
Environment
- OS: Windows 11
- AO Version: v0.10.2
- Installer:
Agent.Orchestrator.Setup.0.10.2.exe
Reproduction Steps
- Download and run
Agent.Orchestrator.Setup.0.10.2.exeon Windows - Complete installation
- Click "Agent Orchestrator" from the Start menu
- Nothing happens — no window, no error, no process
Root Cause
1. Filename mismatch in shortcut:
- Shortcut
TargetPath:...\Agent Orchestrator\Agent Orchestrator.exe❌ (does not exist) - Actual binary:
...\Agent Orchestrator\agent-orchestrator.exe✅
2. Missing icon:
- Shortcut
IconLocationis empty - The actual
agent-orchestrator.exehas the icon embedded correctly
Evidence
Confirmed by user Deepak Modi on Discord:
PS> $resolved = (New-Object -ComObject WScript.Shell).CreateShortcut("...\Agent Orchestrator.lnk").TargetPath
C:\Users\deepa\AppData\Local\Programs\Agent Orchestrator\Agent Orchestrator.exe
PS> & "...\Agent Orchestrator.exe"
# Error: not recognized
PS> Get-ChildItem "$env:LOCALAPPDATA\Programs\Agent Orchestrator"
# Shows: agent-orchestrator.exe (not "Agent Orchestrator.exe")
Workaround (for affected users)
$ws = New-Object -ComObject WScript.Shell
$lnk = $ws.CreateShortcut("$env:APPDATA\Microsoft\Windows\Start Menu\Programs\Agent Orchestrator.lnk")
$lnk.TargetPath = "$env:LOCALAPPDATA\Programs\Agent Orchestrator\agent-orchestrator.exe"
$lnk.IconLocation = "$env:LOCALAPPDATA\Programs\Agent Orchestrator\agent-orchestrator.exe,0"
$lnk.Save()
taskkill /f /im explorer.exe
Remove-Item "$env:LOCALAPPDATA\IconCache.db" -Force -ErrorAction SilentlyContinue
Remove-Item "$env:LOCALAPPDATA\Microsoft\Windows\Explorer\iconcache*" -Force -ErrorAction SilentlyContinue
Start-Process explorer.exe
Suggested Fix
The Electron Forge / electron-builder config should ensure:
- The shortcut
TargetPathmatches the actual binary name (agent-orchestrator.exe, notAgent Orchestrator.exe) - The shortcut
IconLocationis explicitly set
Affects every Windows user on a fresh install of v0.10.2.
Reported by: Deepak Modi (@deepakmodidev)
Hey maintainers 👋 — I'd like to pick this up and fix it. Can someone assign this issue to me (@deepakmodidev)? I have a Windows machine to test the installer fix.
cc @harshitsinghbhandari
@deepakmodidev is working on this