Canary installer not working #22431

Closed
opened 2026-01-31 08:13:00 +00:00 by claunia · 8 comments
Owner

Originally created by @flobo09 on GitHub (Oct 19, 2024).

Windows Terminal version

NA / canary installer

Windows build number

10.0.26120.2130

Other Software

No response

Steps to reproduce

Launch canary installer
Add-AppPackage '.\Microsoft.WindowsTerminalCanary.appinstaller'

Expected Behavior

Terminal Canary get installed

Actual Behavior

Error message

PS C:\Users\flo\Downloads> Add-AppPackage '.\Microsoft.WindowsTerminalCanary.appinstaller'
Add-AppxPackage: Deployment failed with HRESULT: 0x80073CF0, Package could not be opened.

Common::Deployment::MsixvcStagingSession::GetManifestReader in MsixvcStagingSession failed with error 0x80070570.

NOTE: For additional information, look for [ActivityId] 7656e2e2-2235-0007-07c9-62763522db01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 7656e2e2-2235-0007-07c9-62763522db01
PS C:\Users\flo\Downloads> Get-AppPackageLog -ActivityID 7656e2e2-2235-0007-07c9-62763522db01

Time ID Message


19/10/2024 5:04:57 PM 603 Started deployment Add operation on a package with main parameter
Microsoft.WindowsTerminalCanary.appinstaller and Options 0 and 0. See
http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.
19/10/2024 5:04:57 PM 495 Common::Deployment::MsixvcStagingSession::GetManifestReader in MsixvcStagingSession failed
with error 0x80070570.
19/10/2024 5:04:57 PM 402 error 0x80070570: Reading manifest from location:
Microsoft.WindowsTerminalCanary.appinstaller failed with error: The file or directory is
corrupted and unreadable.
.
19/10/2024 5:04:57 PM 486 AppX Deployment operation failed with error 0x80070490 from API Could not find package name
in path
19/10/2024 5:04:57 PM 404 AppX Deployment operation failed for package with error 0x80073CF0. The specific error text
for this failure is: Common::Deployment::MsixvcStagingSession::GetManifestReader in
MsixvcStagingSession failed with error 0x80070570.

PS C:\Users\flo\Downloads>

Originally created by @flobo09 on GitHub (Oct 19, 2024). ### Windows Terminal version NA / canary installer ### Windows build number 10.0.26120.2130 ### Other Software _No response_ ### Steps to reproduce Launch canary installer Add-AppPackage '.\Microsoft.WindowsTerminalCanary.appinstaller' ### Expected Behavior Terminal Canary get installed ### Actual Behavior Error message PS C:\Users\flo\Downloads> Add-AppPackage '.\Microsoft.WindowsTerminalCanary.appinstaller' Add-AppxPackage: Deployment failed with HRESULT: 0x80073CF0, Package could not be opened. Common::Deployment::MsixvcStagingSession::GetManifestReader in MsixvcStagingSession failed with error 0x80070570. NOTE: For additional information, look for [ActivityId] 7656e2e2-2235-0007-07c9-62763522db01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 7656e2e2-2235-0007-07c9-62763522db01 PS C:\Users\flo\Downloads> Get-AppPackageLog -ActivityID 7656e2e2-2235-0007-07c9-62763522db01 Time ID Message ---- -- ------- 19/10/2024 5:04:57 PM 603 Started deployment Add operation on a package with main parameter Microsoft.WindowsTerminalCanary.appinstaller and Options 0 and 0. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues. 19/10/2024 5:04:57 PM 495 Common::Deployment::MsixvcStagingSession::GetManifestReader in MsixvcStagingSession failed with error 0x80070570. 19/10/2024 5:04:57 PM 402 error 0x80070570: Reading manifest from location: Microsoft.WindowsTerminalCanary.appinstaller failed with error: The file or directory is corrupted and unreadable. . 19/10/2024 5:04:57 PM 486 AppX Deployment operation failed with error 0x80070490 from API Could not find package name in path 19/10/2024 5:04:57 PM 404 AppX Deployment operation failed for package with error 0x80073CF0. The specific error text for this failure is: Common::Deployment::MsixvcStagingSession::GetManifestReader in MsixvcStagingSession failed with error 0x80070570. PS C:\Users\flo\Downloads>
Author
Owner

@flobo09 commented on GitHub (Oct 19, 2024):

Image

Getting the actual Package from the MainBundle URL and installing it works perfectly though.

