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

Installation of .msixbundle fails cause Microsoft.UI.Xaml.2.8 is missing #18033

Closed
ChaosBladeCoder opened this issue Oct 11, 2024 · 6 comments
Closed
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting

Comments

@ChaosBladeCoder
Copy link

Windows Terminal version

1.21.2701

Windows build number

10.0.20348.2762 (Windows Server 2022 Standard)

Other Software

N/A

Steps to reproduce

  1. Downloaded the latest Stable release (1.21.2701) as a .msixbundle.
  2. Copied the installer to my offline Windows Server 2022 machine
  3. Tried to follow the "Other install methods" on https://github.com/microsoft/terminal, specially:
  4. Double-clicking the .msixbundle file didn't work, as there was no handler for this file type. Ok, disappointing, but I'll use PowerShell instead.
  5. Ran Add-AppxPackage in Powershell

Expected Behavior

Bundle should install correctly, including dependencies, without requiring additional downloads .

Actual Behavior

Add-AppxPackage fails with the following error:

Deployment failed with HRESULT: 0x80073CF3, Package failed updates, dependency, or conflict validation. Windows cannot install package Microsoft.WindowsTerminal_1.21.2701.0.x64 because this package depends on a framework that could not be found. Provide the framework Microsoft.UI.Xaml.2.8 publiched by [... etc].

@ChaosBladeCoder ChaosBladeCoder added Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Oct 11, 2024
@lhecker
Copy link
Member

lhecker commented Oct 11, 2024

@DHowett will have to correct me here, but I believe that Windows Server comes without the necessary XAML dependency. This means you need to use the "PreinstallKit" from our release page. It includes the Microsoft.UI.Xaml...appx package which you can install before installing our msixbundle.

@DHowett
Copy link
Member

DHowett commented Oct 11, 2024

Yes, fully offline installs need to use the preinstallation/provisioning kit.

@DHowett DHowett closed this as completed Oct 11, 2024
@ChaosBladeCoder
Copy link
Author

Thank you, that is helpful!

However, how is anyone supposed to know this, currently?

This isn't mentioned anywhere in the installation instructions. I didn't find any specific instructions for fully offline installation, nor is it explained anywhere that the preinstallation/provisition kit can/should be used for this. The Windows Terminal Distribution Types page doesn't mention this. In fact the wording of that page immediately made me disregard this package (especially, "Users who do not intend to preinstall Windows Terminal should continue using the Packaged distribution"). I also looked for words like 'redist', 'redistributable package', which also don't appear anywhere.

It would be helpful to have at least some note about fully offline mode in the installation instructions.

@DHowett
Copy link
Member

DHowett commented Oct 11, 2024

You know, that's fair feedback. Thanks.

@sqwwwok
Copy link

sqwwwok commented Dec 26, 2024

Yes, fully offline installs need to use the preinstallation/provisioning kit.

how to use this kit? i cannot find it or its instruction.

@LtdJorge
Copy link

Yes, fully offline installs need to use the preinstallation/provisioning kit.

how to use this kit? i cannot find it or its instruction.

Just extract the preinstallation kit and Add-AppxPackage .\Microsoft.UI.Xaml.version_yourarchitecture.appx.

Then Add-AppxPackage .\Microsoft.WindowsTerminal...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting
Projects
None yet
Development

No branches or pull requests

5 participants