]> git.lyx.org Git - features.git/blobdiff - development/Win32/packaging/AltInstaller/MissingPrograms.nsh
installer: - use Inkscape as SVG to PDF converter when it is installed
[features.git] / development / Win32 / packaging / AltInstaller / MissingPrograms.nsh
index 9fb0e98c5026964c55b9656f9a6f3d1151233a06..fcaab73ed279d2ca12e1691ac6c05f73f450cec5 100644 (file)
@@ -1,3 +1,17 @@
+# This script contains the following functions:
+#
+# - MissingPrograms, (check if third-party programs are installed), uses:
+#    EditorCheck
+#    FileCheck
+#
+# - MissingProgramsPage,
+#    (generate the page showing the missing programs that will be installed)
+#
+# - EditorCheck,
+#    (test if an editor with syntax-highlighting for LaTeX-files is installed)
+#
+#--------------------------
+
 Function MissingPrograms
   # check if third-party programs are installed
 
@@ -117,6 +131,9 @@ Function MissingPrograms
   ${if} $BibTeXEditorPath == ""
    ReadRegStr $BibTeXEditorPath HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\JabRef 2.2" "UninstallString"
   ${endif}
+  
+  # test if Inkscape is installed
+  ReadRegStr $SVGPath HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Inkscape" "InstallLocation"
 
 FunctionEnd