Commit Graph

145 Commits

Author SHA1 Message Date
Robo 9300eb847e chore: remove sub app deprecation components (#315064) 2026-05-09 02:11:30 +00:00
Robo f645d405cb refactor: remove sub application support (#314409)
* refactor: remove sub application support

* chore: remove OS entries

* chore: update additional shortcut location on windows

* chore: show one time deprecation banner

* remove other indirect instances of embedded app

---------

Co-authored-by: Sandeep Somavarapu <sasomava@microsoft.com>
2026-05-07 01:15:58 -07:00
Dmitriy Vasyura c2a42605f7 Terminate COM surrogate process before update/gc (#313791)
---------

Co-authored-by: Copilot <copilot@github.com>
2026-05-06 15:42:18 -07:00
Robo 0999c0e18e fix: update OS display name of the agents app (#308992)
* fix: update OS display name of the agents app

* fix: remove old start menu shortcut

* temp: bump gulp-electron for validation

* temp: bump gulp-electron

* chore: update sign.ts

* fix: entitlements for embedded app helpers

* fix: launch services registration

* chore: bump gulp-electron@1.41.2
2026-04-10 21:27:49 +00:00
Robo 47add6dfa5 feat(windows): use crossAppIPC to coordinate update ownership between apps (#307675)
* feat: use crossAppIPC to coordinate update ownership between apps

Introduce CrossAppUpdateCoordinator that uses Electron's crossAppIPC
module to ensure only one update client runs at a time. Whichever app
(VS Code or Agents) launches first becomes the IPC server and owns the
update client. The second app becomes the IPC client, suspends its local
update service, and proxies all update operations to the server.

When the server app quits, the client detects the disconnect, resumes
its local update service, and takes over update ownership. Both apps
show synchronized update UI at all times. "Restart to Update" signals
the peer to quit before applying the update.

- Add crossAppIPC type definitions for custom Electron build
- Add CrossAppUpdateCoordinator (symmetric, role-based coordination)
- Add suspend()/resume() to AbstractUpdateService
- Simplify Agents update UI to use direct update actions

* chore: use temp build

* fix: address review feedback for cross-app update coordination

- Dynamically register/dispose the local state change listener instead
  of filtering by mode, avoids unnecessary event handling
  while in client mode
- Clarify that suspend() blocks all update checks (automatic and manual)
  since the coordinator proxies everything to the server in client mode
- Replace fire-and-forget quit with a proper handshake protocol:
  server sends PrepareForQuit, client responds with QuitConfirmed or
  QuitVetoed, server only proceeds with quitAndInstall on confirmation.
  This prevents one side from quitting while the other's quit is vetoed.

* temp: update build

* fix: disable the crossapp coordinator for stable

* fix: don't restart ipc for client disconnection over quit request

* fix: use proxy exe mutex to detect and relaunch app

* temp: workaround for reconnect on macOS

* chore: move noisy updating state to trace level

* fix: compile error on windows

* fix: ready mutex when running as embedded app

* fix: don't open host app when proxy app is the only client

* chore: only enable cross app updater on windows

macOS needs additional work in the squirrel client.

* chore: revert to upstream electron

* fix: compile error

* fix: lazy resolve custom module
2026-04-10 20:25:41 +09:00
Robo d597a37462 fix: agent app cleanup post update on windows (#307387)
* fix: agent app cleanup post update on windows

* chore: bump inno_updater
2026-04-02 15:56:48 +02:00
Robo 31ed44d62d fix: support protocol handling for sessions app on windows (#303398)
* fix: support protocol handling for sessions app on windows

* chore: always use HKCU for protocol registration
2026-03-20 08:33:22 +00:00
Robo 20a1637cef fix: repair folder context menu when only legacy file context menu is present (#300752)
* fix: repair folder context menu when only legacy file context menu is present

* chore: restore folder menu in installer wizard
2026-03-13 21:36:52 +09:00
Robo 192a1b2478 chore: sessions entry app for windows (#297589)
* chore: enable sub app entrypoint on windows

* chore: update window icons

* chore: update gulp-electron

* chore: bump inno_updater

* chore: cleanup

* fix: inno compilation for stable

* chore: bump distro

* chore: bump distro
2026-02-25 23:08:43 +00:00
Robo 1e6c7290e3 fix: remove appx when windows10 context menu is forced (#295187) 2026-02-13 15:47:09 +00:00
Dmitriy Vasyura e44773ccce Show installation progress in update status bar entry on Windows (#292970) 2026-02-12 03:17:41 -08:00
Robo 71e1f05e3e fix: restore context menu for explicit win10 mode (#294661) 2026-02-11 20:11:55 +00:00
Dmitriy Vasyura e60eb8c3b1 Fix double update issue on Windows (#292746) 2026-02-10 12:32:55 +00:00
Dmitriy Vasyura 58f24e2fa2 Remove extra parentheses from ShouldUpdateShortcut checks in code.iss (#293385) 2026-02-06 14:33:13 +01:00
Dmitriy Vasyura d872b794fb Avoid overwriting shortcuts during background update if they already exist (#293366) 2026-02-06 11:50:22 +01:00
Robo a3b2a31e23 fix: launching application after install on windows (#292864)
* fix: launching application after install on windows

* chore: rely on setup to create the mutex
2026-02-05 23:55:42 +09:00
Dmitriy Vasyura e6fdfd7d0e Update icons for ipynb and code-workspace file associations on Windows (#293037) 2026-02-05 18:54:49 +09:00
Dmitriy Vasyura de9c5a99a8 Register App Path for VS Code on Windows (#293009) 2026-02-05 18:51:18 +09:00
Robo d797bd8de4 fix: always remove the old context menu entries on win11 (#291574) 2026-02-03 10:17:56 -08:00
Robo 60a106e50d chore: remove legacy context menu from system setup (#291938) 2026-01-30 10:09:02 -08:00
Robo 09a6795b25 fix: path to appx package in Add-AppxProvisionedPackage command (#291300)
* fix: path to appx package in Add-AppxProvisionedPackage command

* fix: removing appx package in system setup
2026-01-28 16:58:34 +00:00
Robo b87a2b7446 fix: support rollback to non-versioned layout on windows (#289547)
* fix: support rollback to non-versioned layout

* fix: destination for tools in rollback

Location matrix:
1) Version update
 a) Background - {app}/versionfolder/tools
 b) Non-background - {app}/versionfolder/tools
2) Non version update
 a) Background - {app}/tools
 b) Non-background - {app}/tools
2026-01-22 19:21:26 +09:00
Robo 6543b51327 feat: enabled windows version update for stable (#288126)
* feat: enabled windows version update for stable

* chore: update setup file

* temp: bump distro

* chore: fix electron re-download

* fix: oss callsite in updateservice

* chore: simplify check in tunnel-forwarding
2026-01-19 12:16:20 +00:00
Robo 3e56b3a2a4 feat: enable win11 context menu for stable (#287832)
* feat: enable win11 context menu for stable

* chore: update dll package

* chore: codesign appx for stable

* feat: support system setup

* fix: allow installing appx for system setup

* fix: add -SkipLicense to avoid exception during install
2026-01-15 19:49:28 +01:00
João Moreno f58990846d fix: frozen windows installations (#282201)
* fix: frozen windows installations

fixes #196344
related to #228233
Co-authored-by: CyMad <90966823+CyMad7001@users.noreply.github.com>

* Update build/win32/code.iss

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: CyMad <90966823+CyMad7001@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-09 15:21:52 +00:00
sinsincp 9b59d31df2 Fix AppUserModelID for code-workspace association (#272753) 2025-10-23 21:05:14 +09:00
Robo 61f1c115ad fix: restore old style context menu on windows for stable (#260960) 2025-08-11 03:28:54 -07:00
Robo 73f08941a3 fix: remove unused appx package (#258741)
* fix: remove unused appx package

* fix: inno compilation

* chore: reduce the number of remove and add commands
2025-07-30 14:13:27 +02:00
Robo c48e24145d fix: disable appx identity for system setup (#258275)
* fix: external location for appx package installation

* chore: revert external location
2025-07-28 17:33:51 +00:00
Robo f5e06c148d feat: support device permissions via package identity (#257741)
* feat: support device permissions via package identity

* chore: update explorer dll checksums

* chore: cleanup appx preparation

* chore: avoid cross-device link error

* chore: remove appx installation gate

* chore: rm duplicate appx installation checks

* chore: extract package full name from Get-AppxPackage

* chore: fix remove-appxpackage command
2025-07-25 12:57:36 -07:00
Robo df5b80fc08 fix: check for appx package before (un)install (#256766) 2025-07-18 19:21:01 +00:00
João Moreno 9d43b0751c remove svgz from default file types (#239180)
* remove svgz from default file types

fixes #231021

* push missing compilation
2025-01-31 10:49:12 +01:00
João Moreno 98ef4c3e7a fixes #222504 (#239179) 2025-01-30 10:15:12 +01:00
João Moreno 56246f3244 force app shutdown on background updated, if necessary (#231390)
* force app shutdown on background updated, if necessary

* fix CloseApplications

* use force anyway
2024-10-30 12:49:03 -07:00
Benjamin Christopher Simmonds 43d55cbf88 Localize Inno Updater (#205279)
* without translations

* Update messages.en.isl

* translations, hopefully correct encoding

* inno updater v0.11.0
2024-02-19 16:03:48 +01:00
João Moreno 85d3cd0eef do not create a double semi colon when adding to path (#202583)
* do not create a double semi colon when adding to path

fixes #202268

* parens

* bad signature

* hm
2024-01-17 16:54:23 +01:00
João Moreno 9905225b1a Remove win32-ia32 target (#195559)
* remove win32-ia32

* update distro
2023-10-16 13:28:09 +02:00
João Moreno e3b46eeda5 fixes #192486 (#193684) 2023-09-21 15:12:20 +01:00
João Moreno 8ac8b0d6d5 update uninstalling phrasing (#192993) 2023-09-13 11:53:38 +01:00
Connor Peet cbb47129d3 cli: stop tunnel processes during update (#187738)
* untested wip

* make it work
2023-07-12 20:58:09 +02:00
ChaseKnowlden b603fcf963 chore: update minimum installable version in inno setup (#175818)
* Drop support for windows versions prior to windows
10

* Prepare for windows 8 eol

* fix typo

* Revert "Prepare for windows 8 eol"

This reverts commit f65a7107280da4328014d4964ba432f3d7462de0.
2023-06-23 22:15:49 +09:00
João Moreno 636dbcff55 Revert "cli: fix error starting remote tunnels (#185701)" (#185731)
This reverts commit ffe64dab3c.
2023-06-21 09:30:30 +02:00
Connor Peet ffe64dab3c cli: fix error starting remote tunnels (#185701)
* untested wip

* cli: fix error starting remote tunnels

Fixes #185585

Output was prefixed which prevented the lines from being split to detect the tunnel status.
2023-06-20 14:30:07 -07:00
Martin Aeschlimann 42fcfb8bfc innosetup to start/stop tunnel service (#180527)
* innosetup to start/stop tunnel service

* better messages for tunnel still running

* fix error

* more logs

* add '/log'

* update

* fix

* update

* add kill & timeout wait

* stop service in PrepareToInstall

* non-background: check for tunnel mutex when wizard starts

* polish tunnel mutex names, prompt if tunnel is still running
2023-05-19 11:07:43 +02:00
João Moreno 0a19bf0e8f fix inno setup build for non-insider qualities (#165143)
fixes #165142
2022-11-01 03:53:58 -07:00
Robo bece5db818 chore: cleanup inno setup for context menu install (#164411) 2022-10-24 06:45:20 +02:00
Robo ebea50afee feat: bundle sparse package to integrate with windows context menu (#151186)
* chore: bundle and sign explorer appx

* chore: bump vscode-explorer-command@3.0.1

* chore: explorer install/uninstall stage for appx

* chore: fix format for cmd exec

* chore: cmd file path needs triple quotes

* chore: update vscode-explorer-command@3.0.2

* chore: add reg key for new context menu title

* chore: update vscode-explorer-command@3.0.3

* fix: guard behind insider quality

* chore: fix merge conflict

* fix: type mismatch

* chore: restrict context menu related actions for win11

* refactor appx loading/unloading, revert inno updater

* update powershell

* chore: undo inno_updater changes

* fix: appx install script

* fix: perform install after update step

* fix: mv appx install to files section

* chore: additional fixes

- Remove old context menu entries when updating to newer version
- Remove context menu entry when reinstalling without menu action selected.

* chore: update vscode-explorer-command@3.0.4

- Fixes garbled title for system installation

Co-authored-by: Joao Moreno <joao.moreno@microsoft.com>
2022-10-21 20:17:30 +02:00
Abhishek Singh 9509e6f3ef increase innosetup minversion to win8 (#163040)
* increase innosetup minversion to win8

* Update build/win32/code.iss

Co-authored-by: João Moreno <mail@joaomoreno.com>
2022-10-21 16:54:05 +02:00
João Moreno 3832b5d451 icacls: grant current user permissions (#155852) 2022-07-22 16:50:47 +02:00
SteVen Batten c20b68a62d Fix permissions for everything inside the installation folder (#342)
* add ci to iacls

* make sure files get affected too

Co-authored-by: Joao Moreno <joao.moreno@microsoft.com>
2022-04-12 11:03:39 -07:00