-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Package dependency is not available mid-installation #3668
Comments
[Policy] Dependencies |
The logs say that the min dependency version is Looks like we need to update the package over at winget-pkgs |
@hamnarauf it looks like the PR was merged and published. |
Even with the new dependency: |
I could also reproduce this in a clean VM. It looks like there's another issue with the dependency i.e., WindowsAppRuntime where it requires elevation for a complete install. Running the installer manually in user mode shows this: Verified that the installation is successful if you manually install the dependency with admin rights (then install devhome in user shell) or run the command |
The PR for adding ElevationRequirement has been merged, and it looks like the ElevationRequirement is being honored properly and subsequent installation of devhome is successful in a clean VM. This is resolved at my end. @hamnarauf Can you please confirm the same? |
The suggestion to install as admin worked for me! Thanks. Closing as resolved. |
Brief description of your issue
Installing Dev Home in a fresh installation of Windows 11 fails due to a dependency error. Winget downloads the dependency but it is not being recognized and throws an error.
Even though winget downloads and installs the dependency, the logs show that the installation still fails due to missing dependency
WinGet-2023-09-24-17-33-48.170.log
Relevant logs snippet
Steps to reproduce
winget install Microsoft.DevHome
Expected behavior
Installation without error.
Actual behavior
Installation fails due to missing dependency.
Environment
The text was updated successfully, but these errors were encountered: