Install flags: --install, --install-user, --uninstall

On Windows the downloaded tyoreach.exe is its own installer. Run it with no arguments and it offers to install itself; run it with one of the flags below to script that step — useful for IT deploying to several machines. On Linux and macOS these flags are accepted but do nothing: install with the APT/RPM packages or the DMG / App Store build instead.

What each flag does

FlagInstalls toNeeds admin?
tyoreach.exe --install-user%LOCALAPPDATA%\TYO Lab\TYO Reach\tyoreach.exeNo
tyoreach.exe --installC:\Program Files\TYO Lab\TYO Reach\tyoreach.exeYes — prompts for elevation (UAC) if you're not already elevated
tyoreach.exe --uninstallremoves the Program Files installYes — prompts for elevation

Both install variants do the same things:

  1. Stop any running tyoreach.exe (best effort — endpoint protection may block this, which isn't fatal).
  2. Copy the executable into the install folder.
  3. Create Start Menu and Desktop shortcuts named TYO Reach.
  4. Add a TYO Reach entry under HKCU\Software\Microsoft\Windows\CurrentVersion\Run, so the tray starts at your next login.
  5. Start the app from its new location and show a confirmation dialog.

The executable is not added to PATH; for the CLI use the full path shown above.

Uninstalling

--uninstall targets the Program Files install. It stops the app, deletes the Run autostart entry and both shortcuts, then schedules the folder for deletion a couple of seconds after the process exits (Windows can't delete a running executable).

For a per-user install there is no flag: close TYO Reach from the tray, delete %LOCALAPPDATA%\TYO Lab\TYO Reach, and remove the TYO Reach value from HKCU\…\CurrentVersion\Run (Task Manager → Startup apps also works). Your sign-in and settings live separately and survive a reinstall.

Silent / scripted deployment

There's no /S-style silent switch: each variant ends with an information dialog and --install will raise a UAC prompt when run from a non-elevated shell. For an unattended rollout run --install from an already-elevated context (an RMM agent, an elevated scheduled task, or psexec -s), and expect the final dialog to appear on the user's desktop.

Common questions

Does --install add Reach to PATH?

No. Nothing in the install touches PATH; use the full executable path for CLI commands.

Will the autostart entry run for every user on the machine?

No. Even --install (Program Files) writes the autostart value under HKCU for the user who ran it, and the shortcuts go into that user's Start Menu and Desktop. There is no machine-wide (HKLM) autostart, so each additional user runs tyoreach.exe --install-user once under their own account.

How do I update an installed copy?

Run the new tyoreach.exe with the same flag you installed with; it overwrites the binary in place. The tray also checks for updates itself and offers to install them.