Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional Expected Return Codes #2870

Closed
denelon opened this issue Jan 19, 2023 · 1 comment
Closed

Additional Expected Return Codes #2870

denelon opened this issue Jan 19, 2023 · 1 comment
Labels
Area-Manifest This may require a change to the manifest Issue-Feature This is a feature request for the Windows Package Manager client.
Milestone

Comments

@denelon
Copy link
Contributor

denelon commented Jan 19, 2023

Description of the new feature / enhancement

We've started to see a few more examples of candidates for expected return codes.

"Administrator mode not supported" - related to "prohibitsElevation"
"Administrator mode required"

Additional codes may be added to this issue based on discussion below.

The Expected Return Codes in the 1.4 schema:

"ExpectedReturnCodes": {
"type": [ "array", "null" ],
"items": {
"type": "object",
"title": "ExpectedReturnCode",
"properties": {
"InstallerReturnCode": {
"$ref": "#/definitions/InstallerReturnCode"
},
"ReturnResponse": {
"type": "string",
"enum": [
"packageInUse",
"packageInUseByApplication",
"installInProgress",
"fileInUse",
"missingDependency",
"diskFull",
"insufficientMemory",
"invalidParameter",
"noNetwork",
"contactSupport",
"rebootRequiredToFinish",
"rebootRequiredForInstall",
"rebootInitiated",
"cancelledByUser",
"alreadyInstalled",
"downgrade",
"blockedByPolicy",
"systemNotSupported",
"custom"
]
},

Proposed technical implementation details

No response

@denelon denelon added Issue-Feature This is a feature request for the Windows Package Manager client. Area-Manifest This may require a change to the manifest labels Jan 19, 2023
@denelon denelon added this to the v1.5-Client milestone Jan 19, 2023
@ghost ghost added the Needs-Triage Issue need to be triaged label Jan 19, 2023
@denelon denelon removed the Needs-Triage Issue need to be triaged label Jan 19, 2023
@denelon denelon modified the milestones: v1.5-Client, v.Next-Client Apr 19, 2023
@denelon
Copy link
Contributor Author

denelon commented Mar 6, 2024

Any additional "Expected Return Codes" may be added to the schema in future versions of WinGet.

@denelon denelon closed this as completed Mar 6, 2024
@denelon denelon modified the milestones: v.Next-Client, 1.8 Client Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Manifest This may require a change to the manifest Issue-Feature This is a feature request for the Windows Package Manager client.
Projects
None yet
Development

No branches or pull requests

1 participant