From: Uwe Stöhr Date: Thu, 15 Nov 2012 00:24:52 +0000 (+0100) Subject: installer: fix infinite loop (fixes bug #8417) X-Git-Tag: 2.1.0beta1~1266 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=fac3217c4614ef4133eaf82442d2c58b250674cc;p=features.git installer: fix infinite loop (fixes bug #8417) --- diff --git a/development/Win32/packaging/installer/include/detection.nsh b/development/Win32/packaging/installer/include/detection.nsh index 11489d66d8..6ebf133871 100644 --- a/development/Win32/packaging/installer/include/detection.nsh +++ b/development/Win32/packaging/installer/include/detection.nsh @@ -73,7 +73,11 @@ Function MissingPrograms ${if} ${RunningX64} ${andif} $GhostscriptPath == "" StrCpy $3 0 - goto GSloop + # we have to assure that we only repeat once and not forever + ${if} $4 != "32" + StrCpy $4 "32" + goto GSloop + ${endif} ${endif} # test if Python is installed