Skip to content
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

Detect outdated VC Redist with MSI Installer #11469

Merged
merged 1 commit into from
Nov 22, 2024
Merged

Conversation

droidmonkey
Copy link
Member

image

This change will prevent installation of KeePassXC until the VC Redist is updated. Unfortunately, we cannot launch the web browser since you are only allowed to define one launch command and we use that to start KeePassXC post-install.

Testing strategy

Tested by reducing the version number in the registry.

Type of change

  • ✅ Bug fix (non-breaking change that fixes an issue)

Copy link

codecov bot commented Nov 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.85%. Comparing base (2fc24be) to head (b6c6ae5).
Report is 13 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #11469      +/-   ##
===========================================
+ Coverage    63.84%   63.85%   +0.01%     
===========================================
  Files          362      362              
  Lines        38115    38115              
===========================================
+ Hits         24334    24336       +2     
+ Misses       13781    13779       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@phoerious
Copy link
Member

Can you make it a clickable link?

@droidmonkey
Copy link
Member Author

No, unfortunately not

@phoerious
Copy link
Member

At this point we should probably localise the installer, though. I bet many non-English users will have (even more) trouble with this message.

@phoerious phoerious added pr: bugfix Pull request that fixes a bug and removed bug labels Nov 22, 2024
@droidmonkey
Copy link
Member Author

droidmonkey commented Nov 22, 2024

Localizing MSI is nearly impossible, you have to provide a different MSI for each language you want to provide. It's just not worth it. https://wixtoolset.org/docs/v3/wixui/wixui_localization/#creating-multiple-setups-with-different-setup-ui-languages

@droidmonkey droidmonkey merged commit bf856d2 into develop Nov 22, 2024
11 checks passed
@droidmonkey droidmonkey deleted the fix/vcredist-detect branch November 22, 2024 22:34
@phoerious
Copy link
Member

That's ridiculous.

@droidmonkey droidmonkey added the pr: backported Pull request backported to previous release label Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
distribution platform: Windows pr: backported Pull request backported to previous release pr: bugfix Pull request that fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

KeePassXC Installer should check VCredist Version
2 participants