首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >“未找到商店帐户”的winget旁路选项

“未找到商店帐户”的winget旁路选项
EN

Stack Overflow用户
提问于 2021-10-14 18:28:20
回答 3查看 8.8K关注 0票数 13

我试图远程安装计算机的sysinternals,但当试图使用winget install sysinternals --accept-source-agreements --accept-package-agreements安装时,我得到的是“验证/请求包获取失败:没有商店帐户找到

在尝试winget install --help时,我得到以下选项:

代码语言:javascript
复制
Windows Package Manager v1.1.12653
Copyright (c) Microsoft Corporation. All rights reserved.

Installs the selected package, either found by searching a configured source or directly from a manifest. By default, the query must case-insensitively match the id, name, or moniker of the package. Other fields can be used by passing their appropriate option.

usage: winget install [[-q] <query>] [<options>]

The following arguments are available:
  -q,--query                   The query used to search for a package

The following options are available:
  -m,--manifest                The path to the manifest of the package
  --id                         Filter results by id
  --name                       Filter results by name
  --moniker                    Filter results by moniker
  -v,--version                 Use the specified version; default is the latest version
  -s,--source                  Find package using the specified source
  --scope                      Select install scope (user or machine)
  -e,--exact                   Find package using exact match
  -i,--interactive             Request interactive installation; user input may be needed
  -h,--silent                  Request silent installation
  --locale                     Locale to use (BCP47 format)
  -o,--log                     Log location (if supported)
  --override                   Override arguments to be passed on to the installer
  -l,--location                Location to install to (if supported)
  --force                      Override the installer hash check
  --accept-package-agreements  Accept all license agreements for packages
  --header                     Optional Windows-Package-Manager REST source HTTP header
  --accept-source-agreements   Accept all source agreements during source operations

More help can be found at: https://aka.ms/winget-command-install

我尝试过不同的选择,当我做winget install --help时,比如--沉默,交互,或者-重写,但是都没有效果。

我可以直接进入微软商店安装它,它会问我是否想登录或使用"No谢“来安装,这样就可以了,但这不是我想要做的,我不想去每台机器做这个。我可能会尝试从这里通过Powershell安装https://serverfault.com/questions/1018220/how-do-i-install-an-app-from-windows-store-using-powershell的另一种方法,但这也不是我想要的。

如能在这方面提供任何协助,将不胜感激。

EN

回答 3

Stack Overflow用户

发布于 2022-01-24 20:16:07

这还不支持(从2022年1月起)。在GitHub:https://github.com/microsoft/winget-cli/issues/1585上有一个悬而未决的问题

编辑:此错误已修复,可在WindowsPackageManager1.3-预览版中使用。它将是1.3版本的一部分(从2022年6月起)

Windows软件包管理器在Github发布

票数 5
EN

Stack Overflow用户

发布于 2021-10-15 18:48:56

打开MS商店并设置。切换购买登录到on。

票数 4
EN

Stack Overflow用户

发布于 2022-06-30 13:40:47

要下载免费应用程序不需要存储帐户的实验性版本,请访问github页面 for winget。在这里,您可以下载.msixbundle (任何高于v1.3的内容都应该是好的)。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/69575656

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档