Skip to content

Instantly share code, notes, and snippets.

@BraINstinct0
Created May 1, 2022 00:09
Show Gist options
  • Save BraINstinct0/6af31baac6b6332ff7ddebbb12f3b651 to your computer and use it in GitHub Desktop.
Save BraINstinct0/6af31baac6b6332ff7ddebbb12f3b651 to your computer and use it in GitHub Desktop.
PS script to add GOG version info to registry, so that WinGet can recognize it
New-ItemProperty -Path "HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{7258BA11-600C-430E-A759-27E2C691A335}_is1" -Name DisplayVersion -Value ((Get-ItemProperty -Path HKLM:\SOFTWARE\WOW6432Node\GOG.com\GalaxyClient -Name version).version) -Force
@BraINstinct0
Copy link
Author

Must be run with Admin previliges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment