Skip to content

feat(agent): auto launch desktop app on install#1677

Merged
thenextman merged 1 commit intomasterfrom
agent-auto-launch-desktop-app
Feb 13, 2026
Merged

feat(agent): auto launch desktop app on install#1677
thenextman merged 1 commit intomasterfrom
agent-auto-launch-desktop-app

Conversation

@thenextman
Copy link
Member

The installer registers the Agent desktop companion app to launch at login for all users.

This PR automatically launches the app in the current user session at install time, so they don't need to log out and back in to see it.

Other logged in users will need to log out. This feels like a good compromise versus launching the application in all user sessions (much more complex).

No action is taken on silent installs. This is only for full or basic UI.

@thenextman thenextman requested a review from Copilot February 13, 2026 18:19
@github-actions
Copy link

Let maintainers know that an action is required on their side

  • Add the label release-required Please cut a new release (Devolutions Gateway, Devolutions Agent, Jetsocat, PowerShell module) when you request a maintainer to cut a new release (Devolutions Gateway, Devolutions Agent, Jetsocat, PowerShell module)

  • Add the label release-blocker Follow-up is required before cutting a new release if a follow-up is required before cutting a new release

  • Add the label publish-required Please publish libraries (`Devolutions.Gateway.Utils`, OpenAPI clients, etc) when you request a maintainer to publish libraries (Devolutions.Gateway.Utils, OpenAPI clients, etc.)

  • Add the label publish-blocker Follow-up is required before publishing libraries if a follow-up is required before publishing libraries

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Windows Agent MSI (WixSharp) to automatically launch the Desktop companion app for the currently installing user immediately after a non-silent first-time install, avoiding the need to log out/in to get the tray app running.

Changes:

  • Introduces a shared constant for the Desktop subfolder name (desktop) in installer resources.
  • Schedules a new custom action to launch DevolutionsDesktopAgent.exe after InstallFinalize for interactive installs only.
  • Updates the installer directory layout definition to use the new desktop directory constant.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
package/AgentWindowsManaged/Resources/Includes.cs Adds a constant for the Desktop subdirectory name.
package/AgentWindowsManaged/Program.cs Uses the new Desktop directory constant in the install tree definition.
package/AgentWindowsManaged/Actions/CustomActions.cs Adds LaunchDesktopApp custom action to start the Desktop app post-install.
package/AgentWindowsManaged/Actions/AgentActions.cs Schedules LaunchDesktopApp after InstallFinalize for interactive first installs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@thenextman thenextman force-pushed the agent-auto-launch-desktop-app branch from ca37337 to ca45b1b Compare February 13, 2026 18:29
@thenextman thenextman marked this pull request as ready for review February 13, 2026 18:34
@thenextman thenextman enabled auto-merge (rebase) February 13, 2026 18:34
@thenextman thenextman merged commit aad097b into master Feb 13, 2026
40 checks passed
@thenextman thenextman deleted the agent-auto-launch-desktop-app branch February 13, 2026 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants