[LyX/master] Wininstaller2, fix wrong logic

Eugene Chornyi yu_jin at lyx.org
Sat Jul 11 18:09:56 UTC 2020


commit 16d8141e5e6f804d7589eab992aa82f1e10140a1
Author: Eugene Chornyi <yu_jin at lyx.org>
Date:   Sat Jul 11 20:34:01 2020 +0200

    Wininstaller2, fix wrong logic
---
 .../Win32/packaging/installer2/src/main.nsh        |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/development/Win32/packaging/installer2/src/main.nsh b/development/Win32/packaging/installer2/src/main.nsh
index f08dca6..c91c1df 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
   


More information about the lyx-cvs mailing list