winget
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| winget [2021-06-21 00:56:06] – [Konfigurationsdatei (ab v1.0.11451)] david | winget [2023-01-09 14:01:22] (aktuell) – [Windows Server] david | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| - | ====== | + | ====== |
| - | Mit dem Befehlszeilentool **[[https://docs.microsoft.com/windows/package-manager/winget/|WinGet]]** können Entwickler Anwendungen | + | |
| + | | ||
| + | * **winget**: Quelle msstore entfernen: '' | ||
| + | * David' | ||
| + | * '' | ||
| - | Das Tool winget ist zurzeit eine Vorschauversion, | ||
| + | ===== Configuration ===== | ||
| + | **Tab Completion in PowerShell**: | ||
| - | GitHub: [[https://github.com/microsoft/winget-cli]] | + | Pfad zur Konfigurationsdatei: '' |
| + | oder mit dem Befehl öffnen: | ||
| + | > winget settings | ||
| - | ==== Konfigurationsdatei (ab v1.0.11451) ==== | + | <code javascript settings.json> |
| + | { | ||
| + | " | ||
| + | // For documentation on these settings, see: https:// | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | ], | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | }, | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | } | ||
| - | Die Konfigurationsdatei kann mit '' | + | </ |
| - | <file javascript settings.json> | ||
| - | { | ||
| - | " | ||
| - | " | + | ===== Installation ===== |
| - | " | + | |
| - | }, | + | |
| - | " | + | ==== Windows Server ==== |
| - | " | + | |
| - | " | + | * Winget wird offiziell nicht auf Windows Server unterstützt. |
| - | }, | + | * Winget benötigt eigentlich |
| - | " | + | * Winget läuft nicht auf Windows Server Versionen, die älter sind als 2019 und kann mit einigen Workarounds auf 2019 lauffähig gemacht werden |
| - | "de-DE", | + | |
| - | "en-US" | + | [[https:// |
| - | ] | + | |
| - | }, | + | <code powershell winget.ps1> |
| - | "telemetry": { | + | $ErrorActionPreference = ' |
| - | "disable": true | + | |
| - | }, | + | $info = Get-ComputerInfo |
| + | if ($info.WindowsInstallationType -ne "Server") { | ||
| + | | ||
| + | | ||
| } | } | ||
| - | </file> | + | |
| + | # Microsoft.UI.Xaml: | ||
| + | # Microsoft.VCLibs: | ||
| + | # WinGet: https:// | ||
| + | |||
| + | # update links manually | ||
| + | |||
| + | $msuixaml = " | ||
| + | $vclibs = " | ||
| + | $winget = " | ||
| + | $wingetLicense = " | ||
| + | |||
| + | $msuixamlPath = " | ||
| + | $msuixamlPathExtracted = " | ||
| + | $vclibsPath = " | ||
| + | $wingetPath = " | ||
| + | $wingetLicensePath = " | ||
| + | |||
| + | Invoke-WebRequest -UseBasicParsing -Uri $msuixaml -OutFile $msuixamlPath | ||
| + | Expand-Archive -LiteralPath $msuixamlPath -DestinationPath $msuixamlPathExtracted -Force | ||
| + | $msuixamlExtracted = Get-ChildItem -File -LiteralPath " | ||
| + | Add-AppxPackage -Path $msuixamlExtracted | ||
| + | |||
| + | Invoke-WebRequest -UseBasicParsing -Uri $vclibs -OutFile $vclibsPath | ||
| + | Add-AppxPackage -Path $vclibsPath | ||
| + | |||
| + | Invoke-WebRequest -UseBasicParsing -Uri $winget -OutFile $wingetPath | ||
| + | Invoke-WebRequest -UseBasicParsing -Uri $wingetLicense -OutFile $wingetLicensePath | ||
| + | Add-AppxPackage -Path $wingetPath | ||
| + | |||
| + | </code> | ||
/home/http/wiki/data/attic/winget.1624236966.txt · Zuletzt geändert: von david
