Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix missing DisplayVersion registry key for nvm.iss #796

Merged
merged 1 commit into from
Aug 3, 2022

Conversation

awdr74100
Copy link
Contributor

winget uses the DisplayVersion registry key to confirm whether the package should be updated:

螢幕擷取畫面 2022-05-04 190542

winget will display the correct version:

螢幕擷取畫面 2022-05-04 190823

this avoids the problem of constant updates caused by Unknown versions.

refer to this discussion.

@Mr1008
Copy link

Mr1008 commented May 5, 2022

This would be nice to have it merged and released so it is not constantly updated by winget

@github-actions
Copy link

github-actions bot commented Jun 5, 2022

This PR is stale because it has been open 45 days with no activity.

@github-actions github-actions bot added the Stale Stale label Jun 5, 2022
@SonnyRR
Copy link

SonnyRR commented Jun 20, 2022

Any update on this PR ? I'm still experiencing the issue with the unknown version both on Win 10 & Win 11 21H2 causing winget to always list that a new version is available.

@github-actions github-actions bot removed the Stale Stale label Jun 21, 2022
@Mr1008
Copy link

Mr1008 commented Jun 30, 2022

@coreybutler Sorry for mentioning, would it be possible to include it in next release, please?

@balbertho
Copy link

balbertho commented Jul 3, 2022

I don't think this maybe the fix, since the DisplayVersion should be able to be set by Inno Setup in
https://github.com/jrsoftware/issrc/blob/bd96b87f5edc0317134e3d5c0b9ed321e3f01015/Projects/Install.pas#L692
Furthermore, the DisplayVersion is able to be set before 1.1.8 release.
What I found is that MyAppVersion is defined in

#define MyAppVersion "1.1.9"
, but it has not been used in the same file, while older release like https://github.com/coreybutler/nvm-windows/blob/1.1.7/nvm.iss will use MyAppVersion in the same file, is it maybe just a typo issue?

@github-actions
Copy link

github-actions bot commented Aug 3, 2022

This PR is stale because it has been open 45 days with no activity.

@github-actions github-actions bot added the Stale Stale label Aug 3, 2022
@coreybutler coreybutler removed the Stale Stale label Aug 3, 2022
Copy link
Owner

@coreybutler coreybutler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@coreybutler coreybutler merged commit fa8e9bd into coreybutler:master Aug 3, 2022
@balbertho
Copy link

@coreybutler really not a typo issue? 😂

@coreybutler
Copy link
Owner

@balbertho I merged because the separation of variables for the app ID was more consistent with the rest of the installer. The typo is an easy fix.

@balbertho
Copy link

@coreybutler oh, I am sorry, I just think that no need to write the custom registry when the installer do, not noticing the app id variables.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants