-
-
Notifications
You must be signed in to change notification settings - Fork 628
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
Change format of add/remove programs registration to improve winget support #13911
Conversation
See test results for failed build of commit 3016b96849 |
0b1c3e8
to
6f7e444
Compare
6f7e444
to
b100dca
Compare
Co-authored-by: Sean Budd <[email protected]>
Co-authored-by: Sean Budd <[email protected]>
See test results for failed build of commit bbf2b78072 |
To progress this, consideration should given to usages of the changed version numbers and what impact it will have. In particular:
|
Co-authored-by: Sean Budd <[email protected]>
Co-authored-by: Sean Budd <[email protected]>
@seanbudd your review comments didn't work because string formatting was used to fill the installDir. I changed this to a function instead that takes the install dir and also calculates the estimated size. |
As noted above, this only has impact to add/remove programs.
No. versionInfo.version is not changed with this pr.
It won't, as that relies on the update check mechanism. |
See test results for failed build of commit 3180e60398 |
Link to issue number:
Fixes #12469
Summary of the issue:
Winget is the new package manager in the most recent versions of Windows 10 and 11. It allows automatic updating via the command line. However, Winget threats Alpha versions of NVDA older than any released version. This means that, when an Alpha version for NVDA 2022.3 is installed, Winget will yet threat NVDA 2022.1 as an upgrade. See microsoft/winget-cli#1209 (comment) for more information about version parsing in Winget. In short, our versioning scheme for alpha versions (e.g.
alpha-25875,d6a193ae
) is considered pretty exotic.I proposed three possible solutions in #12469 (comment). Option 3 is not possible with winget, see microsoft/winget-cli#1209 (comment). Therefore, this pr chooses option 1, but it extends on that (see below)
Description of user facing changes
In add/remove programs:
In about window:
Apart from fixing Winget this way, it will be much easier for end users to see on what year.major.minor branch of NVDA they are with their alpha version.
note that versions in other places are really not affected. Therefore this change is barely visible. Also note that having a version in the Displayname and the product version in the DisplayVersion for ARP is pretty common. This is used by Visual Studio for example.
Testing strategy:
Install a try build and observe that in Windows add/remove programs / apps and features, the pr identifier is moved to the display name whereas the version is constructed of year.major.minor.build.
Known issues with pull request:
Change log entries:
Bug fixes
Code Review Checklist: