From fac3217c4614ef4133eaf82442d2c58b250674cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20St=C3=B6hr?= Date: Thu, 15 Nov 2012 01:24:52 +0100 Subject: [PATCH] installer: fix infinite loop (fixes bug #8417) --- development/Win32/packaging/installer/include/detection.nsh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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