mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
installer: fix now all compiler warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39497 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6b36f46b4f
commit
3d8905fc36
@ -24,7 +24,9 @@ Var DelPythonFiles
|
||||
Var EditorPath
|
||||
Var GhostscriptPath
|
||||
Var ImageEditorPath
|
||||
Var InstallJabRef
|
||||
!if ${SETUPTYPE} == BUNDLE
|
||||
Var InstallJabRef
|
||||
!endif
|
||||
Var JabRefInstalled
|
||||
Var LaTeXName
|
||||
Var LaTeXInstalled
|
||||
|
@ -11,7 +11,7 @@ Installation of program files, dictionaries and external components
|
||||
|
||||
Var PythonCompileFile
|
||||
Var PythonCompileReturn
|
||||
Var DownloadResult
|
||||
#Var DownloadResult
|
||||
|
||||
Section -ProgramFiles SecProgramFiles
|
||||
|
||||
@ -112,7 +112,7 @@ Section -ProgramFiles SecProgramFiles
|
||||
${endif}
|
||||
${endif}
|
||||
${endif}
|
||||
!endif
|
||||
!endif # end if BUNDLE
|
||||
|
||||
# install eLyXer as Python module
|
||||
ExecWait '"$INSTDIR\python\python.exe" "$INSTDIR\python\setup.py" install'
|
||||
@ -155,8 +155,8 @@ SectionEnd
|
||||
#--------------------------------
|
||||
# Extenral components
|
||||
|
||||
Var PathAllUsers
|
||||
Var PathCurrentUser
|
||||
#Var PathAllUsers
|
||||
#Var PathCurrentUser
|
||||
|
||||
!macro EXTERNAL COMPONENT
|
||||
|
||||
@ -184,10 +184,10 @@ Var PathCurrentUser
|
||||
|
||||
ExecWait '"$PLUGINSDIR\${COMPONENT}Setup.exe"'
|
||||
|
||||
# Updates the path environment variable of the instaler process to the latest system value
|
||||
ReadRegStr $PathAllUsers HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" Path
|
||||
ReadRegStr $PathCurrentUser HKCU "Environment" Path
|
||||
System::Call 'kernel32::SetEnvironmentVariableA(t, t) i("Path", "$PathAllUsers;$PathCurrentUser").'
|
||||
# Updates the path environment variable of the installer process to the latest system value
|
||||
# ReadRegStr $PathAllUsers HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" Path
|
||||
# ReadRegStr $PathCurrentUser HKCU "Environment" Path
|
||||
# System::Call 'kernel32::SetEnvironmentVariableA(t, t) i("Path", "$PathAllUsers;$PathCurrentUser").'
|
||||
|
||||
Call Search${COMPONENT}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user