From 863b6ce5158818b148a7c1529fcad5e973810322 Mon Sep 17 00:00:00 2001 From: vcsekhar <1406424+vcsekhar@users.noreply.github.com> Date: Wed, 20 May 2020 18:58:35 -0400 Subject: [PATCH] Registry Check path updated for OBS Studio 25.0.8 OBS Studio 25.0.8 uses the registry path HKLM\Software\OBS Studio; hence this update prevents false negatives. --- installer/installer.nsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/installer/installer.nsi b/installer/installer.nsi index 8976bef..de0809c 100644 --- a/installer/installer.nsi +++ b/installer/installer.nsi @@ -42,8 +42,8 @@ RequestExecutionLevel admin !insertmacro MUI_RESERVEFILE_LANGDLL Function PreReqCheck - ; Check to see if OBS is Installed - ReadRegStr $0 HKLM "Software\Open Broadcaster Software" "" + ; Check to see if OBS is Installed; + ReadRegStr $0 HKLM "Software\OBS Studio" "" ${If} $0 == ""; MessageBox MB_OK|MB_ICONSTOP "${APPNAME} requires that Open Broadcaster Software be already installed." @@ -128,4 +128,4 @@ Section Uninstall SectionEnd -; eof \ No newline at end of file +; eof