]> git.lyx.org Git - features.git/blobdiff - development/Win32/packaging/installer/include/LyXUtils.nsh
Consider inset strings in simple find/replaceAll (#12049)
[features.git] / development / Win32 / packaging / installer / include / LyXUtils.nsh
index f76c9c45724781e9ae0759aa392dcb83a2bff40b..eda1599fd65e2a76b457b1ea740e3932cf885219 100644 (file)
@@ -1,4 +1,4 @@
-# This script contains the following functions:
+# This script contains the following functions:
 #
 # - LaTeXCheck (check installed LaTeX-system),
 #    (only used by Small and Complete installer), uses:
 #    StrPoint
 #    UnAppPreSuff
 #
-# - CheckAppPathPreferences (replaces the old install folder name with the new one in the preferences files)
-#                           (used by Update installer), uses:
-#    ReplaceLineContent
-#
-# - IsUserAdmin (checks if user is admin)
-#
 # - FileCheck (checks if a given file exists)
 #
 #--------------------------
@@ -365,8 +359,8 @@ FunctionEnd
    ${endif}
    StrCpy ${PathResult} "${PathResult}$String"
    # check if the FileName exists in the ${Result} folder
-   !insertmacro FileCheck $R5 ${FileName} ${PathResult}
-   ${if} $R5 == "False"
+   !insertmacro FileCheck $Tmp ${FileName} ${PathResult}
+   ${if} $Tmp == "False"
     StrCpy ${PathResult} "False"
    ${endif}
    EndPATHCheck_${ID}: