0
Commit Graph

4 Commits

Author SHA1 Message Date
a9d04ec6f7 Updater: Create document outline and initial content for design doc.
The outline may not be complete, but it is a starting point.

Bug: 1035895
Change-Id: I6f93f83254cd7af1ce898788be71b4e82490ca44
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3570025
Auto-Submit: Joshua Pawlicki <waffles@chromium.org>
Reviewed-by: Sorin Jianu <sorin@chromium.org>
Commit-Queue: Sorin Jianu <sorin@chromium.org>
Cr-Commit-Position: refs/heads/main@{#988706}
2022-04-04 22:20:33 +00:00
8fd7ddbf40 Fix per-system UpdaterSetup fails when running non-elevated
This CL automatically elevates the metainstaller on Windows when trying
to install a system application at medium integrity. To achieve this,
the metainstaller detects when running at medium but trying to install a
system app early on, and re-launches itself at high integrity, showing
any UAC prompts necessary.

The process flow looks like this:
```
UpdaterSetup
  -> Detects the need for elevation
    -> Elevates UpdaterSetup and add `--expect-elevated` switch
      -> UpdaterSetup installs to %ProgramFiles%
```

Bug: 1254126
Change-Id: Ic977c6a3fa6291b98ac7823c65a3592a838424e3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3546573
Reviewed-by: Joshua Pawlicki <waffles@chromium.org>
Reviewed-by: Sorin Jianu <sorin@chromium.org>
Commit-Queue: S. Ganesh <ganesh@chromium.org>
Cr-Commit-Position: refs/heads/main@{#986653}
2022-03-29 19:57:34 +00:00
e4b62ffa9a Updater: Plumb installerdata into the application installer.
The InstallerData downloaded by update_client is written to a temporary
file and provided to the application installer.

Bug: 1282020
Change-Id: If8eab0cf5634b8bbcf194198c3f270497a193f66
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3531288
Reviewed-by: Joshua Pawlicki <waffles@chromium.org>
Commit-Queue: S. Ganesh <ganesh@chromium.org>
Reviewed-by: Sorin Jianu <sorin@chromium.org>
Cr-Commit-Position: refs/heads/main@{#982553}
2022-03-18 01:51:48 +00:00
c5148ca27a Skeletons for the updater documentation.
Three documents are being created:
1. design doc
2. functional specification
3. user manual

Bug: 1035895
Change-Id: Ib5d2214236af2206d05bb1cf81ff592007c2c168
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3526191
Reviewed-by: Joshua Pawlicki <waffles@chromium.org>
Commit-Queue: Sorin Jianu <sorin@chromium.org>
Cr-Commit-Position: refs/heads/main@{#981702}
2022-03-16 17:09:16 +00:00