Installation and packaging
This document covers the Windows 11 x64 build: the installer, the tray application, and the
packaging pipeline that produces them. There is no equivalent graphical build for macOS or Linux;
those platforms install the CLI and the headless agentnotifyd broker instead, described in
INSTALLATION_UNIX.md.
End-user installation
Run AgentNotifySetup.exe. Setup is per-user and does not require administrator rights for the default location.
Default install directory:
%LOCALAPPDATA%\Programs\AgentNotify
Installed files:
AgentNotify.Tray.exe
agentnotify.exe
GettingStarted.html
SKILL.md
LICENSE.txt
THIRD_PARTY_NOTICES.txt
uninstall.ps1
Setup adds the install directory to the current user’s PATH, creates Start menu shortcuts, optionally creates a desktop shortcut, and registers:
HKCU\Software\Microsoft\Windows\CurrentVersion\Run\AgentNotify
HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\AgentNotify
The default finish actions launch the tray app and open GettingStarted.html in the default browser. The page works offline and embeds the full skill text for its Copy and Download buttons.
For managed deployment and verification, setup supports a license-gated silent mode:
AgentNotifySetup.exe --silent --accept-license --install-dir "D:\Apps\AgentNotify" --no-startup
--accept-license is mandatory with --silent. Optional switches are --no-startup and --desktop-shortcut. Silent mode does not launch the app or browser guide.
Uninstall
Use Windows Settings → Apps → Installed apps → AgentNotify → Uninstall. The uninstall script removes known application files, shortcuts, startup registration, uninstall registration, and the user PATH entry. Unknown files in the install directory are not intentionally deleted.
Runtime data under %LOCALAPPDATA%\AgentNotify is preserved. Delete that directory manually only when the user intentionally wants to remove the token, configuration, history, generated guide, and logs.
Build from WSL
Use a Windows .NET 10 SDK. The current workspace uses:
/mnt/d/dev/dotnet/dotnet.exe
Build and test:
cd /path/to/agent-notify
./scripts/build.sh
./scripts/test.sh
Package:
./scripts/package.sh
The packaging pipeline publishes three x64 self-contained single-file executables. The tray and CLI binaries become embedded resources in setup; only this file needs distribution:
artifacts/AgentNotifySetup.exe
Release checklist
- Update version metadata in
Directory.Build.propsand setup registration. - Run
./scripts/build.shand require zero errors/warnings. - Run
./scripts/test.shand record the exact total. - Validate
distribution/agentnotifywith the skill validator. - Run
./scripts/package.shfrom a clean artifact directory. - Inspect version/company/product metadata on all three binaries.
- Launch the packaged tray app and exercise health, create, list, dedup, resolve, and second-instance behavior.
- Launch setup and inspect layout/license text on standard and high-DPI Windows displays.
- Install into a clean Windows user profile; verify PATH, startup, Start menu, browser guide, skill actions, and uninstall.
- Authenticode-sign the installer and embedded binaries for a public release, then verify signatures and timestamping.
- Publish checksums alongside the signed installer.
Signing
Assembly publisher metadata does not establish a trusted Windows publisher. Public distribution should sign AgentNotify.Tray.exe, agentnotify.exe, and the final AgentNotifySetup.exe using a certificate issued to Kabani Tech Private Limited. Signing must occur in the packaging sequence so the setup resource contains the signed payloads, and the final installer must then be signed last.
The artifact created in this development workspace is unsigned.