-# 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)
#
#--------------------------
${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}: