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

Can't install v1.9.25180 #8

Open
Cyberboss opened this issue Nov 3, 2024 · 2 comments
Open

Can't install v1.9.25180 #8

Cyberboss opened this issue Nov 3, 2024 · 2 comments

Comments

@Cyberboss
Copy link
Owner

Somethings changed in the process.

It works fine on Windows Sandbox on my personal Pro 10, but it refuses to work on the server 2022 images.

@blessio
Copy link
Contributor

blessio commented Nov 3, 2024

if you install (not only provision) the winget.msixbundle then it gives much usefull info that there is a hidden dependency not well documented.

The VCLibs version required is:

  • 14.0.33728.0 but what is installed is
  • 14.0.33321.0

and thus, it does not run ... :-(

I believe that these dependencies should be handled inside the winget bundler (whoever oriduces the bundle) and should not be fixed here.

The installer here wants to install a "working bundle of winget" ... if it is not working then ... failing is OK but with a good failure report :-)

In few minutes I will submit a PR which does work with working bundle of winget and gives the error listed here in case of a bad bundle (should be a defect submitted to the "bundler")

Run echo "PROVISIONING WINGET"
  echo "PROVISIONING WINGET"
  Add-AppxProvisionedPackage -Online -PackagePath ./winget.msixbundle -LicensePath ./winget_License1.xml
  shell: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.EXE -command ". '{0}'"
PROVISIONING WINGET


Path          : 
Online        : True
RestartNeeded : False



Run echo "INSTALLING WINGET"
  echo "INSTALLING WINGET"
  Add-AppxPackage .\winget.msixbundle
  shell: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.EXE -command ". '{0}'"
INSTALLING WINGET
Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF3, Package failed updates, dependency or conflict 
validation.
Windows cannot install package Microsoft.DesktopAppInstaller_1.24.25180.0_x64__8wekyb3d8bbwe because this package 
depends on a framework that could not be found. Provide the framework "Microsoft.VCLibs.140.00.UWPDesktop" published 
by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x64 processor 
architecture and minimum version 14.0.33728.0, along with this package to install. The frameworks with name 
"Microsoft.VCLibs.140.00.UWPDesktop" currently installed
Windows cannot install package Microsoft.DesktopAppInstaller_1.24.25180.0_x64__8wekyb3d8bbwe because this package 
depends on a framework that could not be found. Provide the framework "Microsoft.VCLibs.140.00.UWPDesktop" published 
by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x64 processor 
architecture and minimum version 14.0.33728.0, along with this package to install. The frameworks with name 
"Microsoft.VCLibs.140.00.UWPDesktop" currently installed are: 
{Microsoft.VCLibs.140.00.UWPDesktop_14.0.33321.0_x64__8wekyb3d8bbwe}
NOTE: For additional information, look for [ActivityId] 7fa27607-ee7c-0002-4e57-4e2a5e2ddb01 in the Event Log or use 
the command line Get-AppPackageLog -ActivityID 7fa27607-ee7c-0002-4e57-4e2a5e2ddb01
At D:\a\_temp\b138a5be-001d-4c4e-9[49](https://github.com/blessio/install-winget/actions/runs/11645372779/job/32428332093#step:2:58)3-6140746f6ca2.ps1:3 char:1
+ Add-AppxPackage .\winget.msixbundle
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (D:\a\install-wi...nget.msixbundle:String) [Add-AppxPackage], IOException
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand
 
Error: Process completed with exit code 1.

Cyberboss added a commit that referenced this issue Nov 3, 2024
Make failure message more clear help issue #8
@blessio
Copy link
Contributor

blessio commented Nov 3, 2024

#9 (comment)

Now the issue can be seen here on builds "Test Latest with ... ".
Link to one of them: https://github.com/Cyberboss/install-winget/actions/runs/11652279817/job/32443276681#step:2:90

That is why I think that this tests should be given to winget-cli team (https://github.com/microsoft/winget-cli), and a release of winget-cli should not be done until these tests pass ...

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

No branches or pull requests

2 participants