]> git.lyx.org Git - features.git/commitdiff
installer: fix infinite loop (fixes bug #8417)
authorUwe Stöhr <uwestoehr@lyx.org>
Thu, 15 Nov 2012 00:24:52 +0000 (01:24 +0100)
committerUwe Stöhr <uwestoehr@lyx.org>
Thu, 15 Nov 2012 00:24:52 +0000 (01:24 +0100)
development/Win32/packaging/installer/include/detection.nsh

index 11489d66d83e1115a95cd523f506a7d575922797..6ebf133871f9aaae6f3d4ead5d4ca36fedbb5e86 100644 (file)
@@ -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