mirror of
https://github.com/aphrody-labs/WSL.git
synced 2026-10-14 21:59:15 +00:00
* Update WSLC SDK API documentation Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Update docs * Update docs * Quick fixes --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Craig Loewen <crloewen@microsoft.com>
18 lines
615 B
Markdown
18 lines
615 B
Markdown
# InstallOptions
|
|
|
|
Selects components for `WslcService::InstallWithDependencies` and controls repair behavior.
|
|
|
|
**Properties**
|
|
|
|
| Property | Type |
|
|
|---|---|
|
|
| `Components()` / setter | `IVectorView<Component>` |
|
|
| `Repair()` / setter | `bool` |
|
|
|
|
If `Components` is null, the service determines which components require installation. If the
|
|
result includes `Component::SdkNeedsUpdate`, installation fails because installing components
|
|
cannot resolve the SDK compatibility error.
|
|
|
|
Set `Repair` to `true` to allow the WSL package to be reinstalled. This setting has no effect when
|
|
installing Virtual Machine Platform.
|