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