Skip to content

Commit

Permalink
fix default install root location (#3034)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lutra-Fs authored Mar 2, 2023
1 parent e66cbc9 commit a6d02ac
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions doc/Settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,16 @@ The `architectures` behavior affects what architectures will be selected when in
},
```

### Default install root

The `defaultInstallRoot` affects the install location when a package requires one. This can be overridden by the `--location` parameter. This setting is only used when a package manifest includes `InstallLocationRequired`, and the actual location is obtained by appending the package ID to the root.

```json
"installBehavior": {
"defaultInstallRoot": "C:/installRoot"
},
```

## Uninstall Behavior

The `uninstallBehavior` settings affect the default behavior of uninstalling (where applicable) packages.
Expand All @@ -135,16 +145,6 @@ The `purgePortablePackage` behavior affects the default behavior for uninstallin
},
```

### Default install root

The `defaultInstallRoot` affects the install location when a package requires one. This can be overridden by the `--location` parameter. This setting is only used when a package manifest includes `InstallLocationRequired`, and the actual location is obtained by appending the package ID to the root.

```json
"installBehavior": {
"defaultInstallRoot": "C:/installRoot"
},
```

## Telemetry

The `telemetry` settings control whether winget writes ETW events that may be sent to Microsoft on a default installation of Windows.
Expand Down

0 comments on commit a6d02ac

Please sign in to comment.