Fix case-insensitive registry display name check in Windows installer for DistroAV and OBS-NDI#1448
Conversation
Done in a3eb400. Extracted the check into |
There was a problem hiding this comment.
Pull request overview
Updates the Inno Setup Windows installer logic to more reliably detect and uninstall legacy DistroAV/OBS-NDI installs by making the registry DisplayName checks case-insensitive and recognizing both the current and historical plugin names.
Changes:
- Add
IsDistroAVOrObsNdiDisplayName()helper to centralize display-name detection logic. - Switch the
{}_is1 (6.1.0) uninstall gating logic from case-sensitivePos('DistroAV', ...)to case-insensitive checks. - Expand the accepted display-name substrings to include both
distroavandobs-ndi.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
paulpv
left a comment
There was a problem hiding this comment.
@Trouffman @RayneYoruka @BitRate27 This PR's code looks fine now, but I think we are still trying to figure out why Rayne is weirdly seeing some plugin(s) still uninstall. :/
Pos('DistroAV', DisplayNameRegistry)calls to case-insensitive checks usingLowerCase()obs-ndi(old plugin name) in addition todistroavin bothHKLMandHKCUregistry checksIsDisplayNameDistroAvOrObsNdi()helper function