mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
installer:
- fix bug that LyX's LaTeX files were tried to install although the user denied to use LaTeX.nsh - propose to add a desktop item for LyX (can be switched off by the user) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39584 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
857ae16318
commit
ad0ebcdb1d
@ -146,6 +146,8 @@ Function ConfigureMiKTeX
|
||||
# installs the LaTeX class files that are delivered with LyX
|
||||
# and enable MiKTeX's automatic package installation
|
||||
|
||||
# install LyX's LaTeX class and style files
|
||||
${if} $PathLaTeX != ""
|
||||
${if} $MultiUser.Privileges != "Admin"
|
||||
${orif} $MultiUser.Privileges != "Power"
|
||||
StrCpy $PathLaTeXLocal "$PathLaTeX" -11 # delete "\miktex\bin"
|
||||
@ -170,6 +172,7 @@ Function ConfigureMiKTeX
|
||||
${endif}
|
||||
Pop $UpdateFNDBReturn # Return value
|
||||
${endif}
|
||||
${endif}
|
||||
|
||||
# enable package installation without asking (1 = Yes, 0 = No, 2 = Ask me first)
|
||||
WriteRegStr HKCU "SOFTWARE\MiKTeX.org\MiKTeX\$MiKTeXVersion\MPM" "AutoInstall" "1" # if only for current user
|
||||
|
@ -199,7 +199,7 @@ SectionEnd
|
||||
Section "$(SecFileAssocTitle)" SecFileAssoc
|
||||
StrCpy $CreateFileAssociations "true"
|
||||
SectionEnd
|
||||
Section /o "$(SecDesktopTitle)" SecDesktop
|
||||
Section "$(SecDesktopTitle)" SecDesktop
|
||||
StrCpy $CreateDesktopIcon "true"
|
||||
SectionEnd
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user