Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,35 @@ The same Microsoft Store package will be made available via our [Releases](https

Please read our [troubleshooting guide](/doc/troubleshooting/README.md).

## PowerShell Module

The [Microsoft.WinGet.Client](https://www.powershellgallery.com/packages/Microsoft.WinGet.Client/) PowerShell module provides native cmdlets for interacting with the Windows Package Manager. You can install it from the PowerShell Gallery:

```powershell
Install-Module -Name Microsoft.WinGet.Client
```

Example usage:

```powershell
# Search for a package
Find-WinGetPackage -Query "Visual Studio Code"

# Install a package
Install-WinGetPackage -Id Microsoft.VisualStudioCode

# List installed packages
Get-WinGetPackage

# Update a package
Update-WinGetPackage -Id Microsoft.VisualStudioCode

# Repair the WinGet package manager installation
Repair-WinGetPackageManager
```

For more information, see the [Microsoft.WinGet.Client](https://www.powershellgallery.com/packages/Microsoft.WinGet.Client/) page on the PowerShell Gallery.

## Administrator Considerations

Installer behavior can be different depending on whether you are running **WinGet** with administrator privileges.
Expand Down
16 changes: 16 additions & 0 deletions doc/Settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,22 @@ The `defaultModuleRoot` behavior affects the default root directory where module
},
```

## Download Behavior

The `downloadBehavior` settings affect the default behavior of downloading packages.

### Default Download Directory

The `defaultDownloadDirectory` setting affects the default directory where installers are downloaded to. Defaults to `%USERPROFILE%/Downloads/` if value is not set or is invalid.

> Note: This setting value must be an absolute path.

```json
"downloadBehavior": {
"defaultDownloadDirectory": "C:/Users/FooBar/Downloads"
},
```

## Telemetry

The `telemetry` settings control whether winget writes ETW events that may be sent to Microsoft on a default installation of Windows.
Expand Down
3 changes: 3 additions & 0 deletions doc/troubleshooting/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ These errors most commonly occur for one of following reasons. Please try out th
1. Get the `PackageFullName` of your installed `App Installer` package (PowerShell): `Get-AppxPackage Microsoft.DesktopAppInstaller | Select Name, PackageFullName`.
2. `Add-AppxPackage -register "C:\Program Files\WindowsApps\{PackageFullName}\appxmanifest.xml" -DisableDevelopmentMode` (where `{PackageFullName}` is the info from the previous point).
3. Toggle the App Execution Alias for winget, again (see above).
5. The App Installer package may be in a broken state. You can try resetting it using PowerShell:
* On **Windows 11**: `Get-AppxPackage Microsoft.DesktopAppInstaller | Reset-AppxPackage`
* On **Windows 10**: `$Manifest = (Get-AppxPackage Microsoft.DesktopAppInstaller).InstallLocation + '\appxmanifest.xml'; Add-AppxPackage -DisableDevelopmentMode -Register $Manifest`

If the above guidelines do not resolve the problem, please open an issue with details of the Windows version and App Installer version you are using.

Expand Down
5 changes: 5 additions & 0 deletions schemas/JSON/settings/settings.schema.0.2.json
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,11 @@
"type": "boolean",
"default": false
},
"resume": {
"description": "Enable support for some commands to resume",
"type": "boolean",
"default": false
},
"sourcePriority": {
"description": "Enable source priority feature",
"type": "boolean",
Expand Down
2 changes: 1 addition & 1 deletion src/AppInstallerCLICore/Commands/DscCommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ namespace AppInstaller::CLI

Utility::LocIndView DscCommand::HelpLink() const
{
return "https://aka.ms/winget-dsc-resources"_liv;
return "https://learn.microsoft.com/windows/package-manager/configuration/"_liv;
}

void DscCommand::ExecuteInternal(Execution::Context& context) const
Expand Down
Loading