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:
Uwe Stöhr 2011-08-19 22:19:09 +00:00
parent 6b36f46b4f
commit 3d8905fc36
2 changed files with 11 additions and 9 deletions

View File

@ -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

View File

@ -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}