Skip to content

win-dshow: Update virtualcam installer scripts - #14028

Merged
RytoEX merged 1 commit into
obsproject:masterfrom
Fenrirthviti:virtualcam_installer_fix
Oct 14, 2026
Merged

RytoEX merged 1 commit into
obsproject:masterfrom
Fenrirthviti:virtualcam_installer_fix

Conversation

@Fenrirthviti

Copy link
Copy Markdown
Member

Description

Remove the registry key check for the virtual camera module installer. The regsvr32 will perform this check itself, so we don't need to if the registration is already present. However, if we want to update the path, simply checking that the key exists will prevent us from being able to update the path in the future, and as necessary for OBS v33+. This also corrects the incorrect file paths to the modules in the new core plugin structure.

Motivation and Context

This script is used by Steam to install the virtualcam, as well as users who are using portable mode. Since the registry key already exists, we can't update the path with this script leading to a broken virtualcam.

How Has This Been Tested?

Tested the script locally

Types of changes

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

Checklist:

  • I have read the contributing document.
  • My code has been run through clang-format.
  • My code follows the project's style guidelines
  • My code is not on the master branch.
  • My code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

@RytoEX RytoEX left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Though processed by CMake, these aren't "cmake" files. When they're changed on their own, the prefix "win-dshow: " is probably more correct.

Script changes look fine otherwise. The steam scripts will still need changes.

@github-project-automation github-project-automation Bot moved this from Ready For Review to Requires Changes in Current Release Tracker (33.0) Oct 14, 2026
@Fenrirthviti

Copy link
Copy Markdown
Member Author

Sure, can amend the commit. Was following prior commits that updated these files and made the assumption that since they were part of the cmake system, they should follow that naming convention.

Remove the registry key check for the virtual camera module installer.
The regsvr32 will perform this check itself, so we don't need to if the
registration is already present. However, if we want to update the path,
simply checking that the key exists will prevent us from being able to
update the path in the future, and as necessary for OBS v33+. This also
corrects the incorrect file paths to the modules in the new core plugin
structure.
@Fenrirthviti
Fenrirthviti force-pushed the virtualcam_installer_fix branch from c62003c to ec2ce5e Compare October 14, 2026 17:18
@Fenrirthviti Fenrirthviti changed the title cmake: Update virtualcam installer scripts win-dshow: Update virtualcam installer scripts Oct 14, 2026
@RytoEX
RytoEX merged commit b92a28f into obsproject:master Oct 14, 2026
15 checks passed
@github-project-automation github-project-automation Bot moved this from Requires Changes to Merged in Current Release Tracker (33.0) Oct 14, 2026
@Fenrirthviti
Fenrirthviti deleted the virtualcam_installer_fix branch October 14, 2026 18:18
@Fenrirthviti Fenrirthviti mentioned this pull request Oct 14, 2026
7 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Merged

Development

Successfully merging this pull request may close these issues.

3 participants