Skip to content

Fix installer blindly uninstalling any app registered under {}_is1 registry key#1442

Merged
Trouffman merged 2 commits into
masterfrom
copilot/fix-distroav-uninstall-obs-plugins
Apr 21, 2026
Merged

Fix installer blindly uninstalling any app registered under {}_is1 registry key#1442
Trouffman merged 2 commits into
masterfrom
copilot/fix-distroav-uninstall-obs-plugins

Conversation

Copilot AI commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

DistroAV 6.1.0's broken installer registered under the empty-GUID key {}_is1. The cleanup code in subsequent installers matched and uninstalled any app sharing that key — including unrelated OBS plugins like StreamUP, DownstreamKeyer, and SceneAsTransition.

Change

  • Get610AppUninstallerPath: Now validates DisplayName contains "DistroAV" before returning the uninstaller path, for both HKLM and HKCU locations.
if ( RegQueryStringValue(HKLM, UninstallRegistryKey610, 'UninstallString', UninstallerPathRegistry) ) then
  begin
    if ( RegQueryStringValue(HKLM, UninstallRegistryKey610, 'DisplayName', DisplayNameRegistry) ) then
      begin
        if ( Pos('DistroAV', DisplayNameRegistry) > 0 ) then
          Result := RemoveQuotes(UninstallerPathRegistry);
      end;
  end

As shown in the screenshot, {}_is1 can be owned by an entirely different app (e.g. StreamUP with DisplayName = "streamup version 2.2.2"). The guard ensures only the legitimate DistroAV 6.1.0 remnant is removed.

Copilot AI changed the title [WIP] Fix DistroAV causing uninstall of OBS plugins Fix installer blindly uninstalling any app registered under {}_is1 registry key Apr 21, 2026
@paulpv
paulpv marked this pull request as ready for review April 21, 2026 18:12
Copilot AI review requested due to automatic review settings April 21, 2026 18:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR hardens the Windows installer cleanup logic to prevent accidentally uninstalling unrelated OBS plugins that happen to be registered under the broken Inno Setup uninstall key Software\Microsoft\Windows\CurrentVersion\Uninstall\{}_is1 left behind by DistroAV 6.1.0.

Changes:

  • Update Get610AppUninstallerPath to additionally validate DisplayName contains DistroAV before returning the uninstaller path.
  • Apply the same DisplayName guard for both HKLM and HKCU uninstall registry locations.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI requested a review from paulpv April 21, 2026 18:21
@Trouffman

Copy link
Copy Markdown
Collaborator

Note : this cannot be tested anymore as we did remove the 6.1.0 installer as this was a known issue on release.

6.1.0 is expected to impact ~600 users today.

@Trouffman
Trouffman merged commit 3f208c6 into master Apr 21, 2026
13 checks passed
@Trouffman
Trouffman deleted the copilot/fix-distroav-uninstall-obs-plugins branch April 21, 2026 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Updating/Installing DistroAV on Windows causes uninstall of some OBS plugins (possibly other apps?)

4 participants