Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
windows:admin:winget [26/08/2020 10:56] thierry [Installation via Microsoft Store] |
windows:admin:winget [25/01/2021 12:11] (Version actuelle) thierry [Code 1603] |
||
---|---|---|---|
Ligne 10: | Ligne 10: | ||
===== Utilisation ===== | ===== Utilisation ===== | ||
- | ==== Winget install ==== | + | ==== install ==== |
<code> | <code> | ||
Ligne 32: | Ligne 32: | ||
-l,--location Emplacement d’installation (si pris en charge) | -l,--location Emplacement d’installation (si pris en charge) | ||
</code> | </code> | ||
+ | ==== show ==== | ||
+ | <code> | ||
+ | usage: winget show [[-q] <query>] [<options>] | ||
+ | |||
+ | Les arguments suivants sont disponibles : | ||
+ | -q,--query Requête utilisée pour rechercher une application | ||
+ | |||
+ | Les options suivantes sont disponibles : | ||
+ | -m,--manifest Chemin d’accès au manifeste de l’application | ||
+ | --id Filtrer les résultats par identifiant | ||
+ | --name Filtrer les résultats par nom | ||
+ | --moniker Filtrer les résultats par nom d’application | ||
+ | -v,--version Utiliser la version indiquée; la version par défaut est la dernière version | ||
+ | -s,--source Rechercher une application à l’aide de la source indiquée | ||
+ | -e,--exact Rechercher une application à l’aide d’une correspondance exacte | ||
+ | --versions Afficher les versions offertes de l’application | ||
+ | |||
+ | More help can be found at: https://aka.ms/winget-command-show</code> | ||
+ | |||
+ | Exemple : | ||
+ | <code powershell> | ||
+ | C:\Users\thierry>winget show --name acrobat | ||
+ | Multiple apps found matching input criteria. Please refine the input. | ||
+ | Name Id Version | ||
+ | ------------------------------------------------------------------------------------- | ||
+ | Adobe Acrobat Reader DC Czech Adobe.AdobeAcrobatReaderDC-Czech 19.8.20071.303822 | ||
+ | Adobe Acrobat Reader DC Adobe.AdobeAcrobatReaderDC 2020.012.20041 (ja-JP) | ||
+ | |||
+ | </code> | ||
+ | ===== Erreurs ===== | ||
+ | ==== Code 1603 ==== | ||
+ | |||
+ | <code>Installer failed with exit code: 1603 | ||
+ | Installer log is available at: C:\Users\trucmuche\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\TempState\WinGet\Xxxxx.X.xxx.latest.log</code> | ||
+ | |||
+ | Recommencez l'execution avec les droits administrateur (Exécuter en tant qu'administrateur) | ||
+ | |||
+ | Si on regarde dans les logs de l'installation : | ||
+ | <code> | ||
+ | Error 1730. You must be an Administrator to remove this application. To remove this application, you can log on as an Administrator, or contact your technical support group for assistance. | ||
+ | </code> | ||
+ | |||
+ | |||