Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry pick servicing fixes to 1.8 #4580

Merged
merged 9 commits into from
Jun 25, 2024

Conversation

ryfu-msft
Copy link
Contributor

@ryfu-msft ryfu-msft commented Jun 25, 2024

Cherry-picks the following commits into the 1.8 release branch:

Once this is approved, I will not squash but instead just merge.

ryfu-msft and others added 6 commits June 24, 2024 17:48
## Change
Replace the expired store certificate with the newly generated one.
Change:

- Explicitly set COM access permissions for packaged com invocations.
Leave access permissions as default and do not register COM objects for
manual invocation so that only RPC channel can be used for manual
activation.
- Update LaunchAndActivationString to allow Self, System, Built-in Admin and AppContainer
only, require at least MediumIL for non-AC.
- Move Configuration to a separate COM server, use default permission.

A separate pr will be sent to update AppInstaller manifest.

Validation:
Validated manually with Microsoft Store invocation, Powershell
invocation (elevated and non elevated), test sample code and Devhome
invocation (on package management and configuration).

Also specifically validated Store invocation with Built-in Administrator
sign-in (previously not working).
@ryfu-msft ryfu-msft requested a review from a team as a code owner June 25, 2024 01:01
@yao-msft
Copy link
Contributor

Forgot to change target branch?

@ryfu-msft ryfu-msft changed the base branch from master to release-v1.8 June 25, 2024 01:25
yao-msft and others added 3 commits June 24, 2024 18:38
… NonStore ,code refactoring & E2E Test Coverage (microsoft#4534)

**Repair Command updates:**
- Code changes eliminate installer type mapping for MSI/WIX and MSIX
NonStore, leveraging native platform support for repairs.
- Refactored code for better readability and maintainability.

**AppInstallerTestExeInstaller - Repair support**
- Refactored AppInstallerTestExeInstaller to support repair operations.
The code now accommodates Modify Repair, Uninstaller Repair, and
Installer Repair.
- Minor refactoring is also part of this update

**E2E Test Coverage:**
- Added E2E tests for winget, targeting installer types such as
  - MSI,
  - NonStore MSIX,
  - Burn, Nullsoft, Inno, and Exe.
- These tests aim to ensure reliability across Modify Repair,
Uninstaller Repair, and Installer Repair scenarios.

**How Validated:**
- Configured LocalhostWebServer for local execution. 
- Executed WingetRepair Tests via Visual Studio TestExplorer, confirming
all tests passed on the local machine


![image](https://github.com/microsoft/winget-cli/assets/53235553/e3b935b6-4be3-419e-a81d-dd639f5d9377)

<!-- To check a checkbox place an "x" between the brackets. e.g: [x] -->

- [x] I have signed the [Contributor License
Agreement](https://cla.opensource.microsoft.com/microsoft/winget-pkgs).
- [ ] This pull request is related to an issue.

-----

###### Microsoft Reviewers: [Open in
CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/microsoft/winget-cli/pull/4534)
@ryfu-msft ryfu-msft merged commit 45202ed into microsoft:release-v1.8 Jun 25, 2024
5 checks passed
@ryfu-msft ryfu-msft deleted the cp-1.8stable branch June 25, 2024 01:56
@ryfu-msft ryfu-msft restored the cp-1.8stable branch June 25, 2024 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants