-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Installed packages not identified as available on Wingetty since there is no ProductCode on each package installer #57
Comments
Just to complement, add more information on this: Reading the wingetty code I understand each installed is stored with architecture, installer_type, file_name, installer_sha256, scope..... Adding optional ProductCode could enhance this. But here the part missing also would be to reply to winget restAPI to reply for each installer InstallerSha256 and ProductCode |
I am also interrested in this. I have uploaded a new package with a minor version update, but it does not appear in the available column in "winget upgrade" list. The new version of the package does show up when I run "winget search". |
This comment was marked as off-topic.
This comment was marked as off-topic.
Do you have any example of software where this fails? |
We do not have an example at hand unfortunately, but the application is made in Cordova electron platform and built as .exe file. |
Okay, as I've noticed is that the ProductCode normally only gets used by MSI installers according to the winget docs, although the VCRedist mentioned above for example is an exe. |
I investigated little bit more, if manifest JSON that WinGetty replies to winget command would include "ProductCode" inside "Installers" section, this I think will solve the issue. It is very easy to find from a system where that specific app was installed the ProductCodeID, just launching wmi or Powershell command, to capture it each time a new installer is uploaded into WinGetty Absolutely right, each installer would have different Product Code ID. I think it could be an optional argument when uploading a new installer into one package, then winGetty will reply manifest including the ProductCode or not depending if has been filled in. This will be mandatory for those who would like to transition Windows Client pool into winget, I performed POC during last two weeks and I see no other possibility to migrate from pool with already installed apps to start using winget as software distribution for an Enterprise company. Since otherwise current apps arent detected, so you cannot push the upgrade to newer versions of same applications (packages) otherwise. Thanks, |
First congratulations on this project, I am looking forward for development of it. It solves one of biggest issues now with Microsoft Package Management.
I noticed when joining systems to the WinGetty repo and listing for Softwares already installed they appear as SearchId {ProductCode} and not as Wingetty Identifier Publisher.Name, so I cant handle them on winget until I manually uninstall them from system, then install using the Winget install command.
I see on the Official Microsoft winget Manifest repository, most of the packages, each version, it contains ProductCode identifier explicitly stated there. So somehow when winget list is used, it will recognize if the Packages are in the repo.
Solution for this could be to have an extra field whenever new version of package is uploaded to wingetty, so optionally we could state the right ProductCode, like for instance ProductCode: '{7d607fb4-7e28-4c7a-a92f-3fcdaf555faf}' for Microsoft.VCRedist2015
Thanks,
The text was updated successfully, but these errors were encountered: