diff --git a/development/Win32/packaging/installer2/src/main.nsh b/development/Win32/packaging/installer2/src/main.nsh index f08dca6763..c91c1df016 100644 --- a/development/Win32/packaging/installer2/src/main.nsh +++ b/development/Win32/packaging/installer2/src/main.nsh @@ -265,9 +265,9 @@ ${Else} SetShellVarContext all ${EndIf} - !if ${APP_ARCHITECTURE} <> 32 + ${If} ${RunningX64} SetRegView ${APP_ARCHITECTURE} - !endif + ${EndIf} FunctionEnd !macroend