@flobo09 commented on GitHub (Oct 19, 2024): ![Image](https://github.com/user-attachments/assets/c64ad12f-4a9b-4805-bea8-d02165780275) Getting the actual Package from the MainBundle URL and installing it works perfectly though.
Author
Owner

@elsaco commented on GitHub (Oct 20, 2024):

I did a quick test by right-clicking and chose open with App Installer and it worked okay:

Image

However, using the Add-AppxPackage is failing:

PS C:\Users\elsaco\Downloads> Add-AppxPackage -Path .\Microsoft.WindowsTerminalCanary.appinstaller
Add-AppxPackage: Deployment failed with HRESULT: 0x80073CF0, Package could not be opened.

error 0x8007000D: Opening the package from location Microsoft.WindowsTerminalCanary.appinstaller failed.

NOTE: For additional information, look for [ActivityId] 59848a33-21a8-000c-5cb2-8a59a821db01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 59848a33-21a8-000c-5cb2-8a59a821db01

Could be the missing digital signature. Get-AuthenticodeSignature returns:

Status                 : UnknownError
StatusMessage          : The form specified for the subject is not one supported or known by the specified trust
                         provider.
@elsaco commented on GitHub (Oct 20, 2024): I did a quick test by right-clicking and chose open with `App Installer` and it worked okay: ![Image](https://github.com/user-attachments/assets/e420bd78-0d9f-41a7-a836-004d6219e1c5) However, using the `Add-AppxPackage` is failing: ``` PS C:\Users\elsaco\Downloads> Add-AppxPackage -Path .\Microsoft.WindowsTerminalCanary.appinstaller Add-AppxPackage: Deployment failed with HRESULT: 0x80073CF0, Package could not be opened. error 0x8007000D: Opening the package from location Microsoft.WindowsTerminalCanary.appinstaller failed. NOTE: For additional information, look for [ActivityId] 59848a33-21a8-000c-5cb2-8a59a821db01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 59848a33-21a8-000c-5cb2-8a59a821db01 ``` Could be the missing digital signature. `Get-AuthenticodeSignature` returns: ``` Status : UnknownError StatusMessage : The form specified for the subject is not one supported or known by the specified trust provider. ```
Author
Owner

@DHowett commented on GitHub (Oct 20, 2024):

.appinstaller XML documents are not intended to be used with Add-AppxPackage--only actual package files are supported by that cmdlet.

You'll need to use the App Installer to install .appinstaller app installers.

(As a side note: .appinstaller documents do not bear a digital signature, but they do point to signed binaries with a strong unforgeable identity so it doesn't really matter.)

@DHowett commented on GitHub (Oct 20, 2024): `.appinstaller` XML documents are not intended to be used with `Add-AppxPackage`--only actual package files are supported by that cmdlet. You'll need to use the App Installer to install `.appinstaller` app installers. (As a side note: `.appinstaller` documents do not bear a digital signature, but they do point to signed binaries with a strong unforgeable identity so it doesn't really matter.)
Author
Owner

@flobo09 commented on GitHub (Oct 20, 2024):

@DHowett :

It's doing the exact same error clicking on it & using the GUI.
Image

App installation failed with error message: Common::Deployment::MsixvcStagingSession::GetManifestReader in MsixvcStagingSession failed with error 0x80070570. (0x80070570)

@flobo09 commented on GitHub (Oct 20, 2024): @DHowett : It's doing the exact same error clicking on it & using the GUI. ![Image](https://github.com/user-attachments/assets/1d784c6a-5b0c-4f13-abb1-5bc16d31f97d) App installation failed with error message: Common::Deployment::MsixvcStagingSession::GetManifestReader in MsixvcStagingSession failed with error 0x80070570. (0x80070570)
Author
Owner

@DHowett commented on GitHub (Oct 20, 2024):

Huh.

@DHowett commented on GitHub (Oct 20, 2024): _Huh_.
Author
Owner

@DrusTheAxe commented on GitHub (Oct 21, 2024):

0x80070570 = ERROR_FILE_CORRUPT

Perhaps this is what you meant?

Add-AppPackage '.\Microsoft.WindowsTerminalCanary.appinstaller' -AppInstallerFile
@DrusTheAxe commented on GitHub (Oct 21, 2024): 0x80070570 = ERROR_FILE_CORRUPT Perhaps this is what you meant? ``` Add-AppPackage '.\Microsoft.WindowsTerminalCanary.appinstaller' -AppInstallerFile ```
Author
Owner

@elsaco commented on GitHub (Oct 21, 2024):

@DrusTheAxe you're correct! -AppInstallerFile does the job:

PS C:\Users\elsaco> add-appxpackage -AppInstallerFile ".\Downloads\Microsoft.WindowsTerminalCanary.appinstaller"
PS C:\Users\elsaco>

No errors!

@elsaco commented on GitHub (Oct 21, 2024): @DrusTheAxe you're correct! `-AppInstallerFile` does the job: ``` PS C:\Users\elsaco> add-appxpackage -AppInstallerFile ".\Downloads\Microsoft.WindowsTerminalCanary.appinstaller" PS C:\Users\elsaco> ``` No errors!
Author
Owner

@microsoft-github-policy-service[bot] commented on GitHub (Oct 28, 2024):

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

@microsoft-github-policy-service[bot] commented on GitHub (Oct 28, 2024): This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**. <!-- Policy app identification https://img.shields.io/static/v1?label=PullRequestIssueManagement. -->
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22431