]> git.lyx.org Git - features.git/commitdiff
installer: fix my commit r39479 - I accidentally committed a test version, sorry
authorUwe Stöhr <uwestoehr@web.de>
Fri, 12 Aug 2011 23:00:43 +0000 (23:00 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Fri, 12 Aug 2011 23:00:43 +0000 (23:00 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39480 a592a061-630c-0410-9148-cb99ea01b6c8

development/Win32/packaging/installer/include/detection.nsh
development/Win32/packaging/installer/setup/configure.nsh

index f3b5c0486892f6ee84c27127f817107a6757e694..57e9b229cade6df22fdbe3da7200fcddc6d33fc9 100644 (file)
@@ -143,7 +143,7 @@ Function MissingPrograms
    StrCpy $JabRefInstalled == "Yes"
   ${endif}
   
-  # test if and where the BibTeX-editor JabRef is installed
+  # test if and where LilyPond is installed
   ReadRegStr $LilyPondPath HKLM "Software\LilyPond" "Install_Dir"
   ${if} $LilyPondPath != ""
    StrCpy $LilyPondPath "$LilyPondPath\usr\bin" # add "\usr\bin"
index bbe74966ce7f1b7d74597a49d38bfff4df93ac49..bccf881a2dd00e0e526ddb8cc319db607340cd3e 100644 (file)
@@ -149,13 +149,13 @@ Section -Configure
   ${endif}
   # if LilyPondPath was found
   # we need to add these entris because python scripts can only be executed
-  # if the full path to lilypond-book.py is given
+  # if the full path is given
   ${if} $LilyPondPath != ""
    FileWrite $R1 '\format "lilypond-book" "lytex" "LilyPond book (LaTeX)" "" "" "auto" "document,menu=export"$\r$\n\
-                 \converter "lilypond-book" "pdflatex" "python \"C:\\Program Files (x86)\\LilyPond\\usr\\bin\\lilypond-book.py\" --safe --pdf --latex-program=pdflatex --lily-output-dir=ly-pdf $$$$i" ""$\r$\n\
-                 \converter "lilypond-book" "xetex" "python \"C:\\Program Files (x86)\\LilyPond\\usr\\bin\\lilypond-book.py\" --safe --pdf --latex-program=xelatex --lily-output-dir=ly-pdf $$$$i" ""$\r$\n\
-                 \converter "lilypond-book" "luatex" "python \"C:\\Program Files (x86)\\LilyPond\\usr\\bin\\lilypond-book.py\" --safe --pdf --latex-program=lualatex --lily-output-dir=ly-pdf $$$$i" ""$\r$\n\
-                 \converter "lilypond-book" "latex" "python \"C:\\Program Files (x86)\\LilyPond\\usr\\bin\\lilypond-book.py\" --safe --lily-output-dir=ly-eps $$$$i" ""$\r$\n'
+                 \converter "lilypond-book" "pdflatex" "python \"$LilyPondPath\\lilypond-book.py\" --safe --pdf --latex-program=pdflatex --lily-output-dir=ly-pdf $$$$i" ""$\r$\n\
+                 \converter "lilypond-book" "xetex" "python \"$LilyPondPath\\lilypond-book.py\" --safe --pdf --latex-program=xelatex --lily-output-dir=ly-pdf $$$$i" ""$\r$\n\
+                 \converter "lilypond-book" "luatex" "python \"$LilyPondPath\\lilypond-book.py\" --safe --pdf --latex-program=lualatex --lily-output-dir=ly-pdf $$$$i" ""$\r$\n\
+                 \converter "lilypond-book" "latex" "python \"$LilyPondPath\\lilypond-book.py\" --safe --lily-output-dir=ly-eps $$$$i" ""$\r$\n'
   ${endif}
   FileClose $R1
   IfErrors 0 +2