feat: create versioned resources for windows setup (#263998)

* feat: create versioned resources for windows setup

* chore: use inno_updater to remove old installation

* chore: remove old installation as part of setup

* chore: update explorer-command

* chore: prefer session-end

* chore: uninst delete updating_version

* chore: make session-ending write synchronous

* chore: cleanup updateService.win32.ts

* chore: invoke inno_updater gc path for non background update

* chore: move session-end path to runtime

* chore: use commit for updating_version

* chore: fix invalid string

* chore: set appUpdate path

* chore: update inno_updater

* chore: empty commit for testing

* chore: some cleanups

1) Check for session-ending flag in appx and tunnel callsites
2) Move gc for background update to cleanup phase in updateservice
3) Set update state to ready when there is a running inno_setup

* chore: disallow same version update

* chore: disallow application launch in the middle of update

* chore: empty commit for testing

* chore: bump inno_updater

* chore: empty commit for testing

* chore: move gc to update startup

* chore: move feature behind insider only check

* chore: bump inno_updater

* chore: bump explorer-command

* fix: build

* fix: gc for background update in system setup

* chore: create separate cli entrypoints for build

* fix: check for setup mutex created by inno

* chore: remove problematic updatingVersionPath deletion

* chore: remove redundant update check

* chore: bump inno_updater

* chore: fix build

* chore: bump inno updater
This commit is contained in:
Robo
2025-11-24 21:32:12 +09:00
committed by GitHub
parent 68a7504026
commit 4c5bfb172a
19 changed files with 2023 additions and 50 deletions
+2 -2
View File
@@ -129,7 +129,7 @@ checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
[[package]]
name = "inno_updater"
version = "0.16.0"
version = "0.18.2"
dependencies = [
"byteorder",
"crc",
@@ -546,4 +546,4 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1"
dependencies = [
"bitflags 2.9.1",
]
]
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "inno_updater"
version = "0.16.0"
version = "0.18.2"
authors = ["Microsoft <monacotools@microsoft.com>"]
build = "build.rs"
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -43,12 +43,12 @@ export async function downloadExplorerDll(outDir: string, quality: string = 'sta
d(`downloading ${fileName}`);
const artifact = await downloadArtifact({
isGeneric: true,
version: 'v4.0.0-350164',
version: 'v5.0.0-377200',
artifactName: fileName,
checksums,
mirrorOptions: {
mirror: 'https://github.com/microsoft/vscode-explorer-command/releases/download/',
customDir: 'v4.0.0-350164',
customDir: 'v5.0.0-377200',
customFilename: fileName
}
});
Binary file not shown.