Comments (6)
This doesn't seem to be an issue on every machine. I just pushed the package to 35 machine and it is reporting incorrectly on about half of them.
from winget-cli-restsource.
Was this application installed on any of the devices before the push?
It's possible an entry from the installed database showed winget as the source before the private source was added.
Possible work around:
If you can test, try uninstalling the app and then reinstalling from the private source.
We don't have a notion of an order of preference for a source when the package is available in more than one source yet.
from winget-cli-restsource.
Yes, the application was already installed. I tried to upgrade it to a newer version.
Unfortunately, uninstalling it and reinstalling did not work. I even updated the package to have the same ID as the public repository to see if that would help, but it did not. Oddly enough, this was not an issue with the previous version.
In doing this testing, I may have found why I am having issues. I am having trouble with the internal repository after I uploaded a new version of an (unrelated) application. It looks like that may be keeping WinGet from exporting packages from the private repository. This is the error I am seeing on the other repository:
2024-01-12 01:06:16.583 [REPO] Finding available package from installed package using system reference search: Query:[none] Include:ProductCode='sapgui'[Exact] Include:NormalizedNameAndPublisher='sapguiforwindows'+'sapse'[Exact] Include:NormalizedNameAndPublisher='sapguiforwindows(x86)'+'sapse'[Exact]
2024-01-12 01:06:16.586 [REPO] Sending http GET request to: https://internal-repo-url.net/api/packageManifests/Company.SAPGUI
2024-01-12 01:06:16.690 [REPO] Response status: 200
2024-01-12 01:06:16.691 [FAIL] C:\__w\1\s\external\pkg\src\AppInstallerSharedLib\Versions.cpp(573)\WindowsPackageManager.dll!00007FF888AF6324: (caller: 00007FF888AF8E05) Exception(1) tid(727c) 80070057 The parameter is incorrect.
from winget-cli-restsource.
@Smith8154 I'm going to transfer this issue to the winget-cli-restsource repository so we can look into troubleshooting what went wrong since it seems like it may be an issue with the REST implementation then.
from winget-cli-restsource.
@denelon Is there anyone who can help me look into this?
from winget-cli-restsource.
Below is the YAML for the manifest. I only started having this issue after I uploaded version 8.05 to the repository.
{
"Data": {
"PackageIdentifier": "Company.SAPGUI",
"Versions": [
{
"PackageVersion": "8.03",
"DefaultLocale": {
"PackageLocale": "en-US",
"Publisher": "SAP SE",
"PackageName": "SAP GUI",
"License": "Proprietary",
"ShortDescription": "SAP GUI"
},
"Installers": [
{
"InstallerIdentifier": "aa2ce3e7-aedc-426d-b208-48c382a25720",
"InstallerSha256": "9c56f0badee3c921721fdca9a5dda780646c9190defb34956184c237384fd96e",
"InstallerUrl": "https://internalwingetrepo.net/abunchofstuff",
"Architecture": "x86",
"InstallerLocale": "en-US",
"InstallerType": "exe",
"Scope": "machine",
"InstallModes": [
"silent"
],
"InstallerSwitches": {
"Silent": "/silent",
"Custom": "/package=\"CompanySAPGUI8.032bit\""
},
"InstallerSuccessCodes": [
129
],
"InstallerAbortsTerminal": false,
"ReleaseDate": "0001-01-01T00:00:00",
"InstallLocationRequired": false,
"RequireExplicitUpgrade": false,
"AppsAndFeaturesEntries": [
{
"DisplayName": "SAP GUI for Windows 8.00 32bit Patch 3",
"Publisher": "SAP SE",
"DisplayVersion": "8.00 Compilation 1",
"ProductCode": "SAPGUI"
}
],
"DisplayInstallWarnings": false
}
]
},
{
"PackageVersion": "8.05",
"DefaultLocale": {
"PackageLocale": "en-US",
"Publisher": "SAP SE",
"PackageName": "SAP GUI",
"License": "Proprietary",
"ShortDescription": "SAP GUI"
},
"Installers": [
{
"InstallerIdentifier": "a062c1f0-6520-4d10-9c1d-5ec2f580e392",
"InstallerSha256": "8b9c6aeb2e33ba7424e788d10ea41c2261f9eca91b108a6d2c944be75ca86643",
"InstallerUrl": "https://internalwingetrepo.net/abunchofstuff",
"Architecture": "x86",
"InstallerLocale": "en-US",
"InstallerType": "exe",
"Scope": "machine",
"InstallModes": [
"silent"
],
"InstallerSwitches": {
"Silent": "/silent",
"Custom": "/package=\"CompanySAPGUI8.00_32bit\""
},
"InstallerSuccessCodes": [
129
],
"InstallerAbortsTerminal": false,
"ReleaseDate": "0001-01-01T00:00:00",
"InstallLocationRequired": false,
"RequireExplicitUpgrade": false,
"AppsAndFeaturesEntries": [
{
"DisplayName": "SAP GUI for Windows 8.00 32bit Patch 5",
"Publisher": "SAP SE",
"DisplayVersion": "8.00 Compilation 1",
"ProductCode": "SAPGUI"
}
],
"DisplayInstallWarnings": false
}
]
}
]
},
"UnsupportedQueryParameters": [],
"RequiredQueryParameters": []
}
from winget-cli-restsource.
Related Issues (20)
- Get-WinGetManifest does not work with .yaml files because it's relying on a missing variable HOT 1
- Get-WinGetManifest logic is broken around how it performs path detection HOT 1
- Completely broken HOT 1
- Unable to Invoke API Requests
- OpenApi definition: autorest
- How should a REST source handle different ManifestVersions?
- Full Offline / closed network capabilities including feed generation HOT 5
- Missing application settings under Azure function
- make a non azure referance implementation HOT 5
- Parameter missing in Automate the creation of a Windows Package Manager REST source HOT 2
- New-WinGetSource cmdlet doesn't exist HOT 1
- Select and upgrade like options HOT 3
- Add Manifest to Private Repo using "Add-WingetManifest" command failed. HOT 1
- Entra ID authentication
- Unable to Create Rest Source HOT 4
- Installer `RepairBehavior` never used by the 1.7.0 API schema?
- Native Winget Repo Server for Windows Server HOT 6
- Deployment fails if there are multiple CosmosDB accounts in the RG HOT 1
- New-WinGetSource fails with Unauthorized error on publish-azwebapp HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from winget-cli-restsource.