mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Windows installer: Detect Inkscape when installing
This commit is contained in:
parent
8c9da0c2d6
commit
38a8538194
@ -10,6 +10,7 @@ Function SearchExternal
|
||||
Call SearchLaTeX
|
||||
Call SearchBibTeXEditor
|
||||
Call SearchGnumeric
|
||||
Call SearchInkscape
|
||||
FunctionEnd
|
||||
|
||||
#--------------------------------
|
||||
@ -135,3 +136,13 @@ Function SearchGnumeric
|
||||
|
||||
FunctionEnd
|
||||
|
||||
|
||||
#--------------------------------
|
||||
# Inkscape
|
||||
|
||||
Function SearchInkscape
|
||||
|
||||
ReadRegStr $PathInkscape HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Inkscape" "InstallLocation"
|
||||
|
||||
FunctionEnd
|
||||
|
||||
|
@ -10,6 +10,7 @@ Var PathLaTeX
|
||||
Var PathLaTeXLocal
|
||||
Var PathBibTeXEditor
|
||||
Var PathGnumeric
|
||||
Var PathInkscape
|
||||
|
||||
Var SetupLaTeX
|
||||
Var SizeLaTeX
|
||||
|
@ -97,6 +97,9 @@ Section -Configure
|
||||
${If} $PathGnumeric != ""
|
||||
StrCpy $PathPrefix "$PathPrefix;$PathGnumeric"
|
||||
${EndIf}
|
||||
${If} $PathInkscape != ""
|
||||
StrCpy $PathPrefix "$PathPrefix;$PathInkscape"
|
||||
${EndIf}
|
||||
|
||||
FileWrite $DistFile '\path_prefix "$PathPrefix"$\r$\n'
|
||||
|
||||
|
@ -245,3 +245,5 @@ What's new
|
||||
- Windows installer now detects Gnumeric which is needed for the
|
||||
spreadsheet external inset template (bug 7870).
|
||||
|
||||
- Windows installer now detects Inkscape on installation.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user