microsoft / winget-pkgs

The Microsoft community Windows Package Manager manifest repository
MIT License
8.66k stars 4.51k forks source link

[Package Request]: Questions around onboarding a new package : Microsoft Authentication CLI #183643

Open keyuxuan opened 1 week ago

keyuxuan commented 1 week ago

How can we help?

I would like help so I can submit the manifest.

Please read and ensure the following

Please provide the following information

Download Page Url: https://github.com/AzureAD/microsoft-authentication-cli/releases/tag/0.8.6 Publisher: Microsoft Package Name: microsoft-authentication-cli Description: AzureAuth is a CLI wrapper for performing AAD Authentication. It makes use of MSAL for authentication and caching. Package Version: 0.8.6 Installer Url: https://github.com/AzureAD/microsoft-authentication-cli/releases/download/0.8.6/azureauth-0.8.6-win10-x64.zip

i installed winget-cli version v1.9.2507 on my machine and I have followed this page to create the manifests using wingetcreate new command. Now i have three manifest files and the validation and installation are both successful.

Version manifest preview:
# Created using wingetcreate 1.6.5.0
# yaml-language-server: $schema=https://aka.ms/winget-manifest.version.1.6.0.schema.json

PackageIdentifier: Microsoft.microsoft-authentication-cli
PackageVersion: 0.8.6
DefaultLocale: en-US
ManifestType: version
ManifestVersion: 1.6.0
Installer manifest preview:
# Created using wingetcreate 1.6.5.0
# yaml-language-server: $schema=https://aka.ms/winget-manifest.installer.1.6.0.schema.json

PackageIdentifier: Microsoft.microsoft-authentication-cli
PackageVersion: 0.8.6
InstallerType: zip
NestedInstallerType: portable
NestedInstallerFiles:
- RelativeFilePath: azureauth.exe
Installers:
- InstallerUrl: https://github.com/AzureAD/microsoft-authentication-cli/releases/download/0.8.6/azureauth-0.8.6-win10-x64.zip
  Architecture: x64
  InstallerSha256: 6E1AB3F38B2A3BA5096FE818B27B1C850DF43D947DF80AA5935425BD978CA54E
ManifestType: installer
ManifestVersion: 1.6.0
Default locale manifest preview:
# Created using wingetcreate 1.6.5.0
# yaml-language-server: $schema=https://aka.ms/winget-manifest.defaultLocale.1.6.0.schema.json

PackageIdentifier: Microsoft.microsoft-authentication-cli
PackageVersion: 0.8.6
PackageLocale: en-US
Publisher: Microsoft
PackageName: microsoft-authentication-cli
License: MIT License
ShortDescription: AzureAuth is a CLI wrapper for performing AAD Authentication. It makes use of MSAL for authentication and caching.
ManifestType: defaultLocale
ManifestVersion: 1.6.0

However, when i tested the command azureauh --version, i ran into this issue The application to execute does not exist: 'C:\Users\keyuxuan\AppData\Local\Microsoft\WinGet\Links\azureauth.dll'..

Does anyone know why this happens even tho installation was successful and how to fix this?

Image

Image

aisgbnok commented 1 week ago

This issue appears related to the recently closed https://github.com/microsoft/winget-cli/issues/2711.

Unfortunately, you will have to upgrade your manifests to ManifestVersion: 1.9.0 and add the ArchiveBinariesDependOnPath field. However, manifest version 1.9.0 is not generally available / public and documentation is lacking for now. I would expect it to be enabled in this repo, winget CLI, and wingetcreate within the next two months. Though someone with more authority than me is free to correct that estimate.

Dragon1573 commented 1 week ago

[!NOTE]

Policy: https://github.com/microsoft/winget-pkgs/labels/Blocking-Issue https://github.com/microsoft/winget-pkgs/labels/zip-binary

microsoft-github-policy-service[bot] commented 1 week ago

Hello @keyuxuan,

This package appears to depend on .dlls that aren't available via symlink.

This package is blocked until support for zipped binaries is implemented in:

Be sure to add your 👍 to the issue to help raise the priority and avoid posting "Me too!" messages to respect those who have subscribed to the issue.

Template: msftbot/blockingIssue/zipBinary