Wininstaller: remove (old) installer, installer2 becomes (new) installer

This commit is contained in:
Eugene Chornyi 2021-01-12 17:33:44 +01:00
parent c049527941
commit 475b71094f
62 changed files with 384 additions and 5394 deletions

View File

@ -1,24 +0,0 @@
astuteinternet
ayera
cfhcable
cytranet
datapacket
excellmedia
freefr
iweb
jaist
kent
liquidtelecom
managedway
nchc
netcologne
netix
newcontinuum
phoenixnap
pilotfiber
razaoinfo
superb-dca2
svwh
ufpr
versaweb
vorboss

View File

@ -1,146 +0,0 @@
af_ZA.aff
af_ZA.dic
ar_SA.aff
ar_SA.dic
be_BY.aff
be_BY.dic
bg_BG.aff
bg_BG.dic
bo_CN.aff
bo_CN.dic
br_FR.aff
br_FR.dic
ca_ES.aff
ca_ES.dic
cop_EG.aff
cop_EG.dic
cs_CZ.aff
cs_CZ.dic
cy_GB.aff
cy_GB.dic
da_DK.aff
da_DK.dic
dsb_DE.aff
dsb_DE.dic
de_AT.aff
de_AT.dic
de_CH.aff
de_CH.dic
de_DE.aff
de_DE.dic
el_GR.aff
el_GR.dic
en_AU.aff
en_AU.dic
en_CA.aff
en_CA.dic
en_GB.aff
en_GB.dic
en_NZ.aff
en_NZ.dic
en_US.aff
en_US.dic
eo_EO.aff
eo_EO.dic
es_ES.aff
es_ES.dic
es_MX.aff
es_MX.dic
et_EE.aff
et_EE.dic
eu_ES.aff
eu_ES.dic
fa_IR.aff
fa_IR.dic
fr_CA.aff
fr_CA.dic
fr_FR.aff
fr_FR.dic
ga_IE.aff
ga_IE.dic
gd_GB.aff
gd_GB.dic
gl_ES.aff
gl_ES.dic
hi_IN.aff
hi_IN.dic
hsb_DE.aff
hsb_DE.dic
he_IL.aff
he_IL.dic
hr_HR.aff
hr_HR.dic
hu_HU.aff
hu_HU.dic
hy_AM.aff
hy_AM.dic
ia_IA.aff
ia_IA.dic
id_ID.aff
id_ID.dic
is_IS.aff
is_IS.dic
it_IT.aff
it_IT.dic
ka_GE.aff
ka_GE.dic
kk_KZ.aff
kk_KZ.dic
ko_KR.aff
ko_KR.dic
la_LA.aff
la_LA.dic
lt_LT.aff
lt_LT.dic
lv_LV.aff
lv_LV.dic
mr_IN.aff
mr_IN.dic
ms_MY.aff
ms_MY.dic
nb_NO.aff
nb_NO.dic
nl_NL.aff
nl_NL.dic
nn_NO.aff
nn_NO.dic
oc_FR.aff
oc_FR.dic
pl_PL.aff
pl_PL.dic
pt_BR.aff
pt_BR.dic
pt_PT.aff
pt_PT.dic
ro_RO.aff
ro_RO.dic
ru_RU.aff
ru_RU.dic
sk_SK.aff
sk_SK.dic
sl_SI.aff
sl_SI.dic
sq_AL.aff
sq_AL.dic
sr_RS.aff
sr_RS.dic
sr_RS-Latin.aff
sr_RS-Latin.dic
sv_SE.aff
sv_SE.dic
ta_IN.aff
ta_IN.dic
te_IN.aff
te_IN.dic
th_TH.aff
th_TH.dic
tk_TM.aff
tk_TM.dic
tr_TR.aff
tr_TR.dic
uk_UA.aff
uk_UA.dic
ur_PK.aff
ur_PK.dic
vi_VN.aff
vi_VN.dic

View File

@ -1,319 +0,0 @@
l3kernel
l3packages
l3experimental
ctablestack
babel-albanian
babel-azerbaijani
babel-basque
babel-belarusian
babel-bosnian
babel-breton
babel-bulgarian
babel-catalan
babel-croatian
babel-czech
babel-danish
babel-dutch
babel-english
babel-esperanto
babel-estonian
babel-finnish
babel-french
babel-friulan
babel-galician
babel-georgian
babel-german
babel-greek
babel-hebrew
babel-hungarian
babel-icelandic
babel-indonesian
babel-interlingua
babel-irish
babel-italian
babel-japanese
babel-kurmanji
babel-latin
babel-latvian
babel-macedonian
babel-malay
babel-norsk
babel-piedmontese
babel-polish
babel-portuges
babel-romanian
babel-romansh
babel-russian
babel-samin
babel-scottish
babel-serbian
babel-serbianc
babel-slovak
babel-slovenian
babel-sorbian
babel-spanish
babel-swedish
babel-thai
babel-turkish
babel-ukrainian
babel-vietnamese
babel-welsh
bezos
frankenstein
algorithms
algorithm2e
apacite
arabi
authordate
beamerposter
biblatex
bibtopic
caption
booktabs
braille
breakurl
cjk
cancel
chemgreek
chicago
covington
csquotes
endnotes
enumitem
environ
esint
eso-pic
fancybox
fancyhdr
filehook
footmisc
forest
framed
greek-fontenc
greek-inputenc
harvard
hyphenat
inlinedef
iftex
jurabib
lettrine
listings
lithuanian
genmisc
georgian
mathtools
mhchem
mongolian-babel
mslapa
natbib
units
nomencl
paralist
pdfcomment
pdfpages
pgf
prettyref
preview
refstyle
rotfloat
sectionbox
serbianc
setspace
soul
splitindex
stmaryrd
subfig
tablefootnote
tcolorbox
tex4ht
trimspaces
turkmen
ucharcat
ulem
undertilde
unicode-math
url
vntex
wallpaper
wrapfig
xargs
xcolor
arydshln
braket
colortbl
diagbox
etoolbox
fp
makecmds
marginnote
picinpar
pict2e
sidecap
was
bera
libertine
ccfonts
concrete
ecc
concmath
cmbright
cochineal
crimson
eco
eulervm
feyn
fourier
iwona
kurier
fontaxes
lm-math
lualatex-math
luxi
mathdesign
minion2newtx
newtx
noto
binhex
symbol
tex-gyre
tipa
txfonts
ascii-font
bbding
ifsym
marvosym
textgreek
tfrupee
thailatex
wasy
wasysym
ieeetran
a0poster
aastex
answers
achemso
cleveref
mciteplus
comment
lineno
aguplus
apa
apa6
endfloat
sttools
substr
threeparttable
acmart
boondox
cmap
draftwatermark
feupphdteses
ifoddpage
inconsolata
mmap
mweights
ncctools
arabtex
sansmathaccent
beamer
lastpage
lambda-lists
lh
qtree
truncate
bxjscls
ctex
savesym
xecjk
dinbrief
epsf
dtk
filecontents
ms
elsarticle
elsevier
europasscv
mdwtools
tabu
totpages
europecv
ucs
extsizes
frletter
g-brief
jsclasses
platex
fancyvrb
upquote
kluwer
lettre
tugboat
memoir
moderncv
ebgaramond
fontawesome
mwcls
paper
powerdot
koma-script
revtex
textcase
revtex4
sciposter
boxedminipage
seminar
multido
niceframe-type1
pst-3d
pst-arrow
pst-fr3d
pst-math
pst-node
pst-ovl
pst-plot
pst-grad
pst-slpe
pst-tools
pstricks-add
xetex-pstricks
simplecv
spie
cite
type1cm
fpl
mathpazo
tufte-latex
changepage
hardwrap
ifmtarg
ifplatform
microtype
sauerj
placeins
titlesec
xifthen
changebar
fixme
datetime
fmtcount
shapepar
todonotes
mptopdf
pgfopts
elocalloc
datetime2
datetime2-english
datetime2-french
datetime2-german
datetime2-spanish
tracklang
acrotex
zhmetrics
zhnumber
logreq
conv-xkv
minted
fvextra
xstring
luatex85
pdfcrop

View File

@ -1,56 +0,0 @@
th_ar_SA_v2.dat
th_ar_SA_v2.idx
th_bg_BG_v2.dat
th_bg_BG_v2.idx
th_ca_ES_v2.dat
th_ca_ES_v2.idx
th_cs_CZ_v2.dat
th_cs_CZ_v2.idx
th_da_DK_v2.dat
th_da_DK_v2.idx
th_de_CH_v2.dat
th_de_CH_v2.idx
th_de_DE_v2.dat
th_de_DE_v2.idx
th_el_GR_v2.dat
th_el_GR_v2.idx
th_en_AU_v2.dat
th_en_AU_v2.idx
th_en_GB_v2.dat
th_en_GB_v2.idx
th_en_US_v2.dat
th_en_US_v2.idx
th_es_ES_v2.dat
th_es_ES_v2.idx
th_fr_FR_v2.dat
th_fr_FR_v2.idx
th_ga_IE_v2.dat
th_ga_IE_v2.idx
th_gl_ES_v2.dat
th_gl_ES_v2.idx
th_hu_HU_v2.dat
th_hu_HU_v2.idx
th_is_IS_v2.dat
th_is_IS_v2.idx
th_it_IT_v2.dat
th_it_IT_v2.idx
th_nb_NO_v2.dat
th_nb_NO_v2.idx
th_nn_NO_v2.dat
th_nn_NO_v2.idx
th_pl_PL_v2.dat
th_pl_PL_v2.idx
th_pt_PT_v2.dat
th_pt_PT_v2.idx
th_ro_RO_v2.dat
th_ro_RO_v2.idx
th_ru_RU_v2.dat
th_ru_RU_v2.idx
th_sk_SK_v2.dat
th_sk_SK_v2.idx
th_sl_SI_v2.dat
th_sl_SI_v2.idx
th_sv_SE_v2.dat
th_sv_SE_v2.idx
th_uk_UA_v2.dat
th_uk_UA_v2.idx

View File

@ -1,39 +0,0 @@
Function LatexFolder
!insertmacro INSTALLOPTIONS_EXTRACT_AS "gui\io_latex.ini" "io_latex.ini"
# generate the installer page
!insertmacro MUI_HEADER_TEXT "$(EnterLaTeXHeader1)" "$(EnterLaTeXHeader2)"
${if} $LatexName != ""
!insertmacro INSTALLOPTIONS_WRITE "io_latex.ini" "Field 1" "Text" "$(EnterLaTeXFolder)"
${else}
!insertmacro INSTALLOPTIONS_WRITE "io_latex.ini" "Field 1" "Text" "$(EnterLaTeXFolderNone)"
${endif}
!insertmacro INSTALLOPTIONS_WRITE "io_latex.ini" "Field 2" "Text" "$(PathName)"
${if} $PathLaTeX == ""
!insertmacro INSTALLOPTIONS_WRITE "io_latex.ini" "Field 3" "State" "C:\"
${else}
!insertmacro INSTALLOPTIONS_WRITE "io_latex.ini" "Field 3" "State" "$PathLaTeX"
${endif}
!insertmacro INSTALLOPTIONS_WRITE "io_latex.ini" "Field 4" "Text" "$(DontUseLaTeX)"
!insertmacro INSTALLOPTIONS_WRITE "io_latex.ini" "Field 4" "State" "$State"
AgainFolder:
!insertmacro INSTALLOPTIONS_DISPLAY "io_latex.ini"
!insertmacro INSTALLOPTIONS_READ "$State" "io_latex.ini" "Field 4" "State" # read checkbox if LaTeX should be used, "0" or not "1"
${if} $State == "1"
StrCpy $PathLaTeX ""
Goto ReadyFolder
${endif}
!insertmacro INSTALLOPTIONS_READ "$PathLaTeX" "io_latex.ini" "Field 3" "State"
# check if the latex.exe exists in the $PathLaTeX folder
!insertmacro FileCheck $5 "latex.exe" "$PathLaTeX"
${if} $5 == "False"
MessageBox MB_RETRYCANCEL "$(InvalidLaTeXFolder)" IDRETRY AgainFolder
StrCpy $PathLaTeX ""
${endif}
ReadyFolder:
FunctionEnd
Function LatexFolder_LeaveFunction
FunctionEnd

View File

@ -1,212 +0,0 @@
/*
external.nsh
Installation of external components: MiKTeX, ImageMagick, Ghostscript
Either an existing installation can be used or a the components can be
downloaded or installed (depending on the type of installer)
*/
#Var ExternalPage
#Var ExternalPage.Info
#Var ExternalPage.Setup
#Var ExternalPage.Existing
#Var ExternalPage.Folder
#Var ExternalPage.Folder.Text
#Var ExternalPage.Folder.Return
#Var ExternalPage.FolderBrowse
#Var ExternalPage.FolderInfo
#Var ExternalPage.NoInstall
#Var ExternalPage.RadioButton.Click
#Var ExternalPage.FolderBrowse.Click
#Var LaTeXState
#Var LaTeXSetup.State
#Var LaTeXExisting.State
#Var LaTeXNoInstall.State
#Var ControlState
#Var ComponentSize
!macro EXTERNAL_SHOWDIALOG COMPONENT
# Build the dialog
!insertmacro MUI_HEADER_TEXT $(TEXT_EXTERNAL_${COMPONENT}_TITLE) $(TEXT_EXTERNAL_${COMPONENT}_SUBTITLE)
# GetFunctionAddress $ExternalPage.RadioButton.Click ExternalRadioButtonClick
# GetFunctionAddress $ExternalPage.FolderBrowse.Click ExternalFolderBrowseClick
nsDialogs::Create /NOUNLOAD 1018
Pop $ExternalPage
!ifdef BUNDLESETUP_${COMPONENT}
${NSD_CreateLabel} 0u 0u 300u 20u $(TEXT_EXTERNAL_${COMPONENT}_INFO_INSTALL)
!else
${NSD_CreateLabel} 0u 0u 300u 20u $(TEXT_EXTERNAL_${COMPONENT}_INFO_DOWNLOAD)
!endif
Pop $ExternalPage.Info
!ifdef BUNDLESETUP_${COMPONENT}
${NSD_CreateRadioButton} 0u 40u 300u 10u $(TEXT_EXTERNAL_${COMPONENT}_INSTALL)
!else
${NSD_CreateRadioButton} 0u 40u 300u 10u $(TEXT_EXTERNAL_${COMPONENT}_DOWNLOAD)
!endif
Pop $ExternalPage.Setup
nsDialogs::OnClick /NOUNLOAD $ExternalPage.Setup $ExternalPage.RadioButton.Click
${NSD_CreateRadioButton} 0u 60u 300u 10u $(TEXT_EXTERNAL_${COMPONENT}_FOLDER)
Pop $ExternalPage.Existing
nsDialogs::OnClick /NOUNLOAD $ExternalPage.Existing $ExternalPage.RadioButton.Click
${NSD_CreateText} 10u 80u 255u 12u $Path${COMPONENT}
Pop $ExternalPage.Folder
${NSD_CreateBrowseButton} 270u 80u 20u 12u ...
Pop $ExternalPage.FolderBrowse
nsDialogs::OnClick /NOUNLOAD $ExternalPage.FolderBrowse $ExternalPage.FolderBrowse.Click
${NSD_CreateLabel} 10u 100u 290u 10u $(TEXT_EXTERNAL_${COMPONENT}_FOLDER_INFO)
Pop $ExternalPage.FolderInfo
${NSD_CreateRadioButton} 0u 120u 300u 10u $(TEXT_EXTERNAL_${COMPONENT}_NONE)
Pop $ExternalPage.NoInstall
nsDialogs::OnClick /NOUNLOAD $ExternalPage.NoInstall $ExternalPage.RadioButton.Click
# Set the state of the controls to the previous user selection (or the default)
${If} $${COMPONENT}State == ""
# Page is displayed for the first time, set the default
${If} $Path${COMPONENT} == ""
!if ${COMPONENT} != LaTeX
# ImageMagick and Ghostscript require Administrator or
# power user privileges for installation
# Setup won't be checked because it's disabled
${If} $MultiUser.Privileges != "User"
${AndIf} $MultiUser.Privileges != "Guest"
!endif
${NSD_SetState} $ExternalPage.Setup ${BST_CHECKED}
!if ${COMPONENT} != LaTeX
${Else}
${NSD_SetState} $ExternalPage.NoInstall ${BST_CHECKED}
${EndIf}
!endif
${Else}
${NSD_SetState} $ExternalPage.Existing ${BST_CHECKED}
${EndIf}
${Else}
${NSD_SetState} $ExternalPage.Setup $${COMPONENT}Setup.State
${NSD_SetState} $ExternalPage.Existing $${COMPONENT}Existing.State
${NSD_SetState} $ExternalPage.NoInstall $${COMPONENT}NoInstall.State
${EndIf}
#Call ExternalRadioButtonClick
nsDialogs::Show
!macroend
!macro EXTERNAL_VALIDATEDIALOG COMPONENT
# Save state of controls
StrCpy $${COMPONENT}State saved
${NSD_GetState} $ExternalPage.Setup $${COMPONENT}Setup.State
${NSD_GetState} $ExternalPage.Setup $${COMPONENT}Setup.State
${NSD_GetState} $ExternalPage.Existing $${COMPONENT}Existing.State
${NSD_GetState} $ExternalPage.NoInstall $${COMPONENT}NoInstall.State
${If} $${COMPONENT}Setup.State = ${BST_CHECKED}
StrCpy $Setup${COMPONENT} ${TRUE}
# Download or install, so we need hard drive space
# Add size of component installer
StrCpy $ComponentSize $Size${COMPONENT}
${If} $Path${COMPONENT} == ""
# Not yet installed, add size of component itself
IntOp $ComponentSize $ComponentSize + ${SIZE_${COMPONENT}}
${EndIf}
SectionSetSize ${External${COMPONENT}} $ComponentSize
${Else}
# No setup
StrCpy $Setup${COMPONENT} ${FALSE}
SectionSetSize ${External${COMPONENT}} 0
${EndIf}
${If} $${COMPONENT}Existing.State = ${BST_CHECKED}
# Update location of component
${NSD_GetText} $ExternalPage.Folder $ExternalPage.Folder.Text
# Verify whether the path exists
${IfNot} ${FileExists} "$ExternalPage.Folder.Text\${BIN_${COMPONENT}}"
MessageBox MB_OK|MB_ICONEXCLAMATION $(TEXT_EXTERNAL_${COMPONENT}_NOTFOUND)
Abort # Return to allow the user to correct the location
${EndIf}
StrCpy $Path${COMPONENT} $ExternalPage.Folder.Text
${EndIf}
!macroend
#Function ExternalRadioButtonClick
# Enable the folder selection controls depending
# if the option to use an existing installation is selected
# ${NSD_GetState} $ExternalPage.Existing $ControlState
# ${If} $ControlState = ${BST_CHECKED}
# EnableWindow $ExternalPage.Folder 1
# EnableWindow $ExternalPage.FolderBrowse 1
# EnableWindow $ExternalPage.FolderInfo 1
# ${Else}
# EnableWindow $ExternalPage.Folder 0
# EnableWindow $ExternalPage.FolderBrowse 0
# EnableWindow $ExternalPage.FolderInfo 0
# ${EndIf}
#FunctionEnd
#Function ExternalFolderBrowseClick
# Browse button clicked
# Get current folder to set as default
# ${NSD_GetText} $ExternalPage.Folder $ExternalPage.Folder.Text
# Browse for new folder
# nsDialogs::SelectFolderDialog /NOUNLOAD "" $ExternalPage.Folder.Text
# Pop $ExternalPage.Folder.Return
# ${If} $ExternalPage.Folder.Return != error
# StrCpy $ExternalPage.Folder.Text $ExternalPage.Folder.Return
# ${EndIf}
# ${NSD_SetText} $ExternalPage.Folder $ExternalPage.Folder.Text
#FunctionEnd
# Page functions
#Function PageExternalLaTeX
# !insertmacro EXTERNAL_SHOWDIALOG LaTeX
#FunctionEnd
#Function PageExternalLaTeXValidate
# !insertmacro EXTERNAL_VALIDATEDIALOG LaTeX
#FunctionEnd

View File

@ -1,36 +0,0 @@
[Settings]
NumFields=4
[Field 1]
Type=Label
Left=20
Right=280
Top=3
Bottom=60
Text='You can optionally set here the path to the file "latex.exe" and therewith set the LaTeX-distribution that should be used by LyX.\r\nIf you don$\\'t use LaTeX, LyX cannot output documents!\r\n\r\nThe installer has detected the LaTeX-distribution "$LaTeXName" on your system. Displayed below is its path.'
[Field 2]
Type=Groupbox
Left=5
Right=-1
Top=67
Bottom=107
Text= Path
[Field 3]
Type=DirRequest
Left=20
Right=270
Top=83
Bottom=94
State=C:\
[Field 4]
Type=Checkbox
Text=Don't use LaTeX
Left=20
Right=120
Top=120
Bottom=129
State=0

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

View File

@ -1,327 +0,0 @@
/**
* EnvVarUpdate.nsh
* : Environmental Variables: append, prepend, and remove entries
*
* WARNING: If you use StrFunc.nsh header then include it before this file
* with all required definitions. This is to avoid conflicts
*
* Usage:
* ${EnvVarUpdate} "ResultVar" "EnvVarName" "Action" "RegLoc" "PathString"
*
* Credits:
* Version 1.0
* * Cal Turney (turnec2)
* * Amir Szekely (KiCHiK) and e-circ for developing the forerunners of this
* function: AddToPath, un.RemoveFromPath, AddToEnvVar, un.RemoveFromEnvVar,
* WriteEnvStr, and un.DeleteEnvStr
* * Diego Pedroso (deguix) for StrTok
* * Kevin English (kenglish_hi) for StrContains
* * Hendri Adriaens (Smile2Me), Diego Pedroso (deguix), and Dan Fuhry
* (dandaman32) for StrReplace
*
* Version 1.1 (compatibility with StrFunc.nsh)
* * techtonik
*
* http://nsis.sourceforge.net/Environmental_Variables:_append%2C_prepend%2C_and_remove_entries
*
*/
!ifndef ENVVARUPDATE_FUNCTION
!define ENVVARUPDATE_FUNCTION
!verbose push
!verbose 3
!include "LogicLib.nsh"
!include "WinMessages.NSH"
!include "StrFunc.nsh"
; ---- Fix for conflict if StrFunc.nsh is already includes in main file -----------------------
!macro _IncludeStrFunction StrFuncName
!ifndef ${StrFuncName}_INCLUDED
${${StrFuncName}}
!endif
!ifndef Un${StrFuncName}_INCLUDED
${Un${StrFuncName}}
!endif
!define un.${StrFuncName} '${Un${StrFuncName}}'
!macroend
!insertmacro _IncludeStrFunction StrTok
!insertmacro _IncludeStrFunction StrStr
!insertmacro _IncludeStrFunction StrRep
; ---------------------------------- Macro Definitions ----------------------------------------
!macro _EnvVarUpdateConstructor ResultVar EnvVarName Action Regloc PathString
Push "${EnvVarName}"
Push "${Action}"
Push "${RegLoc}"
Push "${PathString}"
Call EnvVarUpdate
Pop "${ResultVar}"
!macroend
!define EnvVarUpdate '!insertmacro "_EnvVarUpdateConstructor"'
!macro _unEnvVarUpdateConstructor ResultVar EnvVarName Action Regloc PathString
Push "${EnvVarName}"
Push "${Action}"
Push "${RegLoc}"
Push "${PathString}"
Call un.EnvVarUpdate
Pop "${ResultVar}"
!macroend
!define un.EnvVarUpdate '!insertmacro "_unEnvVarUpdateConstructor"'
; ---------------------------------- Macro Definitions end-------------------------------------
;----------------------------------- EnvVarUpdate start----------------------------------------
!define hklm_all_users 'HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"'
!define hkcu_current_user 'HKCU "Environment"'
!macro EnvVarUpdate UN
Function ${UN}EnvVarUpdate
Push $0
Exch 4
Exch $1
Exch 3
Exch $2
Exch 2
Exch $3
Exch
Exch $4
Push $5
Push $6
Push $7
Push $8
Push $9
Push $R0
/* After this point:
-------------------------
$0 = ResultVar (returned)
$1 = EnvVarName (input)
$2 = Action (input)
$3 = RegLoc (input)
$4 = PathString (input)
$5 = Orig EnvVar (read from registry)
$6 = Len of $0 (temp)
$7 = tempstr1 (temp)
$8 = Entry counter (temp)
$9 = tempstr2 (temp)
$R0 = tempChar (temp) */
; Step 1: Read contents of EnvVarName from RegLoc
;
; Check for empty EnvVarName
${If} $1 == ""
SetErrors
DetailPrint "ERROR: EnvVarName is blank"
Goto EnvVarUpdate_Restore_Vars
${EndIf}
; Check for valid Action
${If} $2 != "A"
${AndIf} $2 != "P"
${AndIf} $2 != "R"
SetErrors
DetailPrint "ERROR: Invalid Action - must be A, P, or R"
Goto EnvVarUpdate_Restore_Vars
${EndIf}
${If} $3 == HKLM
ReadRegStr $5 ${hklm_all_users} $1 ; Get EnvVarName from all users into $5
${ElseIf} $3 == HKCU
ReadRegStr $5 ${hkcu_current_user} $1 ; Read EnvVarName from current user into $5
${Else}
SetErrors
DetailPrint 'ERROR: Action is [$3] but must be "HKLM" or HKCU"'
Goto EnvVarUpdate_Restore_Vars
${EndIf}
; Check for empty PathString
${If} $4 == ""
SetErrors
DetailPrint "ERROR: PathString is blank"
Goto EnvVarUpdate_Restore_Vars
${EndIf}
; Make sure we've got some work to do
${If} $5 == ""
${AndIf} $2 == "R"
SetErrors
DetailPrint "$1 is empty - Nothing to remove"
Goto EnvVarUpdate_Restore_Vars
${EndIf}
; Step 2: Scrub EnvVar
;
StrCpy $0 $5 ; Copy the contents to $0
; Remove spaces around semicolons (NOTE: spaces before the 1st entry or
; after the last one are not removed here but instead in Step 3)
${If} $0 != "" ; If EnvVar is not empty ...
${Do}
${${UN}StrStr} $7 $0 " ;"
${If} $7 == ""
${ExitDo}
${EndIf}
${${UN}StrRep} $0 $0 " ;" ";" ; Remove '<space>;'
${Loop}
${Do}
${${UN}StrStr} $7 $0 "; "
${If} $7 == ""
${ExitDo}
${EndIf}
${${UN}StrRep} $0 $0 "; " ";" ; Remove ';<space>'
${Loop}
${Do}
${${UN}StrStr} $7 $0 ";;"
${If} $7 == ""
${ExitDo}
${EndIf}
${${UN}StrRep} $0 $0 ";;" ";"
${Loop}
; Remove a leading or trailing semicolon from EnvVar
StrCpy $7 $0 1 0
${If} $7 == ";"
StrCpy $0 $0 "" 1 ; Change ';<EnvVar>' to '<EnvVar>'
${EndIf}
StrLen $6 $0
IntOp $6 $6 - 1
StrCpy $7 $0 1 $6
${If} $7 == ";"
StrCpy $0 $0 $6 ; Change ';<EnvVar>' to '<EnvVar>'
${EndIf}
; DetailPrint "Scrubbed $1: [$0]" ; Uncomment to debug
${EndIf}
/* Step 3. Remove all instances of the target path/string (even if "A" or "P")
$6 = bool flag (1 = found and removed PathString)
$7 = a string (e.g. path) delimited by semicolon(s)
$8 = entry counter starting at 0
$9 = copy of $0
$R0 = tempChar */
${If} $5 != "" ; If EnvVar is not empty ...
StrCpy $9 $0
StrCpy $0 ""
StrCpy $8 0
StrCpy $6 0
${Do}
${${UN}StrTok} $7 $9 ";" $8 "0" ; $7 = next entry, $8 = entry counter
${If} $7 == "" ; If we've run out of entries,
${ExitDo} ; were done
${EndIf} ;
; Remove leading and trailing spaces from this entry (critical step for Action=Remove)
${Do}
StrCpy $R0 $7 1
${If} $R0 != " "
${ExitDo}
${EndIf}
StrCpy $7 $7 "" 1 ; Remove leading space
${Loop}
${Do}
StrCpy $R0 $7 1 -1
${If} $R0 != " "
${ExitDo}
${EndIf}
StrCpy $7 $7 -1 ; Remove trailing space
${Loop}
${If} $7 == $4 ; If string matches, remove it by not appending it
StrCpy $6 1 ; Set 'found' flag
${ElseIf} $7 != $4 ; If string does NOT match
${AndIf} $0 == "" ; and the 1st string being added to $0,
StrCpy $0 $7 ; copy it to $0 without a prepended semicolon
${ElseIf} $7 != $4 ; If string does NOT match
${AndIf} $0 != "" ; and this is NOT the 1st string to be added to $0,
StrCpy $0 $0;$7 ; append path to $0 with a prepended semicolon
${EndIf} ;
IntOp $8 $8 + 1 ; Bump counter
${Loop} ; Check for duplicates until we run out of paths
${EndIf}
; Step 4: Perform the requested Action
;
${If} $2 != "R" ; If Append or Prepend
${If} $6 == 1 ; And if we found the target
DetailPrint "Target is already present in $1. It will be removed and"
${EndIf}
${If} $0 == "" ; If EnvVar is (now) empty
StrCpy $0 $4 ; just copy PathString to EnvVar
${If} $6 == 0 ; If found flag is either 0
${OrIf} $6 == "" ; or blank (if EnvVarName is empty)
DetailPrint "$1 was empty and has been updated with the target"
${EndIf}
${ElseIf} $2 == "A" ; If Append (and EnvVar is not empty),
StrCpy $0 $0;$4 ; append PathString
${If} $6 == 1
DetailPrint "appended to $1"
${Else}
DetailPrint "Target was appended to $1"
${EndIf}
${Else} ; If Prepend (and EnvVar is not empty),
StrCpy $0 $4;$0 ; prepend PathString
${If} $6 == 1
DetailPrint "prepended to $1"
${Else}
DetailPrint "Target was prepended to $1"
${EndIf}
${EndIf}
${Else} ; If Action = Remove
${If} $6 == 1 ; and we found the target
DetailPrint "Target was found and removed from $1"
${Else}
DetailPrint "Target was NOT found in $1 (nothing to remove)"
${EndIf}
${If} $0 == ""
DetailPrint "$1 is now empty"
${EndIf}
${EndIf}
; Step 5: Update the registry at RegLoc with the updated EnvVar and announce the change
;
ClearErrors
${If} $3 == HKLM
WriteRegExpandStr ${hklm_all_users} $1 $0 ; Write it in all users section
${ElseIf} $3 == HKCU
WriteRegExpandStr ${hkcu_current_user} $1 $0 ; Write it to current user section
${EndIf}
IfErrors 0 +4
MessageBox MB_OK|MB_ICONEXCLAMATION "Could not write updated $1 to $3"
DetailPrint "Could not write updated $1 to $3"
Goto EnvVarUpdate_Restore_Vars
; "Export" our change
SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment" /TIMEOUT=5000
EnvVarUpdate_Restore_Vars:
;
; Restore the user's variables and return ResultVar
Pop $R0
Pop $9
Pop $8
Pop $7
Pop $6
Pop $5
Pop $4
Pop $3
Pop $2
Pop $1
Push $0 ; Push my $0 (ResultVar)
Exch
Pop $0 ; Restore his $0
FunctionEnd
!macroend ; EnvVarUpdate UN
!insertmacro EnvVarUpdate ""
!insertmacro EnvVarUpdate "un."
;----------------------------------- EnvVarUpdate end----------------------------------------
!verbose pop
!endif

View File

@ -1,250 +0,0 @@
/*
LaTeX.nsh
Handling of LaTeX distributions
*/
# This script contains the following functions:
#
# - LaTeXActions (checks if MiKTeX or TeXLive is installed)
#
# - ConfigureMiKTeX
# (installs the LaTeX class files that are delivered with LyX,
# a Perl interpreter for splitindex and pdfcrop
# and enable MiKTeX's automatic package installation)
#
# - ConfigureTeXLive
# (installs the LaTeX class files that are delivered with LyX)
# ---------------------------------------
Function LaTeXActions
# checks if MiKTeX or TeXLive is installed
StrCpy $Is64bit "false"
${if} ${RunningX64}
SetRegView 64 # the PATH is in the 64bit registry section
${endif}
# test if MiKTeX is installed
# reads the PATH variable via the registry because NSIS' "$%Path%" variable is not updated when the PATH changes
ReadRegStr $String HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" "Path"
StrCpy $Search "miktex"
Call LaTeXCheck # sets the path to the latex.exe to $PathLaTeX # Function from LyXUtils.nsh
StrCpy $String $PathLaTeX
StrCpy $Search "x64" # search if it is 64bit MiKTeX
Call StrPoint # Function from LyXUtils.nsh
${if} $Pointer != "-1" # if something was found
StrCpy $Is64bit "true"
${endif}
# check for 32bit MiKTeX
${if} $PathLaTeX != ""
${andif} $Is64bit != "true"
${if} ${RunningX64}
SetRegView 32
${endif}
# check if MiKTeX 2.8 or newer is installed
StrCpy $0 0
loop32:
EnumRegKey $1 HKLM "SOFTWARE\MiKTeX.org\MiKTeX" $0 # check the last subkey
StrCmp $1 "" done32
StrCpy $String $1
IntOp $0 $0 + 1
Goto loop32
done32:
${if} $String == "2.9"
StrCpy $MiKTeXVersion "2.9"
StrCpy $LaTeXName "MiKTeX 2.9"
${endif}
${endif}
# check for 64bit MiKTeX
${if} $LaTeXName == ""
${if} ${RunningX64}
SetRegView 64
${endif}
# check if MiKTeX 2.8 or newer is installed
StrCpy $0 0
loop64:
EnumRegKey $1 HKLM "SOFTWARE\MiKTeX.org\MiKTeX" $0 # check the last subkey
StrCmp $1 "" done64
StrCpy $String $1
IntOp $0 $0 + 1
Goto loop64
done64:
${if} $String == "2.9"
StrCpy $MiKTeXVersion "2.9"
StrCpy $LaTeXName "MiKTeX 2.9"
${endif}
${endif}
${if} $PathLaTeX != ""
StrCpy $MiKTeXUser "HKLM" # needed later to configure MiKTeX
${else} # check if MiKTeX is installed only for the current user
${if} ${RunningX64}
SetRegView 64 # the PATH is in the 64bit registry section
${endif}
ReadRegStr $String HKCU "Environment" "Path"
StrCpy $Search "miktex"
Call LaTeXCheck # function from LyXUtils.nsh
${if} $PathLaTeX != ""
StrCpy $MiKTeXUser "HKCU"
${endif}
${endif}
${if} $LaTeXName == "" # check for the MiKTeX version
StrCpy $0 0
loopB:
EnumRegKey $1 HKCU "SOFTWARE\MiKTeX.org\MiKTeX" $0 # check the last subkey
StrCmp $1 "" doneB
StrCpy $String $1
IntOp $0 $0 + 1
Goto loopB
doneB:
${if} $String == "2.9"
StrCpy $MiKTeXVersion "2.9"
StrCpy $LaTeXName "MiKTeX 2.9"
${endif}
${endif}
${if} $PathLaTeX != ""
StrCpy $String $PathLaTeX
StrCpy $Search "x64" # search if it is 64bit MiKTeX
Call StrPoint # Function from LyXUtils.nsh
${if} $Pointer != "-1" # if something was found
StrCpy $Is64bit "true"
${endif}
StrCpy $LaTeXInstalled "MiKTeX"
# on some installations the path ends with a "\" on some not
# therefore assure that we remove it if it exists
StrCpy $0 $PathLaTeX "" -1
${if} $0 == "\"
StrCpy $PathLaTeX "$PathLaTeX" -1 # delete "\"
${endif}
${endif}
# test if TeXLive is installed
# TeXLive can be installed so that it appears in the PATH variable and/or only as current user.
# The safest method is to first check for the PATH because this is independent of the TeXLive version.
${if} ${RunningX64}
SetRegView 64 # the PATH is in the 64bit registry section
${endif}
${if} $PathLaTeX == ""
ReadRegStr $String HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" "Path"
StrCpy $Search "TeXLive"
Call LaTeXCheck # function from LyXUtils.nsh
${endif}
# check for the current user Path variable
${if} $PathLaTeX == ""
ReadRegStr $String HKCU "Environment" "Path"
StrCpy $Search "texlive"
StrCpy $2 "TeXLive"
Call LaTeXCheck # function from LyXUtils.nsh
${endif}
# check if it was installed to the system
${if} ${RunningX64}
SetRegView 32 # TeXLive is a 32bit application
${endif}
${if} $PathLaTeX == ""
ReadRegStr $String HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\TeXLive2015" "UninstallString"
${if} $String == ""
ReadRegStr $String HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\TeXLive2015" "UninstallString"
${endif}
${if} $String != ""
StrCpy $String $String -28 # remove '\tlpkg\installer\uninst.bat"'
StrCpy $String $String "" 1 # remove the leading quote
${endif}
StrCpy $PathLaTeX "$String\bin\win32"
# check if the latex.exe exists in the $PathLaTeX folder
!insertmacro FileCheck $5 "latex.exe" "$PathLaTeX" # macro from LyXUtils.nsh
${if} $5 == "False"
StrCpy $PathLaTeX ""
${endif}
${endif}
# finally set the name
${if} $PathLaTeX != ""
${andif} $LaTeXName != "MiKTeX 2.9"
StrCpy $LaTeXInstalled "TeXLive"
ReadRegStr $String HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\TeXLive2015" "DisplayVersion"
${if} $String == ""
ReadRegStr $String HKCU "Software\Microsoft\Windows\CurrentVersion\Uninstall\TeXLive2015" "DisplayVersion"
${endif}
${if} $String != ""
StrCpy $LaTeXName "TeXLive $String"
${else}
StrCpy $LaTeXName "TeXLive"
${endif}
${endif}
FunctionEnd
# ------------------------------
Function ConfigureMiKTeX
# installs the LaTeX class files that are delivered with LyX,
# a Perl interpreter for splitindex and pdfcrop
# and enable MiKTeX's automatic package installation
# install LyX's LaTeX class and style files and a Perl interpreter
${if} $PathLaTeX != ""
${if} $MultiUser.Privileges == "Admin"
${orif} $MultiUser.Privileges == "Power"
${if} $Is64bit == "true"
StrCpy $PathLaTeXLocal "$PathLaTeX" -15 # delete "\miktex\bin\x64"
${else}
StrCpy $PathLaTeXLocal "$PathLaTeX" -11 # delete "\miktex\bin"
${endif}
${else}
StrCpy $PathLaTeXLocal "$APPDATA\MiKTeX\$MiKTeXVersion"
${endif}
# only install the LyX packages if they are not already installed
${ifnot} ${FileExists} "$PathLaTeXLocal\tex\latex\lyx\broadway.cls"
# files in Resources\tex
SetOutPath "$PathLaTeXLocal\tex\latex\lyx"
CopyFiles /SILENT "$INSTDIR\Resources\tex\*.*" "$PathLaTeXLocal\tex\latex\lyx"
# refresh MiKTeX's file name database (do this always to assure everything is in place)
${if} $MultiUser.Privileges != "Admin"
${andif} $MultiUser.Privileges != "Power"
# call the non-admin version
nsExec::ExecToLog "$PathLaTeX\initexmf --update-fndb"
${else}
${if} $MiKTeXUser != "HKCU" # call the admin version
nsExec::ExecToLog "$PathLaTeX\initexmf --admin --update-fndb"
${else}
nsExec::ExecToLog "$PathLaTeX\initexmf --update-fndb"
${endif}
${endif}
Pop $UpdateFNDBReturn # Return value
${endif}
# install a Perl interpreter for splitindex and pdfcrop
SetOutPath "$INSTDIR\Perl"
# recursively copy all files under Perl
File /r "${FILES_PERL}\"
${endif} # end if $PathLaTeX != ""
FunctionEnd
# ------------------------------
Function ConfigureTeXLive
# installs the LaTeX class files that are delivered with LyX
# (TeXLive comes already with a Perl interpreter.)
${if} $PathLaTeX != ""
StrCpy $PathLaTeXLocal "$PathLaTeX" -10 # delete "\bin\win32"
# only install the LyX packages if they are not already installed
${ifnot} ${FileExists} "$PathLaTeXLocal\texmf-dist\tex\latex\lyx\broadway.cls"
# files in Resources\tex
SetOutPath "$PathLaTeXLocal\texmf-dist\tex\latex\lyx"
CopyFiles /SILENT "$INSTDIR\Resources\tex\*.*" "$PathLaTeXLocal\texmf-dist\tex\latex\lyx"
# update TeXLive's package file list
ExecWait '$PathLaTeX\texhash'
${endif}
${endif}
FunctionEnd

View File

@ -1,369 +0,0 @@
# This script contains the following functions:
#
# - LaTeXCheck (check installed LaTeX-system),
# (only used by Small and Complete installer), uses:
# StrPointer
# StrPoint
# RevStrPointer
# RevStrPoint
#
# - PATHCheck (checks for a path in a semicolon separated path list like the PATH variable), uses:
# StrPointer
# StrPoint
# RevStrPointer
# RevStrPoint
#
# - un.DelAppPathSub and UnAppPreSuff,
# (delete the folder ~\Documents and Settings\username\Application Data\LyX for all users), uses:
# un.GetParentA
# un.GetUsers
# un.StrPoint
# StrPointer
# StrPoint
# UnAppPreSuff
#
# - FileCheck (checks if a given file exists)
#
#--------------------------
!macro StrPointer FindStr SearchStr Pointer
# searches for a string/character (SearchStr) in another string (FindStr)
# and returns the number of the character in the FindStr where the SearchStr was found (Pointer)
# if nothing was found or the search is impossible the Pointer is set to -1
StrLen $R2 ${SearchStr}
StrLen $R4 ${FindStr}
StrCpy $R5 0
${if} $R2 == 0
${orif} $R4 == 0
Goto NotFound
${endif}
IntCmp $R4 $R2 loopA NotFound
loopA:
StrCpy $R3 ${FindStr} $R2 $R5
StrCmp $R3 ${SearchStr} Found
IntOp $R5 $R5 + 1
IntCmp $R4 $R5 loopA NotFound
Goto loopA
Found:
StrCpy ${Pointer} $R5
Goto done
NotFound:
StrCpy ${Pointer} "-1"
done:
!macroend
#--------------------------------
Function StrPoint
!insertmacro StrPointer $String $Search $Pointer
FunctionEnd
#--------------------------------
!macro RevStrPointer FindStr SearchStr Pointer
# searches for a string/character (SearchStr) in another string (FindStr) in reverse order
# and returns the number of the character in the FindStr where the SearchStr was found (Pointer)
# if nothing was found or the search is impossible the Pointer is set to +1
StrLen $R2 ${SearchStr}
StrLen $R4 ${FindStr}
${if} $R2 == 0
${orif} $R4 == 0
Goto NotFound
${endif}
IntCmp $R4 $R2 loopA NotFound
StrCpy $R5 "-$R2"
loopA:
StrCpy $R3 ${FindStr} $R2 $R5
StrCmp $R3 ${SearchStr} Found
IntOp $R5 $R5 - 1
IntCmp "$R5" "-$R4" loopA NotFound
Goto loopA
Found:
StrCpy ${Pointer} $R5
Goto done
NotFound:
StrCpy ${Pointer} "+1"
done:
!macroend
#--------------------------------
Function RevStrPoint
!insertmacro RevStrPointer $String $Search $Pointer
FunctionEnd
#--------------------------------
!macro AppPreSuff AppPre AppSuff
# the APPDATA path for a local user has for WinXP and 2000 the following structure:
# C:\Documents and Settings\username\Application Data
# for Win Vista the structure is:
# C:\Users\username\AppData\Roaming
# this macro saves the "C:\Documents and Settings\" substring into the variable "AppPre"
# and the "Application Data" substring into the variable "AppSuff"
# switch temporarily to local user because the all users application data path is in
# Vista only C:\ProgramData
SetShellVarContext current
StrCpy $String "$APPDATA"
Var /GLOBAL APPDATemp
StrCpy $APPDATemp "$APPDATA"
${If} $MultiUser.Privileges == "Admin"
${OrIf} $MultiUser.Privileges == "Power"
SetShellVarContext all # move back to all users
${endif}
StrCpy $Search "\"
Call StrPoint # search for the first "\"
IntOp $Pointer $Pointer + 1 # jump after the "\"
StrCpy $String $String "" $Pointer # cut off the part before the first "\"
StrCpy $0 $Pointer
Call StrPoint # search for the second "\"
IntOp $0 $0 + $Pointer # $0 is now the pointer to the second "\" in the APPDATA string
StrCpy ${AppPre} $APPDATemp $0 # save the part before the second "\"
IntOp $Pointer $Pointer + 1 # jump after the "\"
StrCpy $String $String "" $Pointer # cut off the part before the second "\"
Call StrPoint # search for the third "\"
IntOp $Pointer $Pointer + 1 # jump after the "\"
StrCpy ${AppSuff} $String "" $Pointer # save the part after the third "\"
!macroend
#--------------------------------
Function un.GetParentA
# deletes a subfolder of the APPDATA path for all users
# used by the function "un.getUsers"
Exch $R0
Push $R1
Push $R2
Push $R3
StrCpy $R1 0
StrLen $R2 $R0
loop:
IntOp $R1 $R1 + 1
IntCmp $R1 $R2 get 0 get
StrCpy $R3 $R0 1 -$R1
StrCmp $R3 "\" get
Goto loop
get:
StrCpy $R0 $R0 -$R1
Pop $R3
Pop $R2
Pop $R1
Exch $R0
FunctionEnd
#--------------------------------
Function un.GetUsers
# reads the subfolders of the "Documents and Settings" folder to get a list of the users
StrCpy $R3 ""
Push "$PROFILE"
Call un.GetParentA
Pop $R2
StrCpy $R2 "$R2"
FindFirst $R0 $R1 "$R2\*"
StrCmp $R1 "" findend 0
findloop:
IfFileExists "$R2\$R1\*.*" 0 notDir
StrCmp $R1 "." notDir
StrCmp $R1 ".." notDir
StrCmp $R1 "All Users" notDir
StrCmp $R1 "Default User" notDir
StrCmp $R1 "All Users.WINNT" notDir
StrCmp $R1 "Default User.WINNT" notDir
StrCpy $R3 "$R3|$R1"
notDir:
FindNext $R0 $R1
StrCmp $R1 "" findend 0
Goto findloop
findend:
FindClose $R0
FunctionEnd
#--------------------------------
Function un.StrPoint
!insertmacro StrPointer $String $Search $Pointer
FunctionEnd
#--------------------------------
!macro UnAppPreSuff AppPre AppSuff
# the APPDATA path for a local user has for WinXP and 2000 the following structure:
# C:\Documents and Settings\username\Application Data
# for Win Vista the structure is:
# C:\Users\username\AppData\Roaming
# this macro saves the "C:\Documents and Settings\" substring into the variable "AppPre"
# and the "Application Data" substring into the variable "AppSuff"
SetShellVarContext current # switch temoprarily to local user
StrCpy $String "$APPDATA"
StrCpy $APPDATemp "$APPDATA"
${if} $MultiUser.Privileges == "Admin"
${orif} $MultiUser.Privileges == "Power"
SetShellVarContext all # move back to all users
${endif}
StrCpy $Search "\"
Call un.StrPoint # search for the first "\"
IntOp $Pointer $Pointer + 1 # jump after the "\"
StrCpy $String $String "" $Pointer # cut off the part before the first "\"
StrCpy $0 $Pointer
Call un.StrPoint # search for the second "\"
IntOp $0 $0 + $Pointer # $0 is now the pointer to the second "\" in the APPDATA string
StrCpy ${AppPre} $APPDATemp $0 # save the part before the second "\"
IntOp $Pointer $Pointer + 1 # jump after the "\"
StrCpy $String $String "" $Pointer # cut off the part before the second "\"
Call un.StrPoint # search for the third "\"
IntOp $Pointer $Pointer + 1 # jump after the "\"
StrCpy ${AppSuff} $String "" $Pointer # save the part after the third "\"
!macroend
#--------------------------------
Function un.DelAppPathSub
# deletes a subfolder of the APPDATA path for all users
# get list of all users
Push $R0
Push $R1
Push $R2
Push $R3
Call un.GetUsers
StrCpy $UserList $R3 "" 1 # cut off the "|" at the end of the list
Pop $R3
Pop $R2
Pop $R1
Pop $R0
# the usernames in the list of all users is separated by "|"
loop:
StrCpy $String "$UserList"
StrCpy $Search "|"
Call un.StrPoint # search for the "|"
StrCmp $Pointer "-1" ready
StrCpy $0 $UserList $Pointer # $0 contains now the username
IntOp $Pointer $Pointer + 1 # jump after the "|"
StrCpy $UserList $UserList "" $Pointer # cut off the first username in the list
# generate the string for the current user
# AppPre and AppSuff are generated in the macro "AppPreSuff"
RMDir /r "$AppPre\$0\$AppSuff\$AppSubfolder" # delete the folder
Goto loop
ready:
StrCpy $0 $UserList
RMDir /r "$AppPre\$0\$AppSuff\$AppSubfolder" # delete the folder
FunctionEnd
#--------------------------------
!macro FileCheck Result FileName FilePath
# checks if a file exists, returns "True" or "False"
Push $0
Push $1
StrCpy $0 ""
StrCpy $1 ""
FileOpen $0 "${FilePath}\${FileName}" r
${if} $0 = ""
StrCpy $1 "False"
${Else}
StrCpy $1 "True"
${endif}
FileClose $0
StrCpy ${Result} $1
Pop $1
Pop $0
!macroend
#------------------------------------------
Function LaTeXCheck
# searches the string "$Search" in the string "$String" and extracts the path around it
# it is checked if the file "latex.exe" exists in the extracted path
StartCheck:
StrLen $3 $String
Call StrPoint
${if} $Pointer == "-1" # if nothing was found
StrCpy $PathLaTeX ""
Return
${endif}
IntOp $3 $3 - $Pointer
StrCpy $4 $String $3 "-$3" # $4 is now the part behind the $Search string
StrCpy $String $String $Pointer # $String is now the part before the $Search string
StrCpy $Search ":" # search for the ":" after the first previous drive letter
Call RevStrPoint
IntOp $Pointer $Pointer - 1 # jump before the ":" to the drive letter
StrCpy $Pointer $Pointer "" 1 # cut of the "-" sign
StrCpy $PathLaTeX $String $Pointer "-$Pointer"
StrCpy $String $4
StrCpy $Search ";" # search for the following ";" that separates the different paths
Call StrPoint
${if} $Pointer != "-1" # if something was found
StrCpy $String $String $Pointer
${endif}
StrCpy $PathLaTeX "$PathLaTeX$String"
# check if the latex.exe exists in the $PathLaTeX folder
!insertmacro FileCheck $5 "latex.exe" "$PathLaTeX"
${if} $5 == "False" # delete the entry with the wrong path to the latex.exe and try again
StrCpy $PathLaTeX ""
StrLen $3 $String
StrCpy $String $4 "" $3
${if} $2 == "TeXLive"
StrCpy $Search "TeXLive"
${else}
StrCpy $Search "miktex"
${endif}
Goto StartCheck
${endif}
FunctionEnd
#------------------------------------------
!macro PATHCheck PathResult FileName
# searches the string "$Search" in the string "$String" and extracts the path around it
# it is checked if the given filename exists
!define ID ${__LINE__}
StrLen $3 $String
Call StrPoint
${if} $Pointer == "-1" # if nothing was found
StrCpy ${PathResult} "False"
Goto EndPATHCheck_${ID}
${endif}
IntOp $3 $3 - $Pointer
StrCpy $4 $String $3 "-$3" # $4 is now the part behind the $Search string
StrCpy $String $String $Pointer # $String is now the part before the $Search string
StrCpy $Search ":" # search for the ":" after the first previous drive letter
Call RevStrPoint
IntOp $Pointer $Pointer - 1 # jump before the ":" to the drive letter
StrCpy $Pointer $Pointer "" 1 # cut of the "-" sign
StrCpy ${PathResult} $String $Pointer "-$Pointer"
StrCpy $String $4
StrCpy $Search ";" # search for the following ";" that separates the different paths
Call StrPoint
${if} $Pointer != "-1" # if something was found
StrCpy $String $String $Pointer
${endif}
StrCpy ${PathResult} "${PathResult}$String"
# check if the FileName exists in the ${Result} folder
!insertmacro FileCheck $Tmp ${FileName} ${PathResult}
${if} $Tmp == "False"
StrCpy ${PathResult} "False"
${endif}
EndPATHCheck_${ID}:
!undef ID
!macroend

View File

@ -1,94 +0,0 @@
/*
declaration.nsh
Configuration of LyX installer
*/
#--------------------------------
# File locations
!define FILES_LICENSE "${FILES_GIT}\installer\license.rtf"
!define FILES_ICONS "${FILES_GIT}\icons"
!define FILES_PDFVIEW "${FILES_DEPS}\bin"
!define FILES_MSVC "${FILES_DEPS}\bin"
!define FILES_PERL "${FILES_DEPS}\Perl"
!define FILES_PYTHON "${FILES_DEPS}\Python"
!define FILES_UNOCONV "${FILES_DEPS}\bin"
!define FILES_IMAGEMAGICK "${FILES_DEPS}\imagemagick"
!define FILES_GHOSTSCRIPT "${FILES_DEPS}\ghostscript"
!define FILES_NETPBM "${FILES_DEPS}\bin"
!define FILES_RSVG "${FILES_DEPS}\bin"
!define FILES_DTL "${FILES_DEPS}\bin"
!define FILES_PDFTOOLS "${FILES_DEPS}\bin"
!define FILES_METAFILE2EPS "${FILES_DEPS}\bin"
#--------------------------------
# Locations of components to download
# CTAN and SourceForge select a mirror automatically
!define DOWNLOAD_LATEX "http://mirrors.ctan.org/systems/win32/miktex/setup/${SETUPFILE_LATEX}"
#--------------------------------
# Names and version
!define APP_NAME "LyX"
!define APP_NAME_SMALL "lyx"
!define APP_VERSION_NUMBER "${APP_VERSION_MAJOR}.${APP_VERSION_MINOR}.${APP_VERSION_REVISION}.${APP_VERSION_BUILD}"
# for the proposed install folder we use the scheme "LyX 2.2" while we need for the registry the scheme "LyX 2.1.4"
# to check if it is exactly this version (to support side by side installations)
!define APP_SERIES_NAME "${APP_VERSION_MAJOR}.${APP_VERSION_MINOR}"
!define APP_SERIES_KEY "${APP_VERSION_MAJOR}${APP_VERSION_MINOR}${APP_VERSION_REVISION}${APP_VERSION_EMERGENCY}"
!define APP_SERIES_KEY2 "${APP_VERSION_MAJOR}.${APP_VERSION_MINOR}.${APP_VERSION_REVISION}${APP_EMERGENCY_DOT}${APP_VERSION_EMERGENCY}"
!define APP_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\${APP_NAME}.exe"
!define APP_DIR "${APP_NAME} ${APP_SERIES_NAME}"
!define APP_DIR_USERDATA "${APP_NAME}${APP_VERSION_MAJOR}.${APP_VERSION_MINOR}"
!define APP_INFO "${APP_NAME} - The Document Processor"
!define APP_WEBPAGE "https://www.lyx.org/"
!define APP_WEBPAGE_INFO "${APP_NAME} Website"
!define APP_WIKI "https://wiki.lyx.org"
!define APP_WIKI_INFO "${APP_NAME} Wiki"
!define APP_COPYRIGHT "${APP_NAME} is Copyright © 1995 by Matthias Ettrich, 1995-${COPYRIGHT_YEAR} by the ${APP_NAME} Team"
!if ${SETUPTYPE} == STANDARD
!define APP_SETUPTYPE "Standard"
!endif
!define BIN_LYX "${APP_NAME}.exe"
!define APP_RUN "bin\${BIN_LYX}"
!define APP_REGFOLDER "Software\${APP_NAME}"
!define APP_REGKEY "${APP_REGFOLDER}\${APP_SERIES_KEY}" # like "LyX\220"
!define APP_REGKEY_SETUP "${APP_REGKEY}\Setup"
!define APP_REGKEY_SETTINGS "${APP_REGKEY}\Settings"
!define APP_REGNAME_DOC "${APP_NAME}.Document"
!define APP_EXT ".${APP_NAME_SMALL}"
!define APP_MIME_TYPE "application/${APP_NAME_SMALL}"
!define APP_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${SETUP_UNINSTALLER_KEY}"
#--------------------------------
# Setup settings
# Output file name can be configured using command line paramaters like
# /DExeFile=/path/to/installer
!if ${SETUPTYPE} == STANDARD
!define SETUP_EXE ${ExeFile}
!endif
!define SETUP_ICON "${FILES_ICONS}\${APP_NAME_SMALL}.ico"
!define SETUP_HEADERIMAGE "graphics\header.bmp"
!define SETUP_WIZARDIMAGE "graphics\wizard.bmp"
!define SETUP_UNINSTALLER "Uninstall-${APP_NAME}.exe"
!define SETUP_UNINSTALLER_KEY "${APP_NAME}${APP_SERIES_KEY}"
#--------------------------------
# Names of binaries to identify components
!define BIN_LATEX "latex.exe"
!define BIN_BIBTEXEDITOR "JabRef.exe"

View File

@ -1,305 +0,0 @@
/*
detection.nsh
Detection of external component locations
*/
# This script contains the following functions:
#
# - SearchExternal, calls the functions:
# LaTeXActions
# MissingPrograms
# FindDictionaries
#
# - MissingPrograms, (check if third-party programs are installed), uses:
# SEARCH_MIKTEX
# SEARCH_TEXLIVE
#
# - FindDictionaries (finds installed spellcheck and thesaurus dictionaries)
#
# - EditorCheck,
# (test if an editor with syntax-highlighting for LaTeX-files is installed)
#
#--------------------------
Function SearchExternal
Call LaTeXActions # function from LaTeX.nsh
Call MissingPrograms
SetRegView ${APP_VERSION_ACHITECHTURE}
Call FindDictionaries # function from dictionaries.nsh
FunctionEnd
# ---------------------------------------
Function MissingPrograms
# check if third-party programs are installed
# test if Ghostscript is installed, check all cases:
# 1. 32bit Windows
# 2. 64bit Windows but 32bit Ghostscript
# 3. 64bit Windows and 64bit Ghostscript
StrCpy $3 0
StrCpy $4 "0"
${if} ${RunningX64}
SetRegView 64
${endif}
# case 1. and 3.
GSloop:
EnumRegKey $1 HKLM "Software\GPL Ghostscript" $3
${if} $1 != ""
ReadRegStr $2 HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\GPL Ghostscript $1" "DisplayName"
StrCpy $0 "Software\GPL Ghostscript\$1"
${if} $2 == "" # if nothing was found in the uninstall section
ReadRegStr $2 HKLM "SOFTWARE\GPL Ghostscript" "OnlyWithLyX" # check if Ghostscript was installed together with LyX
${endif}
${if} $2 == "" # if nothing was found in the uninstall section
DeleteRegKey HKLM "$0"
goto GSloop
${else}
ReadRegStr $GhostscriptPath HKLM $0 "GS_DLL"
${if} $GhostscriptPath != ""
StrCpy $GhostscriptPath "$GhostscriptPath" -12 # remove ending "gsdll32.dll"
${endif}
# there might be several versions installed and we want to use the newest one
IntOp $3 $3 + 1
goto GSloop
${endif} # if $2
${endif}
SetRegView 32
# repeat for case 2.
${if} ${RunningX64}
${andif} $GhostscriptPath == ""
StrCpy $3 0
# we have to assure that we only repeat once and not forever
${if} $4 != "32"
StrCpy $4 "32"
goto GSloop
${endif}
${endif}
# test if Python is installed
# only use an existing python when it is version 2.5 or newer because some
# older Compaq and Dell PCs were delivered with outdated Python interpreters
# Python 3.x was reported not to work with LyX properly, see
# http://www.lyx.org/trac/ticket/7143
ReadRegStr $PythonPath HKLM "Software\Python\PythonCore\2.5\InstallPath" ""
${if} $PythonPath == ""
ReadRegStr $PythonPath HKLM "Software\Python\PythonCore\2.6\InstallPath" ""
${endif}
${if} $PythonPath == ""
ReadRegStr $PythonPath HKLM "Software\Python\PythonCore\2.7\InstallPath" ""
${endif}
${if} $PythonPath != ""
StrCpy $PythonPath $PythonPath -1 # remove the "\" at the end
StrCpy $DelPythonFiles "True"
${endif}
# No test necessary for Acrobat or Adobe Reader because pdfview does this job
# each time it is called.
# test if a PostScript-viewer is installed, only check for GSview
# check all cases:
# 1. 32bit Windows
# 2. 64bit Windows but 32bit GSview
# 3. 64bit Windows and 64bit GSview
${if} ${RunningX64}
SetRegView 64
StrCpy $PSVPath ""
ReadRegStr $PSVPath HKLM "Software\Microsoft\Windows\CurrentVersion\App Paths\gsview64.exe" "Path"
SetRegView 32
${endif}
# repeat for case 1. and 2.
${if} $PSVPath == ""
ReadRegStr $PSVPath HKLM "Software\Microsoft\Windows\CurrentVersion\App Paths\gsview32.exe" "Path"
${endif}
# test if an editor with syntax-highlighting for LaTeX-files is installed
Call EditorCheck
# test if an image editor is installed
StrCpy $ImageEditorPath ""
# first check for Gimp which is a 64bit application on x64 Windows
${if} ${RunningX64}
SetRegView 64
${endif}
ReadRegStr $ImageEditorPath HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\GIMP-2_is1" "InstallLocation"
${if} $ImageEditorPath != ""
StrCpy $ImageEditorPath "$ImageEditorPathbin" # add the bin folder
StrCpy $ImageEditor "Gimp"
${endif}
${if} ${RunningX64}
SetRegView 32
${endif}
# check for Photoshop
ReadRegStr $0 HKLM "Software\Classes\Applications\Photoshop.exe\shell\open\command" ""
${if} $0 != ""
StrCpy $0 "$0" -20 # delete '\photoshop.exe" "%1"'
StrCpy $0 $0 "" 1 # remove the leading quote
${if} $ImageEditorPath != ""
StrCpy $ImageEditorPath "$ImageEditorPath;$0"
${else}
StrCpy $ImageEditorPath $0
${endif}
StrCpy $ImageEditor "Photoshop"
${endif}
# check for Krita
${if} ${RunningX64}
SetRegView 64
${endif}
ReadRegStr $0 HKLM "SOFTWARE\Classes\Krita.Document\shell\open\command" ""
${if} $0 != ""
StrCpy $0 "$0" -16 # delete '\krita.exe" "%1"'
StrCpy $0 $0 "" 1 # remove the leading quote
${if} $ImageEditorPath != ""
StrCpy $ImageEditorPath "$ImageEditorPath;$0"
${else}
StrCpy $ImageEditorPath $0
${endif}
StrCpy $ImageEditor "Krita"
${endif}
${if} ${RunningX64}
SetRegView 32
${endif}
# test if and where the BibTeX-editor JabRef is installed
${if} ${RunningX64}
SetRegView 64
${endif}
ReadRegStr $PathBibTeXEditor HKLM "SOFTWARE\JabRef" "Path"
# if not installed as admin, check for user
${if} $PathBibTeXEditor == ""
ReadRegStr $PathBibTeXEditor HKCU "Software\JabRef" "Path"
${endif}
${if} ${RunningX64}
SetRegView 32
${endif}
${ifnot} ${FileExists} "$PathBibTeXEditor\${BIN_BIBTEXEDITOR}"
StrCpy $PathBibTeXEditor ""
StrCpy $JabRefInstalled == "No"
${else}
StrCpy $JabRefInstalled == "Yes"
${endif}
# test if and where LilyPond is installed
ReadRegStr $LilyPondPath HKLM "Software\LilyPond" "Install_Dir"
${if} $LilyPondPath != ""
StrCpy $LilyPondPath "$LilyPondPath\usr\bin" # add "\usr\bin"
${endif}
# test if Inkscape is installed
ReadRegStr $SVGPath HKLM "SOFTWARE\Classes\inkscape.svg\DefaultIcon" ""
${if} $SVGPath != ""
StrCpy $SVGPath $SVGPath "" 1 # remove the leading quote
StrCpy $SVGPath $SVGPath -14 # # delete '\inkscape.exe"'
${endif}
${if} $SVGPath == ""
# this was used before Inkscape 0.91:
ReadRegStr $SVGPath HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Inkscape" "InstallLocation"
${endif}
# test if Gnumeric is installed
ReadRegStr $0 HKLM "Software\Classes\Applications\gnumeric.exe\shell\Open\command" ""
${if} $0 != ""
StrCpy $0 $0 -18 # remove "gnumeric.exe" "%1""
StrCpy $0 $0 "" 1 # remove the leading quote
StrCpy $GnumericPath $0
${endif}
# test if Pandoc is installed
# HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\John MacFarlane\Pandoc
${if} ${RunningX64}
SetRegView 64 # the PATH is in the 64bit registry section
${endif}
# check for the path to the pandoc.exe in Window's PATH variable
StrCpy $5 ""
StrCpy $Search "pandoc"
ReadRegStr $String HKCU "Environment" "PATH"
!insertmacro PATHCheck $5 "pandoc.exe" # macro from LyXUtils.nsh
# if it is not in the user-specific PATH it might be in the global PATH
${if} $5 == "False"
ReadRegStr $String HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" "Path"
!insertmacro PATHCheck $5 "pandoc.exe" # macro from LyXUtils.nsh
${endif}
SetRegView 32
${if} $5 != "False"
StrCpy $PandocPath $5
${endif}
FunctionEnd
# ---------------------------------------
Function EditorCheck
# test if an editor with syntax-highlighting for LaTeX-files is installed
# (check for jEdit, PSPad, WinShell, ConTEXT, Crimson Editor, Vim, TeXnicCenter, LaTeXEditor, WinEdt, LEd, WinTeX)
StrCpy $EditorPath ""
StrCpy $0 ""
# check for jEdit which is a 64bit application on x64 Windows
${if} ${RunningX64}
SetRegView 64
${endif}
ReadRegStr $EditorPath HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\jEdit_is1" "InstallLocation"
${if} $EditorPath != ""
StrCpy $EditorPath $EditorPath -1 # remove "\" from the end of the string
${endif}
SetRegView 32
# check for PSPad
StrCpy $0 ""
ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\PSPad editor_is1" "InstallLocation"
${if} $0 != ""
StrCpy $0 $0 -1 # remove the "\"
StrCpy $EditorPath "$EditorPath;$0"
${endif}
# check for WinShell
StrCpy $0 ""
ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\WinShell_is1" "InstallLocation"
${if} $0 != ""
StrCpy $0 $0 -1 # remove the "\"
StrCpy $EditorPath "$EditorPath;$0"
${endif}
# check for Vim which is a 64bit application on x64 Windows
StrCpy $0 ""
${if} ${RunningX64}
SetRegView 64
${endif}
ReadRegStr $0 HKLM "Software\Vim\Gvim" "path"
${if} $0 != ""
StrCpy $0 $0 -9 # remove "\gvim.exe"
StrCpy $EditorPath "$EditorPath;$0"
${endif}
SetRegView 32
# check for TeXnicCenter which can be a 64bit application on x64 Windows
StrCpy $0 ""
${if} ${RunningX64}
SetRegView 64
${endif}
ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\TeXnicCenter_is1" "InstallLocation"
${if} $0 != ""
StrCpy $0 $0 -1 # remove the "\"
StrCpy $EditorPath "$EditorPath;$0"
${else}
SetRegView 32
ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\TeXnicCenter_is1" "InstallLocation"
${if} $0 != ""
StrCpy $0 $0 -1 # remove the "\"
StrCpy $EditorPath "$EditorPath;$0"
${endif}
${endif}
SetRegView 32
# check for WinEdt
StrCpy $0 ""
ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\WinEdt 7" "InstallLocation"
${if} $0 != ""
StrCpy $EditorPath "$EditorPath;$0"
${endif}
FunctionEnd

View File

@ -1,209 +0,0 @@
/*
dictionaries.nsh
Handling of hunspell / MyThes dictionaries
*/
# This script contains the following functions:
#
# - FindDictionaries (finds already installed dictionaries)
#
# - DownloadHunspellDictionaries and DownloadThesaurusDictionaries
# (Downloads hunspell / MyThes dictionaries from a location that is
# given in the file $INSTDIR\Resources\HunspellDictionaryNames.txt)
#
# - InstallHunspellDictionaries and InstallThesaurusDictionaries
# (installs the selected hunspell / MyThes dictionaries except of
# already existing ones), uses:
# DownloadHunspellDictionaries or DownloadThesaurusDictionaries
# ---------------------------------------
Function FindDictionaries
# finds already installed dictionaries
# start with empty strings
StrCpy $FoundDict ""
StrCpy $FoundThes ""
# read out the possible spell-checker filenames from the file
FileOpen $R5 "$INSTDIR\Resources\HunspellDictionaryNames.txt" r
${for} $5 1 73
# the file has 146 lines, but we only need to check for one of the 2 dictionary files per language
# therefore check only for every second line
FileRead $R5 $String # skip the .aff file
FileRead $R5 $String # $String is now the .dic filename
StrCpy $String $String -2 # remove the linebreak characters
StrCpy $R3 $String -4 # $R3 is now the dictionary language code
${if} ${FileExists} "$INSTDIR\Resources\dicts\$String"
StrCpy $FoundDict "$R3 $FoundDict"
${endif}
${next}
FileClose $R5
# read out the possible thesaurus filenames from the file
FileOpen $R5 "$INSTDIR\Resources\ThesaurusDictionaryNames.txt" r
${for} $5 1 28
# the file has 56 lines, but we only need to check for one of the 2 thesaurus files per language
# therefore check only for every second line
FileRead $R5 $String # $String is now the dictionary name
FileRead $R5 $String # $String is now the dictionary name
StrCpy $String $String -2 # remove the linebreak characters
StrCpy $R3 $String 5 3 # $R3 is now the dictionary language code
${if} ${FileExists} "$INSTDIR\Resources\thes\$String"
StrCpy $FoundThes "$R3 $FoundThes"
${endif}
${next}
FileClose $R5
FunctionEnd
# ---------------------------------------
Function DownloadHunspellDictionaries
# Downloads hunspell dictionaries from a location that is given in the file
# $INSTDIR\Resources\HunspellDictionaryNames.txt
# read out the locations from the file
FileOpen $R5 "$INSTDIR\Resources\HunspellDictionaryNames.txt" r
${For} $5 1 146 # the file has 146 lines
FileRead $R5 $String # $String is now the dictionary name
StrCpy $R3 $String -6 # $R3 is now the dictionary language code
${if} $DictCode == $R3
StrCpy $String $String -2 # delete the linebreak characters at the end
# Download hunspell dictionaries
inetc::get /TIMEOUT=5000 "https://www.lyx.org/trac/export/HEAD/lyxsvn/dictionaries/trunk/dicts/$String" "$INSTDIR\Resources\dicts\$String" /END
Pop $R0
# if download failed
${if} $R0 != "OK"
MessageBox MB_OK|MB_ICONEXCLAMATION "$(HunspellFailed)"
Goto abortinstall
${endif}
${endif} # end if $DictCode == $R3
${Next}
FileClose $R5
abortinstall:
Delete "$INSTDIR\$String"
FunctionEnd
#--------------------------------
Function DownloadThesaurusDictionaries
# Downloads thesaurus dictionaries from a location that is given in the file
# $INSTDIR\Resources\ThesaurusDictionaryNames.txt
# read out the locations from the file
FileOpen $R5 "$INSTDIR\Resources\ThesaurusDictionaryNames.txt" r
${For} $5 1 56 # the file has 56 lines
FileRead $R5 $String # $String is now the thesaurus name
StrCpy $R3 $String 5 3 # $R3 is now the thesaurus language code
${if} $ThesCode == $R3
StrCpy $String $String -2 # delete the linebreak characters at the end
# Download thesaurus files
inetc::get /TIMEOUT=5000 "https://www.lyx.org/trac/export/HEAD/lyxsvn/dictionaries/trunk/thes/$String" "$INSTDIR\Resources\thes\$String" /END
Pop $R0
# if download failed
${if} $R0 != "OK"
MessageBox MB_OK|MB_ICONEXCLAMATION "$(ThesaurusFailed)"
Goto abortinstall
${endif}
${endif} # end if $ThesCode == $R3
${Next}
FileClose $R5
abortinstall:
Delete "$INSTDIR\$String"
FunctionEnd
#--------------------------------
Function InstallHunspellDictionaries
# installs the selected hunspell dictionaries except of already existing ones
${Do}
# take the first code
StrCpy $Search ","
StrCpy $String $DictCodes
Call StrPoint
# we always have a "," for each code, so in case in case something
# went wrong, empty the code list to exit the loop
${if} $Pointer == "-1"
StrCpy $DictCodes ""
${endif}
${if} $Pointer != "-1"
StrCpy $DictCode $DictCodes $Pointer
# remove the taken code from the list
IntOp $Pointer $Pointer + 1
StrCpy $DictCodes $DictCodes "" $Pointer
# don't dowload existing ones thus check if $DictCode is in $FoundDict
StrCpy $String $FoundDict
StrCpy $Search $DictCode
Call StrPoint # function from LyXUtils.nsh
${if} $Pointer == "-1"
# download the dictionaries
Call DownloadHunspellDictionaries
${endif}
${endif}
${LoopUntil} $DictCodes == ""
FunctionEnd
#--------------------------------
Function InstallThesaurusDictionaries
# installs the selected thesaurus dictionaries except of already existing ones
${Do}
# take the first code
StrCpy $Search ","
StrCpy $String $ThesCodes
Call StrPoint
# we always have a "," for each code, so in case in case something
# went wrong, empty the code list to exit the loop
${if} $Pointer == "-1"
StrCpy $ThesCodes ""
${endif}
${if} $Pointer != "-1"
StrCpy $ThesCode $ThesCodes $Pointer
# remove the taken code from the list
IntOp $Pointer $Pointer + 1
StrCpy $ThesCodes $ThesCodes "" $Pointer
# don't dowload existing ones thus check if $ThesCode is in $FoundThes
StrCpy $String $FoundThes
StrCpy $Search $ThesCode
Call StrPoint # function from LyXUtils.nsh
${if} $Pointer == "-1"
# download the dictionaries
Call DownloadThesaurusDictionaries
${endif}
${endif}
${LoopUntil} $ThesCodes == ""
# some dictionaries of language variants are identic
# therefore copy and rename an existing dictionary
CreateDirectory "$INSTDIR\Resources\backup"
${if} ${FileExists} "$INSTDIR\Resources\thes\th_de_DE_v2.dat"
CopyFiles "$INSTDIR\Resources\thes\th_de_DE_v2.*" "$INSTDIR\Resources\backup"
Rename "$INSTDIR\Resources\backup\th_de_DE_v2.dat" "$INSTDIR\Resources\backup\th_de_AT_v2.dat"
Rename "$INSTDIR\Resources\backup\th_de_DE_v2.idx" "$INSTDIR\Resources\backup\th_de_AT_v2.idx"
CopyFiles "$INSTDIR\Resources\backup\th_de_AT_v2.*" "$INSTDIR\Resources\thes"
${endif}
${if} ${FileExists} "$INSTDIR\Resources\thes\th_en_US_v2.dat"
CopyFiles "$INSTDIR\Resources\thes\th_en_US_v2.*" "$INSTDIR\Resources\backup"
Rename "$INSTDIR\Resources\backup\th_en_US_v2.dat" "$INSTDIR\Resources\backup\th_en_AU_v2.dat"
Rename "$INSTDIR\Resources\backup\th_en_US_v2.idx" "$INSTDIR\Resources\backup\th_en_AU_v2.idx"
CopyFiles "$INSTDIR\Resources\backup\th_en_AU_v2.*" "$INSTDIR\Resources\thes"
${endif}
RMDir "$INSTDIR\Resources\backup"
FunctionEnd

View File

@ -1,142 +0,0 @@
/*
filelist.nsh
Lists of files to include in the installer
*/
!define FILE '${COMMAND} "${DIRECTORY}'
!macro FileListLyXBin COMMAND DIRECTORY
${FILE}${BIN_LYX}"
${FILE}tex2lyx.exe"
!macroend
!macro FileListQtBin COMMAND DIRECTORY
${FILE}Qt5Concurrent.dll"
${FILE}Qt5Core.dll"
${FILE}Qt5Gui.dll"
${FILE}Qt5Network.dll"
${FILE}Qt5OpenGL.dll"
${FILE}Qt5PrintSupport.dll"
${FILE}Qt5Svg.dll"
${FILE}Qt5Widgets.dll"
${FILE}Qt5WinExtras.dll"
!macroend
!macro FileListQtImageformats COMMAND DIRECTORY
${FILE}qgif.dll"
${FILE}qico.dll"
${FILE}qjpeg.dll"
${FILE}qsvg.dll"
${FILE}qicns.dll"
${FILE}qtiff.dll"
${FILE}qwbmp.dll"
${FILE}qwebp.dll"
!macroend
!macro FileListQtIconengines COMMAND DIRECTORY
${FILE}qsvgicon.dll"
!macroend
!macro FileListQtPlatforms COMMAND DIRECTORY
${FILE}qminimal.dll"
${FILE}qwindows.dll"
!macroend
!macro FileListQtStyles COMMAND DIRECTORY
${FILE}qwindowsvistastyle.dll"
!macroend
!macro FileListMinGW COMMAND DIRECTORY
# Files needed for MinGW
${FILE}iconv.dll"
${FILE}libbz2-1.dll"
${FILE}libfreetype-6.dll"
${FILE}libgcc_s_sjlj-1.dll"
${FILE}libglib-2.0-0.dll"
${FILE}libharfbuzz-0.dll"
${FILE}libintl-8.dll"
${FILE}libjpeg-62.dll"
${FILE}libpcre-1.dll"
${FILE}libpcre2-16-0.dll"
${FILE}libpng16-16.dll"
${FILE}libstdc++-6.dll"
${FILE}libtiff-5.dll"
${FILE}libwinpthread-1.dll"
${FILE}libwebp-7.dll"
${FILE}libwebpdemux-2.dll"
${FILE}zlib1.dll"
!macroend
!macro FileListMSVC COMMAND DIRECTORY
# Files needed for MSVC 2019
# Seem to be installed for dependencies
${FILE}concrt140.dll"
${FILE}msvcp140.dll"
${FILE}vcamp140.dll"
${FILE}vccorlib140.dll"
${FILE}vcomp140.dll"
${FILE}vcruntime140.dll"
!if ${APP_VERSION_ACHITECHTURE} = 64
${File}vcruntime140_1.dll"
!endif
!macroend
!macro FileListNetpbmBin COMMAND DIRECTORY
${FILE}libnetpbm10.dll"
${FILE}pnmcrop.exe"
!macroend
!macro FileListRsvg COMMAND DIRECTORY
${FILE}rsvg-convert.exe"
!macroend
!macro FileListUnoConv COMMAND DIRECTORY
${FILE}unoconv.py"
!macroend
!macro FileListPDFViewBin COMMAND DIRECTORY
${FILE}pdfview.exe"
!macroend
!macro FileListFonts COMMAND DIRECTORY
# FIXME: simply copy the whole directory!
${FILE}cmex10.ttf"
${FILE}cmmi10.ttf"
${FILE}cmr10.ttf"
${FILE}cmsy10.ttf"
${FILE}esint10.ttf"
${FILE}eufm10.ttf"
${FILE}msam10.ttf"
${FILE}msbm10.ttf"
${FILE}rsfs10.ttf"
${FILE}wasy10.ttf"
!macroend

View File

@ -1,102 +0,0 @@
/*
gui.nsh
Installer user interface settings
*/
#--------------------------------
# General
Name "${APP_NAME} ${APP_VERSION}"
BrandingText " "
#--------------------------------
# Interface settings
!define MUI_ABORTWARNING
!define MUI_ICON "${SETUP_ICON}"
!define MUI_UNICON "${SETUP_ICON}"
!define MUI_HEADERIMAGE
!define MUI_HEADERIMAGE_BITMAP "${SETUP_HEADERIMAGE}"
!define MUI_HEADERIMAGE_RIGHT
!define MUI_WELCOMEFINISHPAGE_BITMAP "${SETUP_WIZARDIMAGE}"
!define MUI_UNWELCOMEFINISHPAGE_BITMAP "${SETUP_WIZARDIMAGE}"
#--------------------------------
# Pages
# Installer
# Welcome page
!define MUI_WELCOMEPAGE_TEXT $(TEXT_WELCOME)
!insertmacro MUI_PAGE_WELCOME
# Show the license.
!insertmacro MUI_PAGE_LICENSE "${FILES_LICENSE}"
# Decision if it should be installed as admin or not
!insertmacro MULTIUSER_PAGE_INSTALLMODE
#Page custom PageExternalLaTeX PageExternalLaTeXValidate
# Specify the installation directory.
!insertmacro MUI_PAGE_DIRECTORY
# Define which components to install.
!insertmacro MUI_PAGE_COMPONENTS
# Specify where to install program shortcuts.
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "Start Menu Folder"
!define MUI_STARTMENUPAGE_DEFAULTFOLDER "${APP_NAME} ${APP_SERIES_NAME}"
!insertmacro MUI_PAGE_STARTMENU ${APP_NAME} $StartmenuFolder
# Select latex.exe manually
Page custom LatexFolder LatexFolder_LeaveFunction
# Watch the components being installed.
!insertmacro MUI_PAGE_INSTFILES
# The option to run LyX from the finish page is currently disabled because
# it may run with Administrator priviledges, therefore causing a different
# user directory to be used. This could be fixed by creating a separate
# process without UAC elevation.
# !define MUI_FINISHPAGE_RUN_TEXT "$(FinishPageRun)"
# !define MUI_FINISHPAGE_RUN "$INSTDIR\${APP_RUN}"
#!define MUI_FINISHPAGE_SHOWREADME
#!define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED
#!define MUI_FINISHPAGE_SHOWREADME_FUNCTION StartLyX
#!define MUI_FINISHPAGE_SHOWREADME_TEXT $(FinishPageRun)
!define MUI_FINISHPAGE_LINK $(TEXT_FINISH_WEBSITE)
!define MUI_FINISHPAGE_LINK_LOCATION "https://www.lyx.org/"
#!define MUI_PAGE_CUSTOMFUNCTION_SHOW CheckDesktopShortcut
!insertmacro MUI_PAGE_FINISH
# Uninstaller
!insertmacro MUI_UNPAGE_WELCOME
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_COMPONENTS
!insertmacro MUI_UNPAGE_INSTFILES
!insertmacro MUI_UNPAGE_FINISH
#--------------------------------
# Installer Languages
!include lang\TranslatedLanguages.nsh
#--------------------------------
# Version information
VIProductVersion "${APP_VERSION_NUMBER}"
VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductName" "${APP_NAME}"
VIAddVersionKey /LANG=${LANG_ENGLISH} "ProductVersion" "${APP_NAME} ${APP_VERSION_MAJOR}.${APP_VERSION_MINOR}.${APP_VERSION_REVISION} ${APP_SETUPTYPE} installer"
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileDescription" "${APP_INFO}"
VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "${APP_VERSION}"
VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalCopyright" "${APP_COPYRIGHT}"
VIAddVersionKey /LANG=${LANG_ENGLISH} "CompanyName" "${APP_NAME} Team"
# Fixme: LyX should register the name "LyX" as trademark
VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalTrademarks" ""

File diff suppressed because it is too large Load Diff

View File

@ -1,49 +0,0 @@
/*
nsis.nsh
Configuration of standard NSIS header files
*/
#--------------------------------
# Multi-User settings
!define MULTIUSER_EXECUTIONLEVEL Highest
!define MULTIUSER_INSTALLMODE_COMMANDLINE
!define MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_KEY "${APP_REGKEY}"
!define MULTIUSER_INSTALLMODE_DEFAULT_REGISTRY_VALUENAME ""
!define MULTIUSER_INSTALLMODE_INSTDIR "${APP_DIR}"
!define MULTIUSER_INSTALLMODE_INSTDIR_REGISTRY_KEY "${APP_REGKEY}"
!define MULTIUSER_INSTALLMODE_INSTDIR_REGISTRY_VALUENAME ""
!define MULTIUSER_INSTALLMODE_FUNCTION InitUser
!define MULTIUSER_MUI
!if ${APP_VERSION_ACHITECHTURE} = 64
!define MULTIUSER_USE_PROGRAMFILES64
!endif
#--------------------------------
# Standard header files
!include MUI2.nsh
!include LogicLib.nsh
!include Sections.nsh
!include WinVer.nsh
!include LangFile.nsh
!include MultiUser.nsh
!include InstallOptions.nsh
!include x64.nsh
# Set of various macros and functions
!include include\LyXUtils.nsh
# Functions to check and configure the LaTeX-system
!include include\LaTeX.nsh
# Function for page to manually select LaTeX's installation folder
!include gui\LaTeXFolder.nsh
# Functions to download spell-checker and thesaurus dictionaries
!include include\dictionaries.nsh

View File

@ -1,52 +0,0 @@
/*
variables.nsh
Variables that are shared between multiple files
*/
Var PathLaTeX
Var PathLaTeXLocal
Var PathBibTeXEditor
Var APPDATemp
Var AppPre
var AppSubfolder
Var AppSuff
Var CreateDesktopIcon
Var CreateFileAssociations
Var DictCode
Var DictCodes
Var DelPythonFiles
Var EditorPath
Var FoundDict
Var FoundThes
Var GhostscriptPath
Var GnumericPath
Var ImageEditor
Var ImageEditorPath
Var Is64bit
Var JabRefInstalled
Var LaTeXName
Var LaTeXInstalled
Var LilyPondPath
Var MiKTeXUser
Var MiKTeXVersion
Var OldVersionNumber
Var PandocPath
Var Pointer
Var PSVPath
Var PythonPath
Var Search
Var State
Var SVGPath
Var StartmenuFolder
Var String
Var Tmp
Var ThesCode
Var ThesCodes
Var UpdateFNDBReturn
Var UserList
Var LangName

View File

@ -1,68 +0,0 @@
/*
NSIS Script - LyX 2.3 Installer for Windows
Authors: Joost Verburg, Angus Leeming, Uwe Stöhr
Compatible with NSIS 3.0
*/
# Do a Cyclic Redundancy Check to make sure the installer
# was not corrupted by the download.
CRCCheck force
#
# Make the installer as small as possible
SetCompressor /SOLID lzma
# make it a Unicode installer
Unicode true
# enable support for high DPI resolution
ManifestDPIAware true
!ifndef SETUPTYPE
!define SETUPTYPE BUNDLE
!endif
# installer settings like version numbers
!include settings.nsh
# declarations of LyX's registry keys and installer variant
!include include\declarations.nsh
# definitions of global variables
!include include\variables.nsh
# configuration of standard NSIS header files
!include include\nsis.nsh
# list of files to be included in the installer
!include include\filelist.nsh
# detect third-party programs like Inkscape and LaTeX
!include include\detection.nsh
# set up the installer pages
!include include\gui.nsh
# sets the install sections and checks the system on starting the un/installer
!include include\init.nsh
# install LyX and needed third-party programs like Python etc.
!include setup\install.nsh
# loads a function to modify Windows environment variables
!include include\EnvVarUpdate.nsh
# uninstall LyX and all programs that were installed together with LyX
!include setup\uninstall.nsh
# configure LyX (set start menu and write registry entries)
!include setup\configure.nsh
# provides downloads of external programs
#!include gui\external.nsh
#--------------------------------
# Output file
Outfile "${SETUP_EXE}"

View File

@ -1,67 +0,0 @@
/*
NSIS Script - LyX 2.3 Installer for Windows
Authors: Joost Verburg, Angus Leeming, Uwe Stöhr
Compatible with NSIS 3.0
*/
# Do a Cyclic Redundancy Check to make sure the installer
# was not corrupted by the download.
CRCCheck force
#
# Make the installer as small as possible
SetCompressor /SOLID lzma
# make it a Unicode installer
Unicode true
# enable support for high DPI resolution
ManifestDPIAware true
!ifndef SETUPTYPE
!define SETUPTYPE STANDARD
!endif
# installer settings like version numbers
!include settings.nsh
# declarations of LyX's registry keys and installer variant
!include include\declarations.nsh
# definitions of global variables
!include include\variables.nsh
# configuration of standard NSIS header files
!include include\nsis.nsh
# list of files to be included in the installer
!include include\filelist.nsh
# detect third-party programs like Inkscape and LaTeX
!include include\detection.nsh
# set up the installer pages
!include include\gui.nsh
# sets the install sections and checks the system on starting the un/installer
!include include\init.nsh
# install LyX and needed third-party programs like Python etc.
!include setup\install.nsh
# loads a function to modify Windows environment variables
!include include\EnvVarUpdate.nsh
# uninstall LyX and all programs that were installed together with LyX
!include setup\uninstall.nsh
# configure LyX (set start menu and write registry entries)
!include setup\configure.nsh
# provides downloads of external programs
#!include gui\external.nsh
#--------------------------------
# Output file
Outfile "${SETUP_EXE}"

View File

@ -1,52 +0,0 @@
/*
Settings for LyX installer
These typically need to be modified for each LyX release
*/
#--------------------------------
# Version number
!define APP_VERSION_MAJOR 2
!define APP_VERSION_MINOR 4
!define APP_VERSION_REVISION 0
!define APP_VERSION_EMERGENCY "dev" # use "1" for an emergency release of LyX otherwise ""
!define APP_EMERGENCY_DOT "" # use "." for an emergency release of LyX otherwise ""
!define APP_VERSION_BUILD 1 # Start with 1 for the installer releases of each version
# 32 or 64 bit, use build folder names and dependencies folder names containing "32" or "64" to use following constant in File locations declarations below
!define APP_VERSION_ACHITECHTURE 32
!define APP_VERSION "${APP_VERSION_MAJOR}.${APP_VERSION_MINOR}.${APP_VERSION_REVISION}${APP_EMERGENCY_DOT}${APP_VERSION_EMERGENCY}" # Version to display
!define COPYRIGHT_YEAR 2020
#--------------------------------
# Installer file name
# Typical names for the release are "LyX-232-Installer-1.exe" etc.
!ifndef ExeFile
!define ExeFile "${APP_NAME}-${APP_VERSION_MAJOR}${APP_VERSION_MINOR}${APP_VERSION_REVISION}${APP_VERSION_EMERGENCY}-Installer-${APP_VERSION_BUILD}-\
x${APP_VERSION_ACHITECHTURE}.exe"
!endif
#--------------------------------
# File locations
# !!! you need to adjust them to the folders in your Windows system !!!
!define FILES_BASE "C:\lyx"
!define FILES_GIT "${FILES_BASE}\master\development\Win32\packaging"
!define FILES_LYX "${FILES_BASE}\masterbuild${APP_VERSION_ACHITECHTURE}\LYX_INSTALLED"
!define FILES_DEPS "${FILES_BASE}\lyx-windows-deps-msvc2019_${APP_VERSION_ACHITECHTURE}"
!define FILES_QT "${FILES_BASE}\masterbuild${APP_VERSION_ACHITECHTURE}\LYX_INSTALLED"
!define ClassFileDir "${FILES_LYX}\Resources\tex"
#--------------------------------
# MiKTeX and JabRef
!define MiKTeXRepo "ftp://ftp.tu-chemnitz.de/pub/tex/systems/win32/miktex/tm/packages/"
!define ImageMagickVersion "7.0.10"

View File

@ -1,262 +0,0 @@
/*
configure.nsh
Write registry information and configure LyX
*/
Var PathPrefix
#!define SHORTCUT '${APP_NAME} ${APP_SERIES_NAME}.lnk" "$INSTDIR\${APP_RUN}" "" "$INSTDIR\${APP_RUN}" "" "" "" "${APP_INFO}"'
#--------------------------------
# Registry information
Section -InstallData
# Registry information
ReadRegStr $0 SHCTX ${APP_REGFOLDER} "latestVersion"
${If} $0 < ${APP_SERIES_KEY}
WriteRegStr SHCTX ${APP_REGFOLDER} "latestVersion" ${APP_SERIES_KEY}
${EndIf}
WriteRegStr SHCTX ${APP_REGKEY} "" $INSTDIR
WriteRegStr SHCTX ${APP_REGKEY} "Version" "${APP_VERSION_NUMBER}"
WriteRegStr SHCTX ${APP_REGKEY_SETUP} "LaTeX Path" $PathLaTeX
# Start Menu shortcut
SetOutPath "$INSTDIR\bin" # this is the folder in which the shortcut is executed
# we must assure that the folder is not empty (happens on silent install and can accidentally happen)
${if} $StartmenuFolder == ""
StrCpy $StartmenuFolder "${APP_DIR}"
${endif}
CreateDirectory "$SMPROGRAMS\$StartmenuFolder"
CreateShortCut "$SMPROGRAMS\$StartmenuFolder\${APP_NAME}.lnk" "$INSTDIR\${APP_RUN}" "" "$INSTDIR\${APP_RUN}" "" "" "" "${APP_INFO}"
# Link to www.lyx.org and to the Wiki
WriteINIStr "$SMPROGRAMS\$StartmenuFolder\${APP_WEBPAGE_INFO}.url" "InternetShortcut" "URL" "${APP_WEBPAGE}"
WriteINIStr "$SMPROGRAMS\$StartmenuFolder\${APP_WIKI_INFO}.url" "InternetShortcut" "URL" "${APP_WIKI}"
# create desktop icon
${if} $CreateDesktopIcon == "true"
SetOutPath "$INSTDIR\bin"
CreateShortCut "$DESKTOP\${APP_NAME} ${APP_SERIES_NAME}.lnk" "$INSTDIR\${APP_RUN}" "" "$INSTDIR\${APP_RUN}" "" "" "" "${APP_INFO}"
${endif}
# Uninstaller information
${If} $MultiUser.InstallMode == "CurrentUser"
WriteRegStr SHCTX ${APP_UNINST_KEY} "DisplayName" "${APP_NAME} ${APP_VERSION} $(TEXT_INSTALL_CURRENTUSER)"
${Else}
WriteRegStr SHCTX ${APP_UNINST_KEY} "DisplayName" "${APP_NAME} ${APP_VERSION}"
${EndIf}
WriteRegStr SHCTX ${APP_UNINST_KEY} "UninstallString" '"$INSTDIR\${SETUP_UNINSTALLER}"'
WriteRegStr SHCTX ${APP_UNINST_KEY} "DisplayVersion" "${APP_VERSION}"
WriteRegStr SHCTX ${APP_UNINST_KEY} "DisplayIcon" "$INSTDIR\bin\${APP_NAME_SMALL}.exe"
WriteRegStr SHCTX ${APP_UNINST_KEY} "URLUpdateInfo" "${APP_WEBPAGE}"
WriteRegStr SHCTX ${APP_UNINST_KEY} "URLInfoAbout" "https://www.lyx.org/AboutLyX"
WriteRegStr SHCTX ${APP_UNINST_KEY} "Publisher" "${APP_NAME} Team"
WriteRegStr SHCTX ${APP_UNINST_KEY} "HelpLink" "https://www.lyx.org/MailingLists"
WriteRegDWORD SHCTX ${APP_UNINST_KEY} "NoModify" 0x00000001
WriteRegDWORD SHCTX ${APP_UNINST_KEY} "NoRepair" 0x00000001
WriteRegStr SHCTX ${APP_UNINST_KEY} "StartMenu" "$SMPROGRAMS\$StartmenuFolder"
# if we install over an older existing version, remove the old uninstaller information
${if} $OldVersionNumber != ""
${AndIf} $OldVersionNumber < ${APP_SERIES_KEY}
DeleteRegKey SHCTX "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APP_NAME}$OldVersionNumber"
DeleteRegKey SHCTX "SOFTWARE\${APP_NAME}\$OldVersionNumber"
# also delete in the case of an emergency release
${For} $7 0 20
DeleteRegKey SHCTX "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APP_NAME}$OldVersionNumber$7"
DeleteRegKey SHCTX "SOFTWARE\${APP_NAME}\$OldVersionNumber$7"
${Next}
${endif}
SectionEnd
#--------------------------------
# Write LyX configuration file
Section -Configure
# Associate .lyx files with LyX for current user or all users
${if} $CreateFileAssociations == "true"
WriteRegStr SHCTX "${APP_DIR_REGKEY}" "" "$INSTDIR\${APP_RUN}"
${endif}
# Write information about file type
#!define REG_FILETYPE 'WriteRegStr SHCTX "Software\Classes\${APP_REGNAME_DOC}"'
${if} $CreateFileAssociations == "true"
WriteRegStr SHCTX "${APP_DIR_REGKEY}" "OnlyWithLyX" "Yes${APP_SERIES_KEY}" # special entry to test if they were registered by this LyX version
WriteRegStr SHCTX "Software\Classes\${APP_REGNAME_DOC}" "" "${APP_NAME} Document"
WriteRegStr SHCTX "Software\Classes\${APP_REGNAME_DOC}\DefaultIcon" "" "$INSTDIR\${APP_RUN},0"
WriteRegStr SHCTX "Software\Classes\${APP_REGNAME_DOC}\Shell\open\command" "" '"$INSTDIR\${APP_RUN}" "%1"'
# we need to update also the automatically created entry about the lyx.exe
# otherwise .lyx-files will could be opened with an older LyX version
ReadRegStr $0 SHCTX "Software\Classes\Applications\${BIN_LYX}\shell\open\command" ""
${if} $0 != "" # if something was found
WriteRegStr SHCTX "Software\Classes\Applications\${BIN_LYX}\shell\open\command" "" '"$INSTDIR\${APP_RUN}" "%1"'
${endif}
# .lyx
WriteRegStr SHCTX "Software\Classes\${APP_EXT}" "" "${APP_REGNAME_DOC}"
WriteRegStr SHCTX "Software\Classes\${APP_EXT}" "Content Type" "${APP_MIME_TYPE}"
# .lyx13
WriteRegStr SHCTX "Software\Classes\${APP_EXT}13" "" "${APP_REGNAME_DOC}"
WriteRegStr SHCTX "Software\Classes\${APP_EXT}13" "Content Type" "${APP_MIME_TYPE}"
# .lyx14
WriteRegStr SHCTX "Software\Classes\${APP_EXT}14" "" "${APP_REGNAME_DOC}"
WriteRegStr SHCTX "Software\Classes\${APP_EXT}14" "Content Type" "${APP_MIME_TYPE}"
# .lyx15
WriteRegStr SHCTX "Software\Classes\${APP_EXT}15" "" "${APP_REGNAME_DOC}"
WriteRegStr SHCTX "Software\Classes\${APP_EXT}15" "Content Type" "${APP_MIME_TYPE}"
# .lyx16
WriteRegStr SHCTX "Software\Classes\${APP_EXT}16" "" "${APP_REGNAME_DOC}"
WriteRegStr SHCTX "Software\Classes\${APP_EXT}16" "Content Type" "${APP_MIME_TYPE}"
# .lyx20
WriteRegStr SHCTX "Software\Classes\${APP_EXT}20" "" "${APP_REGNAME_DOC}"
WriteRegStr SHCTX "Software\Classes\${APP_EXT}20" "Content Type" "${APP_MIME_TYPE}"
# .lyx21
WriteRegStr SHCTX "Software\Classes\${APP_EXT}21" "" "${APP_REGNAME_DOC}"
WriteRegStr SHCTX "Software\Classes\${APP_EXT}21" "Content Type" "${APP_MIME_TYPE}"
# .lyx22 don't set this, because this is designed to be opened with LyX 2.2.x
# Refresh shell
${RefreshShellIcons}
${endif}
# Install standard lyxrc.dist file
#SetOutPath "$INSTDIR\Resources"
#File "${FILES_DEPS}\Resources\lyxrc.dist"
# create the path prefix
# $$ represents a literal $ in an NSIS string
StrCpy $PathPrefix "$$LyXDir\bin;$$LyXDir\Python;$$LyXDir\Python\Lib;$$LyXDir\Perl\bin;$$LyXDir\imagemagick"
${if} $PathLaTeX != ""
StrCpy $PathPrefix "$PathPrefix;$PathLaTeX"
${EndIf}
${if} $PSVPath != ""
StrCpy $PathPrefix "$PathPrefix;$PSVPath"
${endif}
${if} $EditorPath != ""
StrCpy $PathPrefix "$PathPrefix;$EditorPath"
${endif}
${if} $ImageEditorPath != ""
StrCpy $PathPrefix "$PathPrefix;$ImageEditorPath"
${endif}
${if} $GhostscriptPath != ""
StrCpy $PathPrefix "$PathPrefix;$GhostscriptPath"
${endif}
${if} $SVGPath != ""
StrCpy $PathPrefix "$PathPrefix;$SVGPath"
${endif}
${if} $GnumericPath != ""
StrCpy $PathPrefix "$PathPrefix;$GnumericPath"
${endif}
${if} $PathBibTeXEditor != ""
StrCpy $PathPrefix "$PathPrefix;$PathBibTeXEditor"
${EndIf}
${if} $PandocPath != ""
StrCpy $PathPrefix "$PathPrefix;$PandocPath"
${endif}
${if} $LilyPondPath != ""
StrCpy $PathPrefix "$PathPrefix;$LilyPondPath"
${endif}
# Set the path prefix in lyxrc.dist
ClearErrors
FileOpen $R1 "$INSTDIR\Resources\lyxrc.dist" a
FileSeek $R1 0 END
# set some general things
FileWrite $R1 '\screen_zoom 120$\r$\n'
${if} "$PathPrefix" != ""
FileWrite $R1 '\path_prefix "$PathPrefix"$\r$\n'
${endif}
# use pdfview for all types of PDF files
FileWrite $R1 '\format "pdf5" "pdf" "PDF (LuaTeX)" "u" "pdfview" "" "document,vector,menu=export" "application/pdf"$\r$\n\
\format "pdf4" "pdf" "PDF (XeTeX)" "X" "pdfview" "" "document,vector,menu=export" "application/pdf"$\r$\n\
\format "pdf3" "pdf" "PDF (dvipdfm)" "m" "pdfview" "" "document,vector,menu=export" "application/pdf"$\r$\n\
\format "pdf2" "pdf" "PDF (pdflatex)" "F" "pdfview" "" "document,vector,menu=export" "application/pdf"$\r$\n\
\format "pdf" "pdf" "PDF (ps2pdf)" "P" "pdfview" "" "document,vector,menu=export" "application/pdf"$\r$\n'
# use Inkscape to edit PDF and EPS images
${if} $SVGPath != ""
FileWrite $R1 '\format "pdf6" "pdf" "PDF (graphics)" "" "auto" "inkscape" "vector" "application/pdf"$\r$\n\
\format "eps" "eps" "EPS" "" "auto" "inkscape" "vector" "image/x-eps"$\r$\n'
${endif}
# set image editors
${if} $ImageEditor == "Gimp"
FileWrite $R1 '\format "gif" "gif" "GIF" "" "auto" "gimp-2.8" "" "image/gif"$\r$\n\
\format "jpg" "jpg, jpeg" "JPEG" "" "auto" "gimp-2.8" "" "image/jpeg"$\r$\n\
\format "png" "png" "PNG" "" "auto" "gimp-2.8" "" "image/x-png"'
${endif}
${if} $ImageEditor == "Krita"
FileWrite $R1 '\format "gif" "gif" "GIF" "" "auto" "krita" "" "image/gif"$\r$\n\
\format "jpg" "jpg, jpeg" "JPEG" "" "auto" "krita" "" "image/jpeg"$\r$\n\
\format "png" "png" "PNG" "" "auto" "krita" "" "image/x-png"'
${endif}
# if Inkscape is not available Imagemagick will be used to convert WMF/EMF files
# We need to specify a resolution for the converter otherwise 1024 dpi are used and
# eps2pdf takes ages. 300 dpi are a good compromise for speed and size.
${if} $SVGPath == ""
FileWrite $R1 '\converter "wmf" "eps" "convert -density 300 $$$$i $$$$o" ""$\r$\n\
\converter "emf" "eps" "convert -density 300 $$$$i $$$$o" ""$\r$\n'
${endif}
# if LilyPondPath was found
# We need to add these entries because python scripts can only be executed
# 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 \"$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
MessageBox MB_OK|MB_ICONEXCLAMATION "$(ModifyingConfigureFailed)" /SD IDOK
ClearErrors
# for texindy the path to the perl.exe must unfortunately be in Windows' PATH variable
${if} $LaTeXInstalled != "TeXLive"
${if} $MultiUser.Privileges != "Admin"
${andif} $MultiUser.Privileges != "Power"
# call the non-admin version
${EnvVarUpdate} $0 "PATH" "A" "HKCU" "$INSTDIR\Perl\bin"
${else}
${EnvVarUpdate} $0 "PATH" "A" "HKLM" "$INSTDIR\Perl\bin"
${endif}
${endif}
SectionEnd
#--------------------------------
# Run the LyX configure.py script, so MiKTeX can download its packages
Var ConfigureReturn
Section -ConfigureScript
DetailPrint $(TEXT_CONFIGURE_LYX)
SetShellVarContext current
SetOutPath "$APPDATA\${APP_DIR_USERDATA}"
nsExec::ExecToLog '"$INSTDIR\Python\python.exe" "$INSTDIR\Resources\configure.py"'
# $ConfigureReturn is "0" if successful, otherwise "1"
Pop $ConfigureReturn # Return value
SectionEnd
#--------------------------------
#
#Function StartLyX
# run LyX in a command line window to give the users feedback about
# the time consuming LaTeX package installation
# Exec "$INSTDIR\${APP_RUN}"
#FunctionEnd

View File

@ -1,136 +0,0 @@
/*
install.nsh
Installation of program files, dictionaries and external components
*/
#--------------------------------
# Program files
Var PythonCompileFile
Var PythonCompileReturn
Section -ProgramFiles SecProgramFiles
# if the $INSTDIR does not contain "LyX" we must add a subfolder to avoid that LyX will e.g.
# be installed directly to C:\programs - the uninstaller will then delete the whole
# C:\programs directory
StrCpy $String $INSTDIR
StrCpy $Search "${APP_NAME}"
Call StrPoint # function from LyXUtils.nsh
${if} $Pointer == "-1"
StrCpy $INSTDIR "$INSTDIR\${APP_DIR}"
${endif}
# abort the installation if no LaTeX was found but should be used
${if} $PathLaTeX == ""
${andif} $State == "0"
SetOutPath $TEMP # to be able to delete the $INSTDIR
RMDir /r $INSTDIR
Abort
${endif}
# Install and register the core LyX files
# The macros are defined in filelists.nsh
# the parameters are COMMAND DIRECTORY that form command '${COMMAND} "${DIRECTORY}files"
# Initializes the plug-ins dir ($PLUGINSDIR) if not already initialized.
# $PLUGINSDIR is automatically deleted when the installer exits.
InitPluginsDir
# Binaries
SetOutPath "$INSTDIR\bin"
!insertmacro FileListLyXBin File "${FILES_LYX}\bin\"
# The 2.3.0 and early 2.3.1 installers used a version suffix
# We need to remove the old binaries if we're installing into the same directory
Delete "$INSTDIR\bin\LyX2.3.exe"
Delete "$INSTDIR\bin\tex2lyx2.3.exe"
!insertmacro FileListQtBin File "${FILES_QT}\bin\"
!insertmacro FileListMSVC File "${FILES_LYX}\bin\"
!insertmacro FileListNetpbmBin File "${FILES_NETPBM}\"
!insertmacro FileListRsvg File "${FILES_RSVG}\"
!insertmacro FileListPDFViewBin File "${FILES_PDFVIEW}\"
# Qt plugin DLLs
SetOutPath "$INSTDIR\bin\imageformats"
!insertmacro FileListQtImageformats File "${FILES_QT}\bin\imageformats\"
SetOutPath "$INSTDIR\bin\iconengines"
!insertmacro FileListQtIconengines File "${FILES_QT}\bin\iconengines\"
SetOutPath "$INSTDIR\bin\platforms"
!insertmacro FileListQtPlatforms File "${FILES_QT}\bin\platforms\"
SetOutPath "$INSTDIR\bin\styles"
!insertmacro FileListQtStyles File "${FILES_QT}\bin\styles\"
# Resources
SetOutPath "$INSTDIR\Resources"
# recursively copy all files under Resources
File /r "${FILES_LYX}\Resources\"
File /r "${FILES_DEPS}\Resources\"
# Python
SetOutPath "$INSTDIR\Python"
# recursively copy all files under Python
File /r "${FILES_PYTHON}\"
#FIXME We probably should not do this, as dicussed on the list.
# register .py files if necessary
ReadRegStr $0 SHCTX "Software\Classes\Python.File\shell\open\command" ""
${if} $0 == "" # if nothing was found
WriteRegStr SHCTX "Software\Classes\Python.File\shell\open\command" "" '"$INSTDIR\Python\python.exe" "%1" %*'
WriteRegStr SHCTX "Software\Classes\Python.File\DefaultIcon" "" "$INSTDIR\Python\DLLs\py.ico"
WriteRegStr SHCTX "Software\Classes\.py" "" "Python.File"
WriteRegStr SHCTX "Software\Classes\Python.File" "OnlyWithLyX" "Yes${APP_SERIES_KEY}" # special entry to test if they were registered by this LyX version
${endif}
# Compile all Python files to byte-code
# The user using the scripts may not have write access
FileOpen $PythonCompileFile "$INSTDIR\compilepy.py" w
FileWrite $PythonCompileFile "import compileall$\r$\n"
FileWrite $PythonCompileFile "compileall.compile_dir('$INSTDIR\python\Lib')$\r$\n"
FileWrite $PythonCompileFile "compileall.compile_dir('$INSTDIR\Resources')$\r$\n"
FileClose $PythonCompileFile
DetailPrint $(TEXT_CONFIGURE_PYTHON)
nsExec::ExecToLog '"$INSTDIR\python\python.exe" "$INSTDIR\compilepy.py"'
Pop $PythonCompileReturn # Return value
Delete "$INSTDIR\compilepy.py"
# Components of ImageMagick
SetOutPath "$INSTDIR\imagemagick"
File /r "${FILES_IMAGEMAGICK}\"
# Components of Ghostscript
${if} $GhostscriptPath == ""
SetOutPath "$INSTDIR\ghostscript"
File /r "${FILES_GHOSTSCRIPT}\"
StrCpy $GhostscriptPath "$INSTDIR\ghostscript\bin"
${endif}
# install unoconv
SetOutPath "$INSTDIR\Python\Lib"
!insertmacro FileListUnoConv File "${FILES_UNOCONV}\"
# install the LaTeX class files that are delivered with LyX to MiKTeX
${if} $LaTeXInstalled == "MiKTeX"
Call ConfigureMiKTeX # Function from LaTeX.nsh
${endif}
# install the LaTeX class files that are delivered with LyX to TeXLive
${if} $LaTeXInstalled == "TeXLive"
Call ConfigureTeXLive # Function from LaTeX.nsh
${endif}
# download dictionaries and thesaurus
${if} $DictCodes != ""
Call InstallHunspellDictionaries # Function from dictionaries.nsh
${endif}
${if} $ThesCodes != ""
Call InstallThesaurusDictionaries # Function from dictionaries.nsh
${endif}
# finally delete the list of mirrors
Delete "$INSTDIR\Resources\DictionaryMirrors.txt"
# Create uninstaller
WriteUninstaller "$INSTDIR\${SETUP_UNINSTALLER}"
SectionEnd

View File

@ -1,157 +0,0 @@
/*
uninstall.nsh
Uninstall
*/
Var FileAssociation
# ----------------------------------
Section "un.LyX" un.SecUnProgramFiles
SectionIn RO
# LaTeX class files that were installed together with LyX
# will not be uninstalled because other LyX versions will
# need them and these few files don't harm to stay in LaTeX
# Binaries
RMDir /r "$INSTDIR\bin"
# Resources
RMDir /r "$INSTDIR\Resources"
# Python
RMDir /r "$INSTDIR\python"
ReadRegStr $0 SHCTX "Software\Classes\Python.File" "OnlyWithLyX" # test if it was registered by this LyX version
${if} $0 == "Yes${APP_SERIES_KEY}"
DeleteRegKey SHCTX "Software\Classes\Python.File"
${endif}
# ImageMagick
RMDir /r "$INSTDIR\imagemagick"
# Components of Ghostscript
RMDir /r "$INSTDIR\ghostscript"
# delete start menu folder
ReadRegStr $0 SHCTX "${APP_UNINST_KEY}" "StartMenu"
RMDir /r "$0"
# delete desktop icon
Delete "$DESKTOP\${APP_NAME} ${APP_SERIES_NAME}.lnk"
# remove file extension .lyx
ReadRegStr $0 SHCTX "${APP_DIR_REGKEY}" "OnlyWithLyX" # test if they were registered by this LyX version
${if} $0 == "Yes${APP_SERIES_KEY}"
ReadRegStr $R0 SHCTX "Software\Classes\${APP_EXT}" ""
${if} $R0 == "${APP_REGNAME_DOC}"
#DeleteRegKey SHCTX "Software\Classes\${APP_EXT}13"
#DeleteRegKey SHCTX "Software\Classes\${APP_EXT}14"
#DeleteRegKey SHCTX "Software\Classes\${APP_EXT}15"
#DeleteRegKey SHCTX "Software\Classes\${APP_EXT}16"
#DeleteRegKey SHCTX "Software\Classes\${APP_EXT}20"
#DeleteRegKey SHCTX "Software\Classes\${APP_EXT}21"
DeleteRegKey SHCTX "Software\Classes\${APP_EXT}"
#DeleteRegKey SHCTX "Software\Classes\${APP_REGNAME_DOC}"
${endif}
${endif}
${if} $MultiUser.Privileges == "Admin"
DeleteRegKey HKCR "${APP_NAME}.Document"
${endif}
# Uninstaller itself
Delete "$INSTDIR\${SETUP_UNINSTALLER}"
# Application folder
SetOutPath "$TEMP"
RMDir /r "$INSTDIR"
# Registry keys and values
DeleteRegValue SHCTX "subkey" "key_name"
DeleteRegKey SHCTX "${APP_REGKEY_SETUP}"
DeleteRegKey SHCTX "${APP_REGKEY}"
DeleteRegKey SHCTX "${APP_UNINST_KEY}"
DeleteRegKey HKCR "Applications\${BIN_LYX}"
DeleteRegValue HKCR "${APP_NAME}.Document\Shell\open\command" ""
DeleteRegValue HKCR "${APP_NAME}.Document\DefaultIcon" ""
ReadRegStr $0 SHCTX ${APP_REGFOLDER} "latestVersion"
${If} $0 == ${APP_SERIES_KEY}
DeleteRegValue SHCTX ${APP_REGFOLDER} "latestVersion"
StrCpy $0 0
StrCpy $R0 ""
${Do}
StrCpy $R1 $R0
EnumRegKey $R0 SHCTX ${APP_REGFOLDER} $0
IntOp $0 $0 + 1
${LoopUntil} $R0 == ""
${If} $R1 != ""
WriteRegStr SHCTX ${APP_REGFOLDER} "latestVersion" $R1
${EndIf}
${EndIf}
DeleteRegKey /ifempty SHCTX ${APP_REGFOLDER}
# File associations
ReadRegStr $FileAssociation SHELL_CONTEXT "Software\Classes\${APP_EXT}" ""
${If} $FileAssociation == "${APP_REGNAME_DOC}"
DeleteRegKey SHELL_CONTEXT "Software\Classes\${APP_EXT}"
${EndIf}
# clean other registry entries
DeleteRegKey SHCTX "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\${APP_NAME}.exe"
DeleteRegKey SHCTX "SOFTWARE\${APP_REGKEY}"
# delete info that programs were installed together with LyX
DeleteRegValue SHCTX "SOFTWARE\MiKTeX.org\MiKTeX" "OnlyWithLyX"
# for texindy the path to the perl.exe must unfortunately be in Windows' PATH variable
# so we have to remove it now
${if} $MultiUser.Privileges != "Admin"
${andif} $MultiUser.Privileges != "Power"
# call the non-admin version
${un.EnvVarUpdate} $0 "PATH" "R" "HKCU" "$INSTDIR\Perl\bin"
${else}
${un.EnvVarUpdate} $0 "PATH" "R" "HKLM" "$INSTDIR\Perl\bin"
${endif}
SectionEnd
#---------------------------------
# user preferences
Section /o "un.$(UnLyXPreferencesTitle)" un.SecUnPreferences
# remove LyX's config files
StrCpy $AppSubfolder ${APP_DIR_USERDATA}
Call un.DelAppPathSub # function from LyXUtils.nsh
# remove registry settings
DeleteRegKey HKCU "Software\${APP_NAME}\${APP_NAME}${APP_SERIES_NAME}"
SectionEnd
#---------------------------------
# MiKTeX
Section "un.MiKTeX" un.SecUnMiKTeX
${if} $LaTeXInstalled == "MiKTeX" # only uninstall MiKTeX when it was installed together with LyX
ReadRegStr $1 SHCTX "Software\Microsoft\Windows\CurrentVersion\Uninstall\MiKTeX ${MiKTeXDeliveredVersion}" "UninstallString"
ExecWait $1 # run MiKTeX's uninstaller
${endif}
SectionEnd
#---------------------------------
# Section descriptions
!insertmacro MUI_UNFUNCTION_DESCRIPTION_BEGIN
!insertmacro MUI_DESCRIPTION_TEXT ${un.SecUnMiKTeX} "$(SecUnMiKTeXDescription)"
!insertmacro MUI_DESCRIPTION_TEXT ${un.SecUnPreferences} "$(SecUnPreferencesDescription)"
!insertmacro MUI_DESCRIPTION_TEXT ${un.SecUnProgramFiles} "$(SecUnProgramFilesDescription)"
!insertmacro MUI_UNFUNCTION_DESCRIPTION_END
#Section "un.User Preferences and Custom Files" un.SecUserFiles
#
# SetShellVarContext current
# RMDir /r "$APPDATA\${APP_DIR_USERDATA}"
#
#SectionEnd

View File

@ -52,18 +52,15 @@
Function DownloadHunspell
Exch $R9 # "${langCode}.aff" / "${langCode}.dic"
Push $9
Push $R3 # FIXME remove
${IfNot} ${FileExists} "$INSTDIR\Resources\dicts\$R9"
inetc::get /TIMEOUT=5000 "https://www.lyx.org/trac/export/HEAD/lyxsvn/dictionaries/trunk/dicts/$R9" "$INSTDIR\Resources\dicts\$R9" /END
Pop $9
${If} $9 != "OK"
StrCpy $R3 $R9 # FIXME remove
MessageBox MB_OK|MB_ICONEXCLAMATION "$(HunspellFailed)" # $(HunspellFailed) uses $R9
${EndIf}
${EndIf}
Pop $R3 # FIXME remove
Pop $9
Pop $R9
FunctionEnd
@ -71,18 +68,15 @@ FunctionEnd
Function DownloadThesaurus
Exch $R9 # "th_${langCode}_v2.dat" / "th_${langCode}_v2.idx"
Push $9
Push $R3 # FIXME remove
${IfNot} ${FileExists} "$INSTDIR\Resources\thes\$R9"
inetc::get /TIMEOUT=5000 "https://www.lyx.org/trac/export/HEAD/lyxsvn/dictionaries/trunk/thes/$R9" "$INSTDIR\Resources\thes\$R9" /END
Pop $9
${If} $9 != "OK"
StrCpy $R3 $R9 # FIXME remove
MessageBox MB_OK|MB_ICONEXCLAMATION "$(ThesaurusFailed)" # $(ThesaurusFailed) uses $R9
${EndIf}
${EndIf}
Push $R3 # FIXME remove
Pop $9
Pop $R9
FunctionEnd

View File

@ -2,7 +2,7 @@
# NSIS language file
!insertmacro MUI_LANGUAGE "${LANG_NAME}"
# LyX language file
!insertmacro LANGFILE_INCLUDE_WITHDEFAULT "lang\${LANG_NAME}.nsh" "lang\english.nsh"
!insertmacro LANGFILE_INCLUDE_WITHDEFAULT "src\lang\${LANG_NAME}.nsh" "src\lang\english.nsh" # FIXME path
!macroend
# list of all languages the installers are translated to

View File

@ -13,7 +13,7 @@ ${LangFileString} TEXT_WELCOME "هذا المساعد سوف يرشدك خلال
$_CLICK"
#${LangFileString} TEXT_CONFIGURE_MIKTEXFNDB "تحديث قاعدة بيانات MiKTeX..."
${LangFileString} TEXT_CONFIGURE_LYX "ضبط ليك ($LaTeXInstalled ربما ينزل الحزم المفقودة, وهذا سيستغرق بعض الوقت) ..."
${LangFileString} TEXT_CONFIGURE_LYX "ضبط ليك ($R9 ربما ينزل الحزم المفقودة, وهذا سيستغرق بعض الوقت) ..."
${LangFileString} TEXT_CONFIGURE_PYTHON "بناء سكربتات بايثون..."
${LangFileString} TEXT_FINISH_DESKTOP "إنشاء اختصار سطح المكتب"
@ -39,15 +39,15 @@ ${LangFileString} SecThesaurusDescription "قواميس المفردات الت
${LangFileString} EnterLaTeXHeader1 'توزيعة - لتيك'
${LangFileString} EnterLaTeXHeader2 'تعيين توزيعة لتيك التي يجب على ليك استخدامها.'
${LangFileString} EnterLaTeXFolder 'تستطيع هنا تعيين مسار الملف $\"latex.exe$\" وبعد ذلك تعيين \
توزيعة لتيك التي يجب استخدامها مع ليك.\r\n\
إذا لم تستخدم لتيك, ليك لن يستطيع استخراج المستندات!\r\n\
\r\n\
توزيعة لتيك التي يجب استخدامها مع ليك.$\r$\n\
إذا لم تستخدم لتيك, ليك لن يستطيع استخراج المستندات!$\r$\n\
$\r$\n\
برنامج التركيب يفحص توزيعة لتيك \
$\"$LaTeXName$\" في نظامك. ويعرض مسارها في الاسفل.'
$\"$R9$\" في نظامك. ويعرض مسارها في الاسفل.'
${LangFileString} EnterLaTeXFolderNone 'عين في الاسفل مسار الملف $\"latex.exe$\". وبعد ذلك عين \
توزيعة لتيك التي ستستخدم مع ليك.\r\n\
إذا لم تستخدم لتيك, ليك لن يستطيع استخراج المستندات!\r\n\
\r\n\
توزيعة لتيك التي ستستخدم مع ليك.$\r$\n\
إذا لم تستخدم لتيك, ليك لن يستطيع استخراج المستندات!$\r$\n\
$\r$\n\
برنامج التركيب لم يعثر على توزيعة لتيك في نظامك.'
${LangFileString} PathName 'مسار الملف $\"latex.exe$\"'
${LangFileString} DontUseLaTeX "لا تستخجم لتيك"
@ -61,8 +61,8 @@ ${LangFileString} LatexError1 'لم يتم العثور على توزيعة لت
لا يمكن استخدام ليك بدون وجود توزيعة لتيك مثل $\"MiKTeX$\"!$\r$\n\
وسوف تلغى عملية التركيب.'
${LangFileString} HunspellFailed 'فشل تنزيل قاموس اللغة $\"$R3$\" .'
${LangFileString} ThesaurusFailed 'فشل تنزيل قاموس مفردات اللغة $\"$R3$\" .'
${LangFileString} HunspellFailed 'فشل تنزيل قاموس اللغة $\"$R9$\" .'
${LangFileString} ThesaurusFailed 'فشل تنزيل قاموس مفردات اللغة $\"$R9$\" .'
#${LangFileString} JabRefInfo 'برنامج تركيب البرنامج $\"JabRef$\" سيبدأ.$\r$\n\
# يمكنك إختيار جميع الخيارات الافتراضية في JabRef-installer.'
@ -84,13 +84,13 @@ ${LangFileString} MiKTeXInfo 'توزيعة لتيك $\"MiKTeX$\" توزيعة ل
${LangFileString} ModifyingConfigureFailed "لم تعين 'path_prefix' في سكريبت الضبط"
#${LangFileString} RunConfigureFailed "لم ينفذ سكريبت الضبط"
${LangFileString} InstallRunning "المركب يعمل حاليا!"
${LangFileString} AlreadyInstalled "ليك ${APP_SERIES_KEY2} تم تركيبه بالفعل!$\r$\n\
${LangFileString} AlreadyInstalled "ليك ${APP_VERSION} تم تركيبه بالفعل!$\r$\n\
التركيب على النسخة الحالية غير مفضل إذا كانت النسخة الحالية$\r$\n\
تجريبية أو بها مشاكل.$\r$\n\
في هذه الحالة من الأفضل إعادة التركيب.$\r$\n\
هل تريد بالرغم من ذلك تركيب ليك على النسخة الحالية؟"
${LangFileString} NewerInstalled "تحاول تركيب نسخة ليك أقدم من الموجودة حاليا.$\r$\n\
إذا كنت تريدها بالتأكيد, عليك حذف النسخة الحالية $OldVersionNumber أولا."
إذا كنت تريدها بالتأكيد, عليك حذف النسخة الحالية $R9 أولا."
${LangFileString} MultipleIndexesNotAvailable "دعم الفهارس المتعددة في المستند لن تكون متوفرة لأن $\r$\n\
MiKTeX تم تركيبه بصلاحيات المدير بينما ليك تم تركيبه بدونها."
@ -110,8 +110,8 @@ ${LangFileString} UnLyXPreferencesTitle 'تفضيلات مستخدم ليك'
${LangFileString} SecUnMiKTeXDescription "إزالة توزيعة لتيك MiKTeX."
#${LangFileString} SecUnJabRefDescription "إزالة مدير ثبت المراجع JabRef."
${LangFileString} SecUnPreferencesDescription 'حذف LyX$\'s ضبط$\r$\n\
(مجلد $\"$AppPre\username\$\r$\n\
$AppSuff\$\r$\n\
${APP_DIR_USERDATA}$\")$\r$\n\
(مجلد $\"$R9\username\$\r$\n\
$R8\$\r$\n\
LyX${VERSION_MAJOR}.${VERSION_MINOR}$\")$\r$\n\
لك او لكل المستخدمين (إذا كنت المدير).'
${LangFileString} SecUnProgramFilesDescription "إزالة ليك مع كل مكوناته."

View File

@ -13,7 +13,7 @@ ${LangFileString} TEXT_WELCOME "Morroi honek $(^NameDA) aplikazioaren instalazio
$_CLICK"
#${LangFileString} TEXT_CONFIGURE_MIKTEXFNDB "MiKTeX fitxategiaren datu-basea eguneratzen..."
${LangFileString} TEXT_CONFIGURE_LYX "LyX konfiguratzen ($LaTeXInstalled-ek falta diren paketeak deskarga ditzake, denbora piskat behar lezake) ..."
${LangFileString} TEXT_CONFIGURE_LYX "LyX konfiguratzen ($R9-ek falta diren paketeak deskarga ditzake, denbora piskat behar lezake) ..."
${LangFileString} TEXT_CONFIGURE_PYTHON "Python script-ak konpilatzen..."
${LangFileString} TEXT_FINISH_DESKTOP "Sortu mahaigaineko lasterbidea"
@ -39,15 +39,15 @@ ${LangFileString} SecThesaurusDescription "Thesaurus hiztegiak deskarga eta inst
${LangFileString} EnterLaTeXHeader1 'LaTeX-banaketa'
${LangFileString} EnterLaTeXHeader2 'Ezarri LaTeX banaketa LyX-ek erabiltzeko.'
${LangFileString} EnterLaTeXFolder 'Aukeran hemen $\"latex.exe$\" fitxategiaren bide-izena ezar dezakezu, horrekin \
LyX-ekin erabiltzea nahi duzun LaTeX-en banaketan zehaztuko baituzu.\r\n\
Ez baduzu LaTeX erabiltzen, LyX-ek ezin izango du irteerako dokumenturik sortu!\r\n\
\r\n\
Instalatzaileak LaTeX-en $\"$LaTeXName$\" banaketa aurkitu du sisteman. \
LyX-ekin erabiltzea nahi duzun LaTeX-en banaketan zehaztuko baituzu.$\r$\n\
Ez baduzu LaTeX erabiltzen, LyX-ek ezin izango du irteerako dokumenturik sortu!$\r$\n\
$\r$\n\
Instalatzaileak LaTeX-en $\"$R9$\" banaketa aurkitu du sisteman. \
Azpian dagokion bide-izena erakusten da.'
${LangFileString} EnterLaTeXFolderNone 'Azpian ezarri $\"latex.exe$\" fitxategiaren bide-izena. horrekin \
LyX-ekin erabiltzea nahi duzun LaTeX-en banaketan zehaztuko baituzu.\r\n\
Ez baduzu LaTeX erabiltzen, LyX-ek ezin izango du irteerako dokumenturik sortu!\r\n\
\r\n\
LyX-ekin erabiltzea nahi duzun LaTeX-en banaketan zehaztuko baituzu.$\r$\n\
Ez baduzu LaTeX erabiltzen, LyX-ek ezin izango du irteerako dokumenturik sortu!$\r$\n\
$\r$\n\
Instalatzaileak ezin izan du LaTeX banaketarik aurkitu sisteman.'
${LangFileString} PathName '$\"latex.exe$\" fitxategiaren bide-izena'
${LangFileString} DontUseLaTeX "Ez erabili LaTeX"
@ -61,8 +61,8 @@ ${LangFileString} LatexError1 'Ezin izan da LaTeX banaketarik aurkitu!$\r$\n\
Ezin da LyX erabili $\"MiKTeX$\" bezalako LaTeX banaketarik gabe!$\r$\n\
Instalazioa bertan behera utziko da.'
${LangFileString} HunspellFailed 'Huts egin du $\"$R3$\" hizkuntzaren hiztegia deskargatzean.'
${LangFileString} ThesaurusFailed 'Huts egin du $\"$R3$\" hizkuntzaren thesaurusa deskargatzean.'
${LangFileString} HunspellFailed 'Huts egin du $\"$R9$\" hizkuntzaren hiztegia deskargatzean.'
${LangFileString} ThesaurusFailed 'Huts egin du $\"$R9$\" hizkuntzaren thesaurusa deskargatzean.'
#${LangFileString} JabRefInfo 'Orain $\"JabRef$\" programaren instalatzailea abiaraziko da.$\r$\n\
# JabRef instalatzailearen aukera lehenetsi guztiak erabil ditzakezu.'
@ -85,13 +85,13 @@ ${LangFileString} MiKTeXInfo 'LaTeX-en $\"MiKTeX$\" banaketa LyX-ekin batera era
${LangFileString} ModifyingConfigureFailed "Ezin izan da 'path_prefix' ezarri konfigurazioaren script-ean"
#${LangFileString} RunConfigureFailed "Ezin izan da konfigurazioaren script-a exekutatu"
${LangFileString} InstallRunning "Instalatzailea jadanik exekutatzen ari da."
${LangFileString} AlreadyInstalled "LyX ${APP_SERIES_KEY2} jadanik instalatuta dago!$\r$\n\
${LangFileString} AlreadyInstalled "LyX ${APP_VERSION} jadanik instalatuta dago!$\r$\n\
Installing over existing installations is not recommended if the installed version$\r$\n\
is a test release or if you have problems with your existing LyX installation.$\r$\n\
In these cases better reinstall LyX.$\r$\n\
Dou you nevertheles want to install LyX over the existing version?"
${LangFileString} NewerInstalled "Instalatuta dagoen LyX baino bertsio zaharragoa instalatzen saiatzen ari zara.$\r$\n\
Hori egitea nahi baduzu, lehenbizi existitzen den LyX $OldVersionNumber desinstalatu beharko duzu."
Hori egitea nahi baduzu, lehenbizi existitzen den LyX $R9 desinstalatu beharko duzu."
${LangFileString} MultipleIndexesNotAvailable "Dokumentu batean hainbat indize erabiltzeko euskarria ez dago erabilgarri $\r$\n\
MiKTeX administratzailearen pribilegioekin instalatu delako baina zuk LyX $\r$\n\
@ -112,9 +112,9 @@ ${LangFileString} UnLyXPreferencesTitle 'LyX-eko erabiltzailearen hobespenak'
${LangFileString} SecUnMiKTeXDescription "LaTeX-en MiKTeX banaketa desinstalatzen du."
#${LangFileString} SecUnJabRefDescription "Bibliografiaren JabRef kudeatzailea desinstalatzen du."
${LangFileString} SecUnPreferencesDescription 'LyX-en konfigurazioa ezabatzen du$\r$\n\
($\"$AppPre\erabiltzailea\$\r$\n\
$AppSuff\$\r$\n\
\${APP_DIR_USERDATA}$\"$\r$\n\
($\"$R9\erabiltzailea\$\r$\n\
$R8\$\r$\n\
LyX${VERSION_MAJOR}.${VERSION_MINOR}$\"$\r$\n\
zuretzako edo erabiltzaile guztientzako (administratzailea bazara).'
${LangFileString} SecUnProgramFilesDescription "Desinstalatu LyX eta bere osagai guztiak."

View File

@ -7,7 +7,7 @@ ${LangFileString} TEXT_WELCOME "Aquest assistent us guiarà en la instal·lació
$_CLICK"
#${LangFileString} TEXT_CONFIGURE_MIKTEXFNDB "Updating MiKTeX filename database..."
${LangFileString} TEXT_CONFIGURE_LYX "Configuring LyX ($LaTeXInstalled may download missing packages, this can take some time) ..."
${LangFileString} TEXT_CONFIGURE_LYX "Configuring LyX ($R9 may download missing packages, this can take some time) ..."
${LangFileString} TEXT_CONFIGURE_PYTHON "Compiling Python scripts..."
${LangFileString} TEXT_FINISH_DESKTOP "Create desktop shortcut"
@ -33,15 +33,15 @@ ${LangFileString} SecThesaurusDescription "Thesaurus dictionaries that can be do
${LangFileString} EnterLaTeXHeader1 'Distribució LaTeX'
${LangFileString} EnterLaTeXHeader2 'Establiu la distribució LaTeX que ha de fer servir el LyX.'
${LangFileString} EnterLaTeXFolder 'Opcionalment podeu establir aquí el camí al fitxer $\"latex.exe$\" i posteriorment establir la \
distribució LaTeX que el LyX ha de fer servir.\r\n\
Si no useu LaTeX, el LyX no podrà generar documents!\r\n\
\r\n\
distribució LaTeX que el LyX ha de fer servir.$\r$\n\
Si no useu LaTeX, el LyX no podrà generar documents!$\r$\n\
$\r$\n\
L$\'instal·lador ha detectat la distribució LaTeX \
$\"$LaTeXName$\" al sistema, al camí que es mostra avall.'
$\"$R9$\" al sistema, al camí que es mostra avall.'
${LangFileString} EnterLaTeXFolderNone 'Indiqueu el camí al fitxer $\"latex.exe$\". Posteriorment establiu \
quina distribució LaTeX ha de fer servir el LyX.\r\n\
Si no useu LaTeX, el LyX no podrà generar documents!\r\n\
\r\n\
quina distribució LaTeX ha de fer servir el LyX.$\r$\n\
Si no useu LaTeX, el LyX no podrà generar documents!$\r$\n\
$\r$\n\
L$\'instal·lador no ha trobat cap distribució LaTeX al sistema.'
${LangFileString} PathName 'Camí al fitxer $\"latex.exe$\"'
${LangFileString} DontUseLaTeX "No usis LaTeX"
@ -55,8 +55,8 @@ ${LangFileString} LatexError1 'No s$\'ha trobat cap distribució LaTeX!$\r$\n\
No podeu usar el LyX sense cap distribució LaTeX, com ara $\"MiKTeX$\"!$\r$\n\
Es cancel·larà la instal·lació.'
${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R3$\" failed.'
${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R3$\" failed.'
${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R9$\" failed.'
${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R9$\" failed.'
#${LangFileString} JabRefInfo 'Ara s$\'executarà l$\'instal·lador del programa $\"JabRef$\".$\r$\n\
# Podeu usar totes les opcions predeterminades de l$\'instal·lador del JabRef.'
@ -79,13 +79,13 @@ ${LangFileString} ModifyingConfigureFailed "No es pot establir 'path_prefix' dur
#${LangFileString} RunConfigureFailed "No es pot executar el programa de configuració"
${LangFileString} NotAdmin "Necessiteu drets d'administrador per instal·lar el LyX!"
${LangFileString} InstallRunning "L'instal·lador ja s'està executant!"
${LangFileString} AlreadyInstalled "El LyX ${APP_SERIES_KEY2} ja es troba instal·lat!$\r$\n\
${LangFileString} AlreadyInstalled "El LyX ${APP_VERSION} ja es troba instal·lat!$\r$\n\
Installing over existing installations is not recommended if the installed version$\r$\n\
is a test release or if you have problems with your existing LyX installation.$\r$\n\
In these cases better reinstall LyX.$\r$\n\
Dou you nevertheles want to install LyX over the existing version?"
${LangFileString} NewerInstalled "You are trying to install an older version of LyX than what you have installed.$\r$\n\
If you really want this, you must uninstall the existing LyX $OldVersionNumber before."
If you really want this, you must uninstall the existing LyX $R9 before."
${LangFileString} MultipleIndexesNotAvailable "The support for using several indexes in a document will not be available because$\r$\n\
MiKTeX was installed with administrator privileges but you are installing LyX without them."
@ -105,9 +105,9 @@ ${LangFileString} UnLyXPreferencesTitle 'Preferències d$\'usuari del LyX'
${LangFileString} SecUnMiKTeXDescription "Desintal·la la distribució de LaTeX MiKTeX."
#${LangFileString} SecUnJabRefDescription "Desinstal·la el gestor de bibliografia JabRef."
${LangFileString} SecUnPreferencesDescription 'Suprimeix les carptes de configuració del LyX$\r$\n\
$\"$AppPre\username\$\r$\n\
$AppSuff\$\r$\n\
${APP_DIR_USERDATA}$\")$\r$\n\
$\"$R9\username\$\r$\n\
$R8\$\r$\n\
LyX${VERSION_MAJOR}.${VERSION_MINOR}$\")$\r$\n\
de tots els usuaris.'
${LangFileString} SecUnProgramFilesDescription "Desinstal·la el LyX i tots els seus components."

View File

@ -7,7 +7,7 @@ ${LangFileString} TEXT_WELCOME "Tento pomocník vás provede instalací LyXu.$\r
$_CLICK"
#${LangFileString} TEXT_CONFIGURE_MIKTEXFNDB "Updating MiKTeX filename database..."
${LangFileString} TEXT_CONFIGURE_LYX "Configuring LyX ($LaTeXInstalled may download missing packages, this can take some time) ..."
${LangFileString} TEXT_CONFIGURE_LYX "Configuring LyX ($R9 may download missing packages, this can take some time) ..."
${LangFileString} TEXT_CONFIGURE_PYTHON "Compiling Python scripts..."
${LangFileString} TEXT_FINISH_DESKTOP "Create desktop shortcut"
@ -33,15 +33,15 @@ ${LangFileString} SecThesaurusDescription "Thesaurus dictionaries that can be do
${LangFileString} EnterLaTeXHeader1 'Distribuce LaTeXu'
${LangFileString} EnterLaTeXHeader2 'Nastavte distribuci LaTeXu, kterou má LyX používat.'
${LangFileString} EnterLaTeXFolder 'Můžete zde volitelně nastavit cestu k souboru $\"latex.exe$\" a tím určit \
distribuci LaTeXu, kterou bude používat Lyx.\r\n\
Pokud nepoužijete LaTeX, LyX nemůže vysázet výsledné dokumenty!\r\n\
\r\n\
distribuci LaTeXu, kterou bude používat Lyx.$\r$\n\
Pokud nepoužijete LaTeX, LyX nemůže vysázet výsledné dokumenty!$\r$\n\
$\r$\n\
Instalátor nalezl na vašem počítači LaTeXovou distribuci \
$\"$LaTeXName$\". Níže je uvedena její cesta.'
$\"$R9$\". Níže je uvedena její cesta.'
${LangFileString} EnterLaTeXFolderNone 'Níže nastavte cestu k souboru $\"latex.exe$\". Určíte tím, která \
distribuce LaTeXu bude používána LyXem.\r\n\
Pokud nepoužijete LaTeX, LyX nemůže vysázet výsledné dokumenty!\r\n\
\r\n\
distribuce LaTeXu bude používána LyXem.$\r$\n\
Pokud nepoužijete LaTeX, LyX nemůže vysázet výsledné dokumenty!$\r$\n\
$\r$\n\
Instalátor nemohl nalézt distribuci LaTeXu na vašem počítači.'
${LangFileString} PathName 'Cesta k souboru $\"latex.exe$\"'
${LangFileString} DontUseLaTeX "Nepoužívat LaTeX"
@ -55,8 +55,8 @@ ${LangFileString} LatexError1 'Žádná LaTeXová-distribuce nebyla nalezena!$\r
Nemůžete používat LyX bez distribuce LaTeXu jako je např. $\"MiKTeX$\"!$\r$\n\
Instalace bude proto přerušena.'
${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R3$\" failed.'
${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R3$\" failed.'
${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R9$\" failed.'
${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R9$\" failed.'
#${LangFileString} JabRefInfo 'Nyní bude spuštěn instalátor programu $\"JabRef$\".$\r$\n\
# Můžete použít všechny předvolby instalátoru JabRef.'
@ -79,13 +79,13 @@ ${LangFileString} ModifyingConfigureFailed "Nelze nastavit 'path_prefix' v konfi
#${LangFileString} RunConfigureFailed "Nelze spustit konfigurační skript"
${LangFileString} NotAdmin "Potřebujete administrátorská práva pro nainstalování LyXu!"
${LangFileString} InstallRunning "Instalátor je již spuštěn!"
${LangFileString} AlreadyInstalled "LyX ${APP_SERIES_KEY2} je již nainstalován!$\r$\n\
${LangFileString} AlreadyInstalled "LyX ${APP_VERSION} je již nainstalován!$\r$\n\
Installing over existing installations is not recommended if the installed version$\r$\n\
is a test release or if you have problems with your existing LyX installation.$\r$\n\
In these cases better reinstall LyX.$\r$\n\
Dou you nevertheles want to install LyX over the existing version?"
${LangFileString} NewerInstalled "You are trying to install an older version of LyX than what you have installed.$\r$\n\
If you really want this, you must uninstall the existing LyX $OldVersionNumber before."
If you really want this, you must uninstall the existing LyX $R9 before."
${LangFileString} MultipleIndexesNotAvailable "The support for using several indexes in a document will not be available because$\r$\n\
MiKTeX was installed with administrator privileges but you are installing LyX without them."
@ -105,9 +105,9 @@ ${LangFileString} UnLyXPreferencesTitle 'Uživatelská nastavení LyXu'
${LangFileString} SecUnMiKTeXDescription "Odinstalovat LaTeXovou-distribuci MiKTeX."
#${LangFileString} SecUnJabRefDescription "Odinstalovat manažer bibliografie JabRef."
${LangFileString} SecUnPreferencesDescription 'Smazat konfigurační adresář LyXu$\r$\n\
$\"$AppPre\username\$\r$\n\
$AppSuff\$\r$\n\
${APP_DIR_USERDATA}$\")$\r$\n\
$\"$R9\username\$\r$\n\
$R8\$\r$\n\
LyX${VERSION_MAJOR}.${VERSION_MINOR}$\")$\r$\n\
pro všechny uživatele.'
${LangFileString} SecUnProgramFilesDescription "Odinstalovat LyX a všechny jeho komponenty."

View File

@ -7,7 +7,7 @@ ${LangFileString} TEXT_WELCOME "Denne guide vil installere LyX på din computer.
$_CLICK"
#${LangFileString} TEXT_CONFIGURE_MIKTEXFNDB "Updating MiKTeX filename database..."
${LangFileString} TEXT_CONFIGURE_LYX "Configuring LyX ($LaTeXInstalled may download missing packages, this can take some time) ..."
${LangFileString} TEXT_CONFIGURE_LYX "Configuring LyX ($R9 may download missing packages, this can take some time) ..."
${LangFileString} TEXT_CONFIGURE_PYTHON "Compiling Python scripts..."
${LangFileString} TEXT_FINISH_DESKTOP "Create desktop shortcut"
@ -33,15 +33,15 @@ ${LangFileString} SecThesaurusDescription "Thesaurus dictionaries that can be do
${LangFileString} EnterLaTeXHeader1 'LaTeX-distribution'
${LangFileString} EnterLaTeXHeader2 'Vælg den LaTeX-distribution som LyX skal bruge.'
${LangFileString} EnterLaTeXFolder 'Du kan her vælge stien til filen $\"latex.exe$\" og derved vælge hvilken \
LaTeX-distribution som bruges LyX.\r\n\
Hvis du ikke vælger LaTeX, kan LyX ikke generere dokumenter!\r\n\
\r\n\
LaTeX-distribution som bruges LyX.$\r$\n\
Hvis du ikke vælger LaTeX, kan LyX ikke generere dokumenter!$\r$\n\
$\r$\n\
Installationsprogrammet har detekteret LaTeX-distributionen \
$\"$LaTeXName$\" på din computer i nedenstående sti:'
$\"$R9$\" på din computer i nedenstående sti:'
${LangFileString} EnterLaTeXFolderNone 'Vælg nedenfor stien til filen $\"latex.exe$\". Herved kan du vælge hvilken \
LaTeX-distribution LyX skal bruge.\r\n\
Hvis du ikke vælger LaTeX, kan LyX ikke generere dokumenter!\r\n\
\r\n\
LaTeX-distribution LyX skal bruge.$\r$\n\
Hvis du ikke vælger LaTeX, kan LyX ikke generere dokumenter!$\r$\n\
$\r$\n\
Installationsprogrammet kunne ikke finde nogen LaTeX-distribution.'
${LangFileString} PathName 'Sti til filen $\"latex.exe$\"'
${LangFileString} DontUseLaTeX "Brug ikke LaTeX"
@ -55,8 +55,8 @@ ${LangFileString} LatexError1 'Ingen LaTeX-distribution fundet!$\r$\n\
LyX kan ikke bruges uden en LaTeX-distribution sasom $\"MiKTeX$\"!$\r$\n\
Installationen afbrydes.'
${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R3$\" failed.'
${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R3$\" failed.'
${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R9$\" failed.'
${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R9$\" failed.'
#${LangFileString} JabRefInfo 'Installationen af programmet $\"JabRef$\" startes.$\r$\n\
# Du kan roligt bruge alle $\"default$\" valgmuligheder ved JabRef-installationen.'
@ -79,13 +79,13 @@ ${LangFileString} ModifyingConfigureFailed "Forsoget på at indstille 'path_pref
#${LangFileString} RunConfigureFailed "Mislykket forsog på at afvikle konfigurations-scriptet"
${LangFileString} NotAdmin "Du skal have administrator-rettigheder for at installere LyX!"
${LangFileString} InstallRunning "Installationsprogrammet kører allerede!"
${LangFileString} AlreadyInstalled "LyX ${APP_SERIES_KEY2} er allerede installeret!$\r$\n\
${LangFileString} AlreadyInstalled "LyX ${APP_VERSION} er allerede installeret!$\r$\n\
Installing over existing installations is not recommended if the installed version$\r$\n\
is a test release or if you have problems with your existing LyX installation.$\r$\n\
In these cases better reinstall LyX.$\r$\n\
Dou you nevertheles want to install LyX over the existing version?"
${LangFileString} NewerInstalled "You are trying to install an older version of LyX than what you have installed.$\r$\n\
If you really want this, you must uninstall the existing LyX $OldVersionNumber before."
If you really want this, you must uninstall the existing LyX $R9 before."
${LangFileString} MultipleIndexesNotAvailable "The support for using several indexes in a document will not be available because$\r$\n\
MiKTeX was installed with administrator privileges but you are installing LyX without them."
@ -105,9 +105,9 @@ ${LangFileString} UnLyXPreferencesTitle 'LyX$\'s user preferences'
${LangFileString} SecUnMiKTeXDescription 'Afinstallerer LaTeX-distributionen $\"MiKTeX$\".'
#${LangFileString} SecUnJabRefDescription 'Afinstallerer bibliografi programmet $\"JabRef$\".'
${LangFileString} SecUnPreferencesDescription 'Sletter LyX$\'s konfigurations mappe$\r$\n\
$\"$AppPre\username\$\r$\n\
$AppSuff\$\r$\n\
${APP_DIR_USERDATA}$\")$\r$\n\
$\"$R9\username\$\r$\n\
$R8\$\r$\n\
LyX${VERSION_MAJOR}.${VERSION_MINOR}$\")$\r$\n\
for alle brugere.'
${LangFileString} SecUnProgramFilesDescription "Afinstallerer LyX og alle dets komponenter."

View File

@ -7,7 +7,7 @@ ${LangFileString} TEXT_WELCOME "Dit installatie programma zal LyX op uw systeem
$_CLICK"
#${LangFileString} TEXT_CONFIGURE_MIKTEXFNDB "Updating MiKTeX filename database..."
${LangFileString} TEXT_CONFIGURE_LYX "Configuring LyX ($LaTeXInstalled may download missing packages, this can take some time) ..."
${LangFileString} TEXT_CONFIGURE_LYX "Configuring LyX ($R9 may download missing packages, this can take some time) ..."
${LangFileString} TEXT_CONFIGURE_PYTHON "Compiling Python scripts..."
${LangFileString} TEXT_FINISH_DESKTOP "Create desktop shortcut"
@ -33,15 +33,15 @@ ${LangFileString} SecThesaurusDescription "Thesaurus dictionaries that can be do
${LangFileString} EnterLaTeXHeader1 'LaTeX software'
${LangFileString} EnterLaTeXHeader2 'Geef aan welke LaTeX-software LyX moet gebruiken.'
${LangFileString} EnterLaTeXFolder 'U kunt hier opgeven in welke map het programma $\"latex.exe$\" zich bevindt en op deze manier bepalen \
welke LaTeX software gebruikt wordt door LyX.\r\n\
Zonder LaTeX kan LyX geen documenten generen!\r\n\
\r\n\
welke LaTeX software gebruikt wordt door LyX.$\r$\n\
Zonder LaTeX kan LyX geen documenten generen!$\r$\n\
$\r$\n\
Het installatie programma heeft de LaTeX software \
$\"$LaTeXName$\" op uw systeem gevonden in de volgende map.'
$\"$R9$\" op uw systeem gevonden in de volgende map.'
${LangFileString} EnterLaTeXFolderNone 'U kunt hier opgeven in welke map het programma $\"latex.exe$\" zich bevindt en op deze manier bepalen \
welke LaTeX software gebruikt wordt door LyX.\r\n\
Zonder LaTeX kan LyX geen documenten generen!\r\n\
\r\n\
welke LaTeX software gebruikt wordt door LyX.$\r$\n\
Zonder LaTeX kan LyX geen documenten generen!$\r$\n\
$\r$\n\
Het installatie programma heeft geen LaTeX software op uw systeem gevonden.'
${LangFileString} PathName 'Map met het programma $\"latex.exe$\"'
${LangFileString} DontUseLaTeX "Gebruik geen LaTeX"
@ -55,8 +55,8 @@ ${LangFileString} LatexError1 'Er is geen LaTeX software gevonden!$\r$\n\
LyX kan niet worden gebruikt zonder LaTeX software zoals $\"MiKTeX$\"!$\r$\n\
De installatie wordt daarom afgebroken.'
${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R3$\" failed.'
${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R3$\" failed.'
${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R9$\" failed.'
${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R9$\" failed.'
#${LangFileString} JabRefInfo 'Het installatie programma van $\"JabRef$\" wordt nu gestart.$\r$\n\
# U kunt de standaard opties gebruiken.'
@ -79,13 +79,13 @@ ${LangFileString} ModifyingConfigureFailed "Mislukte poging om 'path_prefix' te
#${LangFileString} RunConfigureFailed "Mislukte configuratie poging"
${LangFileString} NotAdmin "U heeft systeem-beheerrechten nodig om LyX te installeren!"
${LangFileString} InstallRunning "Het installatieprogramma is al gestart!"
${LangFileString} AlreadyInstalled "LyX ${APP_SERIES_KEY2} is reeds geinstalleerd!$\r$\n\
${LangFileString} AlreadyInstalled "LyX ${APP_VERSION} is reeds geinstalleerd!$\r$\n\
Installing over existing installations is not recommended if the installed version$\r$\n\
is a test release or if you have problems with your existing LyX installation.$\r$\n\
In these cases better reinstall LyX.$\r$\n\
Dou you nevertheles want to install LyX over the existing version?"
${LangFileString} NewerInstalled "You are trying to install an older version of LyX than what you have installed.$\r$\n\
If you really want this, you must uninstall the existing LyX $OldVersionNumber before."
If you really want this, you must uninstall the existing LyX $R9 before."
${LangFileString} MultipleIndexesNotAvailable "The support for using several indexes in a document will not be available because$\r$\n\
MiKTeX was installed with administrator privileges but you are installing LyX without them."
@ -105,9 +105,9 @@ ${LangFileString} UnLyXPreferencesTitle 'LyX$\'s user preferences'
${LangFileString} SecUnMiKTeXDescription "Verwijder de LaTeX software MiKTeX."
#${LangFileString} SecUnJabRefDescription "Verwijder de bibliografie manager JabRef."
${LangFileString} SecUnPreferencesDescription 'Verwijder LyX$\'s configuratie map$\r$\n\
$\"$AppPre\username\$\r$\n\
$AppSuff\$\r$\n\
${APP_DIR_USERDATA}$\")$\r$\n\
$\"$R9\username\$\r$\n\
$R8\$\r$\n\
LyX${VERSION_MAJOR}.${VERSION_MINOR}$\")$\r$\n\
voor alle gebruikers.'
${LangFileString} SecUnProgramFilesDescription "Verwijder LyX en alle bijbehorende onderdelen."

View File

@ -13,7 +13,7 @@ ${LangFileString} TEXT_WELCOME "This wizard will guide you through the installat
$_CLICK"
#${LangFileString} TEXT_CONFIGURE_MIKTEXFNDB "Updating MiKTeX filename database..."
${LangFileString} TEXT_CONFIGURE_LYX "Configuring LyX ($LaTeXInstalled may download missing packages, this can take some time) ..."
${LangFileString} TEXT_CONFIGURE_LYX "Configuring LyX ($R9 may download missing packages, this can take some time) ..."
${LangFileString} TEXT_CONFIGURE_PYTHON "Compiling Python scripts..."
${LangFileString} TEXT_FINISH_DESKTOP "Create desktop shortcut"
@ -39,15 +39,15 @@ ${LangFileString} SecThesaurusDescription "Thesaurus dictionaries that can be do
${LangFileString} EnterLaTeXHeader1 'LaTeX-distribution'
${LangFileString} EnterLaTeXHeader2 'Set the LaTeX-distribution that LyX should use.'
${LangFileString} EnterLaTeXFolder 'You can optionally set here the path to the file $\"latex.exe$\" and therewith set the \
LaTeX-distribution that should be used by LyX.\r\n\
If you don$\'t use LaTeX, LyX cannot output documents!\r\n\
\r\n\
LaTeX-distribution that should be used by LyX.$\r$\n\
If you don$\'t use LaTeX, LyX cannot output documents!$\r$\n\
$\r$\n\
The installer has detected the LaTeX-distribution \
$\"$LaTeXName$\" on your system. Displayed below is its path.'
$\"$R9$\" on your system. Displayed below is its path.'
${LangFileString} EnterLaTeXFolderNone 'Set below the path to the file $\"latex.exe$\". Therewith you set which \
LaTeX-distribution should be used by LyX.\r\n\
If you don$\'t use LaTeX, LyX cannot output documents!\r\n\
\r\n\
LaTeX-distribution should be used by LyX.$\r$\n\
If you don$\'t use LaTeX, LyX cannot output documents!$\r$\n\
$\r$\n\
The installer couldn$\'t find a LaTeX-distribution on your system.'
${LangFileString} PathName 'Path to the file $\"latex.exe$\"'
${LangFileString} DontUseLaTeX "Don$\'t use LaTeX"
@ -61,8 +61,8 @@ ${LangFileString} LatexError1 'No LaTeX-distribution could be found!$\r$\n\
LyX cannot be used without a LaTeX-distribution like $\"MiKTeX$\"!$\r$\n\
The installation will therefore be aborted.'
${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R3$\" failed.'
${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R3$\" failed.'
${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R9$\" failed.'
${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R9$\" failed.'
#${LangFileString} JabRefInfo 'Now the installer of the program $\"JabRef$\" will be launched.$\r$\n\
# You can use all default options of the JabRef-installer.'
@ -84,13 +84,13 @@ ${LangFileString} MiKTeXInfo 'The LaTeX-distribution $\"MiKTeX$\" will be used t
${LangFileString} ModifyingConfigureFailed "Could not set 'path_prefix' in the configure script"
#${LangFileString} RunConfigureFailed "Could not execute the configure script"
${LangFileString} InstallRunning "The installer is already running!"
${LangFileString} AlreadyInstalled "LyX ${APP_SERIES_KEY2} is already installed!$\r$\n\
${LangFileString} AlreadyInstalled "LyX ${APP_VERSION} is already installed!$\r$\n\
Installing over existing installations is not recommended if the installed version$\r$\n\
is a test release or if you have problems with your existing LyX installation.$\r$\n\
In these cases better reinstall LyX.$\r$\n\
Do you nevertheless want to install LyX over the existing version?"
${LangFileString} NewerInstalled "You are trying to install an older version of LyX than what you have installed.$\r$\n\
If you really want this, you must uninstall the existing LyX $OldVersionNumber before."
If you really want this, you must uninstall the existing LyX $R9 before."
${LangFileString} MultipleIndexesNotAvailable "The support for using several indexes in a document will not be available because$\r$\n\
MiKTeX was installed with administrator privileges but you are installing LyX without them."
@ -110,9 +110,9 @@ ${LangFileString} UnLyXPreferencesTitle 'LyX$\'s user preferences'
${LangFileString} SecUnMiKTeXDescription "Uninstalls the LaTeX-distribution MiKTeX."
#${LangFileString} SecUnJabRefDescription "Uninstalls the bibliography manager JabRef."
${LangFileString} SecUnPreferencesDescription 'Deletes LyX$\'s configuration$\r$\n\
(folder $\"$AppPre\username\$\r$\n\
$AppSuff\$\r$\n\
${APP_DIR_USERDATA}$\")$\r$\n\
(folder $\"$R9\username\$\r$\n\
$R8\$\r$\n\
LyX${VERSION_MAJOR}.${VERSION_MINOR}$\")$\r$\n\
for you or for all users (if you are admin).'
${LangFileString} SecUnProgramFilesDescription "Uninstall LyX and all of its components."

View File

@ -13,7 +13,7 @@ ${LangFileString} TEXT_WELCOME "Cet assistant va vous guider tout au long de l'i
$_CLICK"
#${LangFileString} TEXT_CONFIGURE_MIKTEXFNDB "Mise à jour de la base de données MiKTeX..."
${LangFileString} TEXT_CONFIGURE_LYX "Configuration de LyX ($LaTeXInstalled peut télécharger les paquetages manquants, ceci peut prendre du temps) ..."
${LangFileString} TEXT_CONFIGURE_LYX "Configuration de LyX ($R9 peut télécharger les paquetages manquants, ceci peut prendre du temps) ..."
${LangFileString} TEXT_CONFIGURE_PYTHON "Compilation des scripts Python..."
${LangFileString} TEXT_FINISH_DESKTOP "Créer un raccourci sur le bureau"
@ -39,15 +39,15 @@ ${LangFileString} SecThesaurusDescription "Les dictionnaires de synonymes qui pe
${LangFileString} EnterLaTeXHeader1 'Distribution LaTeX'
${LangFileString} EnterLaTeXHeader2 'Choisir la distribution LaTeX que LyX devra utiliser.'
${LangFileString} EnterLaTeXFolder 'Éventuellement, vous pouvez fixer ici le chemin d$\'accès au fichier $\"latex.exe$\" et de ce fait fixer \
la distribution LaTeX utilisée par Lyx.\r\n\
Si vous n$\'utilisez pas LaTeX, LyX ne peut créer de documents !\r\n\
\r\n\
la distribution LaTeX utilisée par Lyx.$\r$\n\
Si vous n$\'utilisez pas LaTeX, LyX ne peut créer de documents !$\r$\n\
$\r$\n\
L$\'assistant d$\'installation a détecté la distribution LaTeX \
$\"$LaTeXName$\" sur votre système. Le chemin d$\'accès est affiché ci-dessous.'
$\"$R9$\" sur votre système. Le chemin d$\'accès est affiché ci-dessous.'
${LangFileString} EnterLaTeXFolderNone 'Fixez ci-dessous le chemin d$\'accès au fichier $\"latex.exe$\". De ce fait vous fixez la \
distribution LaTeX utilisée par Lyx.\r\n\
Si vous n$\'utilisez pas LaTeX, LyX ne peut créer de documents !\r\n\
\r\n\
distribution LaTeX utilisée par Lyx.$\r$\n\
Si vous n$\'utilisez pas LaTeX, LyX ne peut créer de documents !$\r$\n\
$\r$\n\
L$\'assistant d$\'installation n$\'a pas pu trouver de distribution LaTeX sur votre système.'
${LangFileString} PathName 'Chemin vers le fichier $\"latex.exe$\"'
${LangFileString} DontUseLaTeX "N'utilisez pas LaTeX"
@ -61,8 +61,8 @@ ${LangFileString} LatexError1 'Distribution LaTeX introuvable !$\r$\n\
LyX ne peut être utilisé sans distribution LaTeX, comme par exemple $\"MiKTeX$\" !$\r$\n\
L$\'installation de LyX va donc être abandonnée.'
${LangFileString} HunspellFailed 'Le chargement du dictionnaire pour la langue $\"$R3$\" a échoué.'
${LangFileString} ThesaurusFailed 'Le chargement du dictionnaire de synonymes pour la langue $\"$R3$\" a échoué.'
${LangFileString} HunspellFailed 'Le chargement du dictionnaire pour la langue $\"$R9$\" a échoué.'
${LangFileString} ThesaurusFailed 'Le chargement du dictionnaire de synonymes pour la langue $\"$R9$\" a échoué.'
#${LangFileString} JabRefInfo 'Lancement de l$\'installation de l$\'application $\"JabRef$\".$\r$\n\
# Vous pouvez utiliser les options implicites du programme d$\'installation JabRef.'
@ -85,13 +85,13 @@ ${LangFileString} ModifyingConfigureFailed "Échec de l$\'allocation 'path_prefi
#${LangFileString} RunConfigureFailed "Échec de la tentative de configuration initiale de LyX."
${LangFileString} NotAdmin "Vous devez avoir les droits d$\'administration pour installer LyX !"
${LangFileString} InstallRunning "Le programme d$\'installation est toujours en cours !"
${LangFileString} AlreadyInstalled "LyX ${APP_SERIES_KEY2} est déjà installé !$\r$\n\
${LangFileString} AlreadyInstalled "LyX ${APP_VERSION} est déjà installé !$\r$\n\
L'installation par dessus les installations existantes n'est pas recommandée si la version installée$\r$\n\
est une version de test ou si vous avez des problèmes avec votre installation LyX existante.$\r$\n\
Dans ces situations il vaut mieux réinstaller LyX.$\r$\n\
Voulez-vous néanmoins installer LyX par dessus la version existante ?"
${LangFileString} NewerInstalled "Vous essayez d$\'installer une version de LyX plus ancienne que celle qui est déjà installée.$\r$\n\
Si c$\'est ce qu vous voulez, vous devez d$\'abord désinstaller LyX $OldVersionNumber."
Si c$\'est ce qu vous voulez, vous devez d$\'abord désinstaller LyX $R9."
${LangFileString} MultipleIndexesNotAvailable "La possibilité d$\'utiliser plusieurs indexes dans un même document ne sera pas disponible car$\r$\n\
MiKTeX a été installé avec des privilèges d$\'administrateur et LyX a été istallé sans."
@ -111,9 +111,9 @@ ${LangFileString} UnLyXPreferencesTitle 'Préférences utilisateurs de LyX'
${LangFileString} SecUnMiKTeXDescription "Désinstalle la distribution LaTeX MiKTeX."
#${LangFileString} SecUnJabRefDescription "Désinstalle le gestionnaire de bibliographie JabRef."
${LangFileString} SecUnPreferencesDescription 'Supprime le répertoire de configuration de LyX$\r$\n\
$\"$AppPre\username\$\r$\n\
$AppSuff\$\r$\n\
${APP_DIR_USERDATA}$\")$\r$\n\
$\"$R9\username\$\r$\n\
$R8\$\r$\n\
LyX${VERSION_MAJOR}.${VERSION_MINOR}$\")$\r$\n\
pour tous les utilisateurs.'
${LangFileString} SecUnProgramFilesDescription "Désinstaller LyX et tous ses composants."

View File

@ -7,7 +7,7 @@ ${LangFileString} TEXT_WELCOME "Este asistente vai-no guiar na instalación do L
$_CLICK"
#${LangFileString} TEXT_CONFIGURE_MIKTEXFNDB "Updating MiKTeX filename database..."
${LangFileString} TEXT_CONFIGURE_LYX "Configuring LyX ($LaTeXInstalled may download missing packages, this can take some time) ..."
${LangFileString} TEXT_CONFIGURE_LYX "Configuring LyX ($R9 may download missing packages, this can take some time) ..."
${LangFileString} TEXT_CONFIGURE_PYTHON "Compiling Python scripts..."
${LangFileString} TEXT_FINISH_DESKTOP "Create desktop shortcut"
@ -33,15 +33,15 @@ ${LangFileString} SecThesaurusDescription "Thesaurus dictionaries that can be do
${LangFileString} EnterLaTeXHeader1 'Distribuición de LaTeX'
${LangFileString} EnterLaTeXHeader2 'Escolha a distribución de LaTeX que vai usar o LyX.'
${LangFileString} EnterLaTeXFolder 'Opcionalmente pode especificar o camiño do ficheiro $\"latex.exe$\" e posteriormente \
escoller a distribuición de LaTeX que vai usar o LyX.\r\n\
Sen LaTeX o LyX non pode (pré-)imprimir os documentos!\r\n\
\r\n\
O instalador detectou a distribución de LaTeX $\"$LaTeXName$\"\
escoller a distribuición de LaTeX que vai usar o LyX.$\r$\n\
Sen LaTeX o LyX non pode (pré-)imprimir os documentos!$\r$\n\
$\r$\n\
O instalador detectou a distribución de LaTeX $\"$R9$\"\
no seu sistema, no camiño que se mostra abaixo.'
${LangFileString} EnterLaTeXFolderNone 'Especifique abaixo o camiño ao ficheiro $\"latex.exe$\". Posteriormente escolla \
a distribución de LaTeX que debe usar o LyX.\r\n\
Sem LaTeX o LyX non pode (pré-)imprimir os documentos!\r\n\
\r\n\
a distribución de LaTeX que debe usar o LyX.$\r$\n\
Sem LaTeX o LyX non pode (pré-)imprimir os documentos!$\r$\n\
$\r$\n\
O instalador non pudo achar nengunha distribución de LaTeX no seu sistema.'
${LangFileString} PathName 'Camiño ao ficheiro $\"latex.exe$\"'
${LangFileString} DontUseLaTeX "Non usar LaTeX"
@ -55,8 +55,8 @@ ${LangFileString} LatexError1 'Non se achou nengunha distribución de LaTeX!$\r$
Non se pode usar o LyX sen unha distribución de LaTeX como a $\"MiKTeX$\"!$\r$\n\
Por iso a instalación vai ser abortada.'
${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R3$\" failed.'
${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R3$\" failed.'
${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R9$\" failed.'
${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R9$\" failed.'
#${LangFileString} JabRefInfo 'Agora lanzará-se o instalador do programa $\"JabRef$\".$\r$\n\
# Pode usar todas as opcións por defeito no instalador do JabRef.'
@ -79,13 +79,13 @@ ${LangFileString} ModifyingConfigureFailed "Non se puido engadir o 'path_prefix'
#${LangFileString} RunConfigureFailed "Non se deu executado o script de configuración"
${LangFileString} NotAdmin "Precisa de priviléxios de administrador para instalar o LyX!"
${LangFileString} InstallRunning "O instalador xa está a correr!"
${LangFileString} AlreadyInstalled "O LyX ${APP_SERIES_KEY2} xa está instalado!$\r$\n\
${LangFileString} AlreadyInstalled "O LyX ${APP_VERSION} xa está instalado!$\r$\n\
Installing over existing installations is not recommended if the installed version$\r$\n\
is a test release or if you have problems with your existing LyX installation.$\r$\n\
In these cases better reinstall LyX.$\r$\n\
Dou you nevertheles want to install LyX over the existing version?"
${LangFileString} NewerInstalled "You are trying to install an older version of LyX than what you have installed.$\r$\n\
If you really want this, you must uninstall the existing LyX $OldVersionNumber before."
If you really want this, you must uninstall the existing LyX $R9 before."
${LangFileString} MultipleIndexesNotAvailable "The support for using several indexes in a document will not be available because$\r$\n\
MiKTeX was installed with administrator privileges but you are installing LyX without them."
@ -105,9 +105,9 @@ ${LangFileString} UnLyXPreferencesTitle 'Preferéncias de usuário do LyX'
${LangFileString} SecUnMiKTeXDescription "Desinstala a distribución de LaTeX MiKTeX."
#${LangFileString} SecUnJabRefDescription "Desinstala o xestor de referéncias bibliográficas JabRef."
${LangFileString} SecUnPreferencesDescription 'Elimina as pastas de configuración do LyX$\r$\n\
$\"$AppPre\username\$\r$\n\
$AppSuff\$\r$\n\
${APP_DIR_USERDATA}$\")$\r$\n\
$\"$R9\username\$\r$\n\
$R8\$\r$\n\
LyX${VERSION_MAJOR}.${VERSION_MINOR}$\")$\r$\n\
de todos os usuários.'
${LangFileString} SecUnProgramFilesDescription "Desinstala LyX e todos os seus componentes."

View File

@ -13,7 +13,7 @@ ${LangFileString} TEXT_WELCOME "Dieser Assistent wird Sie durch die Installation
$_CLICK"
#${LangFileString} TEXT_CONFIGURE_MIKTEXFNDB "Aktualisiere MiKTeXs Dateinamen Datenbank..."
${LangFileString} TEXT_CONFIGURE_LYX "Konfiguriere LyX ($LaTeXInstalled kann fehlende Pakte herunterladen, was etwas Zeit braucht) ..."
${LangFileString} TEXT_CONFIGURE_LYX "Konfiguriere LyX ($R9 kann fehlende Pakte herunterladen, was etwas Zeit braucht) ..."
${LangFileString} TEXT_CONFIGURE_PYTHON "Kompiliere Python Skripte..."
${LangFileString} TEXT_FINISH_DESKTOP "Ein Symbol auf der Arbeitsoberfläche erzeugen"
@ -39,15 +39,15 @@ ${LangFileString} SecThesaurusDescription "Thesaurus- Wörterbucher die herunter
${LangFileString} EnterLaTeXHeader1 'LaTeX-Distribution'
${LangFileString} EnterLaTeXHeader2 'Legen Sie die LaTeX-Distribution fest die LyX verwenden soll.'
${LangFileString} EnterLaTeXFolder 'Optional können Sie hier den Pfad zur Datei $\"latex.exe$\" angeben und damit die \
LaTeX-Distribution festlegen, die LyX verwenden soll.\r\n\
Wenn Sie kein LaTeX verwenden, kann LyX keine Dokumente ausgeben!\r\n\
\r\n\
Der Installer hat auf Ihrem System die LaTeX-Distribution\r\n\
$\"$LaTeXName$\" erkannt. Unten angegeben ist ihr Pfad.'
LaTeX-Distribution festlegen, die LyX verwenden soll.$\r$\n\
Wenn Sie kein LaTeX verwenden, kann LyX keine Dokumente ausgeben!$\r$\n\
$\r$\n\
Der Installer hat auf Ihrem System die LaTeX-Distribution$\r$\n\
$\"$R9$\" erkannt. Unten angegeben ist ihr Pfad.'
${LangFileString} EnterLaTeXFolderNone 'Geben Sie unten den Pfad zur Datei $\"latex.exe$\" an. Damit legen Sie fest welche \
LaTeX-Distribution LyX verwenden soll.\r\n\
Wenn Sie kein LaTeX verwenden, kann LyX keine Dokumente ausgeben!\r\n\
\r\n\
LaTeX-Distribution LyX verwenden soll.$\r$\n\
Wenn Sie kein LaTeX verwenden, kann LyX keine Dokumente ausgeben!$\r$\n\
$\r$\n\
Der Installer konnte auf Ihrem System keine LaTeX-Distribution finden.'
${LangFileString} PathName 'Pfad zur Datei $\"latex.exe$\"'
${LangFileString} DontUseLaTeX "Kein LaTeX benutzen"
@ -61,8 +61,8 @@ ${LangFileString} LatexError1 'Es konnte keine LaTeX-Distribution gefunden werde
LyX kann ohne eine LaTeX-Distribution wie z.B. $\"MiKTeX$\" nicht benutzt werden!$\r$\n\
Die Installation wird daher abgebrochen.'
${LangFileString} HunspellFailed 'Herunterladen des Wörterbuchs für Sprache $\"$R3$\" fehlgeschlagen.'
${LangFileString} ThesaurusFailed 'Herunterladen des Thesaurus für Sprache $\"$R3$\" fehlgeschlagen.'
${LangFileString} HunspellFailed 'Herunterladen des Wörterbuchs für Sprache $\"$R9$\" fehlgeschlagen.'
${LangFileString} ThesaurusFailed 'Herunterladen des Thesaurus für Sprache $\"$R9$\" fehlgeschlagen.'
#${LangFileString} JabRefInfo 'Als Nächstes wird der Installer des Programms $\"JabRef$\" gestartet.$\r$\n\
# Sie können alle voreingestellten Optionen des JabRef-Installers verwenden.'
@ -85,13 +85,13 @@ ${LangFileString} ModifyingConfigureFailed 'Der $\"PATH_präfix$\" (Liste mit Pr
#${LangFileString} RunConfigureFailed "Konnte das Konfigurationsskript nicht ausführen."
${LangFileString} NotAdmin "Sie benötigen Administratorrechte um LyX zu installieren!"
${LangFileString} InstallRunning "Der Installer läuft bereits!"
${LangFileString} AlreadyInstalled "LyX ${APP_SERIES_KEY2} ist bereits installiert!$\r$\n\
${LangFileString} AlreadyInstalled "LyX ${APP_VERSION} ist bereits installiert!$\r$\n\
Das Installieren über bestehende Installationen ist nicht empfohlen, wenn die installierte Version$\r$\n\
eine Testversion ist oder wenn es Probleme mit der bestehenden LyX-Installation gibt.$\r$\n\
Besser Sie deinstallieren in diesen Fällen LyX zuerst.$\r$\n\
Wollen Sie LyX dennoch über die bestehende Version installieren?"
${LangFileString} NewerInstalled "Sie versuchen eine Vesion von LyX zu installieren, die älter als die derzeit installierte ist.$\r$\n\
Wenn Sie das wirklich wollen, müssen Sie erst das existierende LyX $OldVersionNumber deinstallieren."
Wenn Sie das wirklich wollen, müssen Sie erst das existierende LyX $R9 deinstallieren."
${LangFileString} MultipleIndexesNotAvailable "Die Unterstützung für mehrere Indexe in einem Dokument wird nicht verfügbar sein, denn$\r$\n\
MiKTeX wurde mit Administratorrechten installiert aber Sie installieren LyX ohne diese."
@ -105,15 +105,15 @@ ${LangFileString} UnNotInRegistryLabel "Kann LyX nicht in der Registry finden.$\
Desktopsymbole und Einträge im Startmenü können nicht entfernt werden."
${LangFileString} UnInstallRunning "Sie müssen LyX zuerst beenden!"
${LangFileString} UnNotAdminLabel "Sie benötigen Administratorrechte um LyX zu deinstallieren!"
${LangFileString} UnReallyRemoveLabel "Sind Sie sicher, dass sie LyX und all seine Komponenten deinstallieren möchten?"
${LangFileString} UnReallyRemoveLabel "Sind Sie sicher, dass Sie LyX und all seine Komponenten deinstallieren möchten?"
${LangFileString} UnLyXPreferencesTitle 'LyXs Benutzereinstellungen'
${LangFileString} SecUnMiKTeXDescription "Deinstalliert die LaTeX-Distribution MiKTeX."
#${LangFileString} SecUnJabRefDescription "Deinstalliert den Bibliografiemanager JabRef."
${LangFileString} SecUnPreferencesDescription 'Löscht LyXs Benutzereinstellungen$\r$\n\
(Ordner $\"$AppPre\username\$\r$\n\
$AppSuff\$\r$\n\
${APP_DIR_USERDATA}$\")$\r$\n\
(Ordner $\"$R9\username\$\r$\n\
$R8\$\r$\n\
LyX${VERSION_MAJOR}.${VERSION_MINOR}$\")$\r$\n\
für Sie oder für alle Benutzer (wenn Sie Admin sind).'
${LangFileString} SecUnProgramFilesDescription "Deinstalliert LyX und all seine Komponenten."

View File

@ -13,7 +13,7 @@ ${LangFileString} TEXT_WELCOME "A varázsló segítségével tudja telepíteni a
$_CLICK"
#${LangFileString} TEXT_CONFIGURE_MIKTEXFNDB "MiKTeX filenév adatbázis frissítése..."
${LangFileString} TEXT_CONFIGURE_LYX "LyX beállítása ($LaTeXInstalled letöltheti a hiányzó csomagokat, ez eltarthat egy ideig) ..."
${LangFileString} TEXT_CONFIGURE_LYX "LyX beállítása ($R9 letöltheti a hiányzó csomagokat, ez eltarthat egy ideig) ..."
${LangFileString} TEXT_CONFIGURE_PYTHON "Python parancsfájlok fordítása..."
${LangFileString} TEXT_FINISH_DESKTOP "Indítóikon létrehozása Asztalon"
@ -39,15 +39,15 @@ ${LangFileString} SecThesaurusDescription "Szinoníma-szótárak, amiket letölt
${LangFileString} EnterLaTeXHeader1 'LaTeX-disztribúció'
${LangFileString} EnterLaTeXHeader2 'Adja meg a LaTeX-disztribúciót, amit a LyX-nek használnia kell.'
${LangFileString} EnterLaTeXFolder 'Itt megadhatja az elérési útvonalat a $\"latex.exe$\" fájlhoz és ezzel meg is adja \
melyik LaTeX disztribúciót fogja használni a LyX.\r\n\
Amennyiben nem használ LaTeX-et, a LyX nem tud kimenetet készíteni!\r\n\
\r\n\
melyik LaTeX disztribúciót fogja használni a LyX.$\r$\n\
Amennyiben nem használ LaTeX-et, a LyX nem tud kimenetet készíteni!$\r$\n\
$\r$\n\
A telepítő megtalálta az ön számítógépén a \
$\"$LaTeXName$\" disztribúciót. Lent láthatja az elérési útvonalát.'
$\"$R9$\" disztribúciót. Lent láthatja az elérési útvonalát.'
${LangFileString} EnterLaTeXFolderNone 'Adja meg a használandó $\"latex.exe$\" fájl elérési útvonalát. Ezzel azt is megadja \
melyik LaTeX disztribúciót fogja használni a LyX.\r\n\
Amennyiben nem használ LaTeX-et, a LyX nem tud kimenetet készíteni!\r\n\
\r\n\
melyik LaTeX disztribúciót fogja használni a LyX.$\r$\n\
Amennyiben nem használ LaTeX-et, a LyX nem tud kimenetet készíteni!$\r$\n\
$\r$\n\
A telepítő nem talált a számítógépén LaTeX disztribúciót!'
${LangFileString} PathName 'A $\"latex.exe$\" fájl elérési útja'
${LangFileString} DontUseLaTeX "Ne használja a LaTeX-et"
@ -61,8 +61,8 @@ ${LangFileString} LatexError1 'Nem találtam LaTeX-disztribúciót!$\r$\n\
A LyX nem használható egy LaTeX-disztibúció nélkül,(mint például a $\"MiKTeX$\")!$\r$\n\
Ezért a telepítés nem folytatható!'
${LangFileString} HunspellFailed 'Szótár letöltése a(z) $\"$R3$\" nyelvhez sikertelen.'
${LangFileString} ThesaurusFailed 'Szinoníma szótár letöltése a(z) $\"$R3$\" nyelvhez sikertelen.'
${LangFileString} HunspellFailed 'Szótár letöltése a(z) $\"$R9$\" nyelvhez sikertelen.'
${LangFileString} ThesaurusFailed 'Szinoníma szótár letöltése a(z) $\"$R9$\" nyelvhez sikertelen.'
#${LangFileString} JabRefInfo 'A $\"JabRef$\" telepítőjének elindítása következik.$\r$\n\
# Használhatja az alapértelmezett opciókat.'
@ -85,13 +85,13 @@ ${LangFileString} ModifyingConfigureFailed "Nem tudom beállítani a 'path_prefi
#${LangFileString} RunConfigureFailed "Nem tudom végrehajtani a configure parancsfájlt!"
${LangFileString} NotAdmin "A LyX telepítéséhez rendszergazdai jogok szükségesek!"
${LangFileString} InstallRunning "A telepítő már fut!"
${LangFileString} AlreadyInstalled "A LyX ${APP_SERIES_KEY2} már teleptve van!$\r$\n\
${LangFileString} AlreadyInstalled "A LyX ${APP_VERSION} már teleptve van!$\r$\n\
Installing over existing installations is not recommended if the installed version$\r$\n\
is a test release or if you have problems with your existing LyX installation.$\r$\n\
In these cases better reinstall LyX.$\r$\n\
Dou you nevertheles want to install LyX over the existing version?"
${LangFileString} NewerInstalled "A jelenleg telepítettnél régebbi LyX verziót próbál telepíteni.$\r$\n\
Ha valóban ezt akarja, először el kell távolítania a meglévő LyX $OldVersionNumber változatot."
Ha valóban ezt akarja, először el kell távolítania a meglévő LyX $R9 változatot."
${LangFileString} MultipleIndexesNotAvailable "Bizonyos listák támogatása nem lesz elérhető a dokumentumokban,\r$\n\
mert a MiKTeX rendszergazda joggal lett telepítve, azonban a LyX-et ezen jog nélkül telepíti."
@ -111,9 +111,9 @@ ${LangFileString} UnLyXPreferencesTitle 'LyX felhasználói beállítások'
${LangFileString} SecUnMiKTeXDescription "MikTeX LaTeX-disztibúció eltávolítása."
#${LangFileString} SecUnJabRefDescription "JabRef irodalomjegyzék kezelő eltávolítása."
${LangFileString} SecUnPreferencesDescription 'A LyX beállítások mappa törlése$\r$\n\
$\"$AppPre\username\$\r$\n\
$AppSuff\$\r$\n\
${APP_DIR_USERDATA}$\")$\r$\n\
$\"$R9\username\$\r$\n\
$R8\$\r$\n\
LyX${VERSION_MAJOR}.${VERSION_MINOR}$\")$\r$\n\
minden felhasználónál.'
${LangFileString} SecUnProgramFilesDescription "A LyX és minden komponensének eltávolítása."

View File

@ -13,7 +13,7 @@ ${LangFileString} TEXT_WELCOME "Program ini akan memandu anda dalam melakukan in
$_CLICK"
#${LangFileString} TEXT_CONFIGURE_MIKTEXFNDB "Memperbarui nama basisdata MiKTeX..."
${LangFileString} TEXT_CONFIGURE_LYX "Konfigurasi LyX ($LaTeXInstalled mungkin mengunduh paket yang diperlukan, proses perlu waktu mohon tunggu) ..."
${LangFileString} TEXT_CONFIGURE_LYX "Konfigurasi LyX ($R9 mungkin mengunduh paket yang diperlukan, proses perlu waktu mohon tunggu) ..."
${LangFileString} TEXT_CONFIGURE_PYTHON "Proses kompilasi skrip Python ..."
${LangFileString} TEXT_FINISH_DESKTOP "Membuat pintasan ikon di destop"
@ -39,15 +39,15 @@ ${LangFileString} SecThesaurusDescription "Kamus padanan kata yang dapat diunduh
${LangFileString} EnterLaTeXHeader1 'Distribusi LaTeX'
${LangFileString} EnterLaTeXHeader2 'Pengaturan distribusi LaTeX yang akan digunakan dalam LyX.'
${LangFileString} EnterLaTeXFolder 'Anda dapat mengatur sendiri lokasi tempat berkas $\"latex.exe$\" berada dan mengatur lokasi \
tempat distribusi LaTeX yang akan digunakan oleh LyX.\r\n\
Apabila anda tidak menggunakan LaTeX, LyX tidak akan menampilkan output dokumen!\r\n\
\r\n\
tempat distribusi LaTeX yang akan digunakan oleh LyX.$\r$\n\
Apabila anda tidak menggunakan LaTeX, LyX tidak akan menampilkan output dokumen!$\r$\n\
$\r$\n\
Program instalasi ini mendeteksi adanya distribusi LaTeX \
$\"$LaTeXName$\" dalam sistem anda. Dibawah ini adalah lokasi keberadaannya.'
$\"$R9$\" dalam sistem anda. Dibawah ini adalah lokasi keberadaannya.'
${LangFileString} EnterLaTeXFolderNone 'Aturlah lokasi tempat berkas $\"latex.exe$\" berada. Atur dan nyatakanlah lokasi \
tempat distribusi LaTeX yang akan digunakan oleh LyX.\r\n\
Apabila anda tidak menggunakan LaTeX, LyX tidak akan menampilkan output dokumen!\r\n\
\r\n\
tempat distribusi LaTeX yang akan digunakan oleh LyX.$\r$\n\
Apabila anda tidak menggunakan LaTeX, LyX tidak akan menampilkan output dokumen!$\r$\n\
$\r$\n\
Program instalasi ini tidak menemukan adanya distribusi LaTeX di sistem anda.'
${LangFileString} PathName 'Lokasi tempat berkas $\"latex.exe$\" berada'
${LangFileString} DontUseLaTeX "Tidak menggunakan LaTeX"
@ -61,8 +61,8 @@ ${LangFileString} LatexError1 'Distribusi LaTeX tidak ditemukan!$\r$\n\
LyX tidak bisa digunakan tanpa menggunakan salah satu distribusi LaTeX seperti $\"MiKTeX$\"!$\r$\n\
Oleh karena itu proses instalasi dibatalkan.'
${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R3$\" failed.'
${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R3$\" failed.'
${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R9$\" failed.'
${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R9$\" failed.'
#${LangFileString} JabRefInfo 'Sekarang instalasi program $\"JabRef$\" akan dijalankan.$\r$\n\
# Anda boleh memilih semua pilihan default yang ada di program instalasi JabRef.'
@ -85,13 +85,13 @@ ${LangFileString} ModifyingConfigureFailed "Tidak bisa menyatakan 'path_prefix'
#${LangFileString} RunConfigureFailed "Tidak bisa menjalankan skrip konfigurasi"
${LangFileString} NotAdmin "Anda harus berlaku dan mempunyai hak sebagai administrator untuk instalasi LyX!"
${LangFileString} InstallRunning "Program instalasi sedang berjalan!"
${LangFileString} AlreadyInstalled "LyX ${APP_SERIES_KEY2} sudah pernah diinstal!$\r$\n\
${LangFileString} AlreadyInstalled "LyX ${APP_VERSION} sudah pernah diinstal!$\r$\n\
Installing over existing installations is not recommended if the installed version$\r$\n\
is a test release or if you have problems with your existing LyX installation.$\r$\n\
In these cases better reinstall LyX.$\r$\n\
Dou you nevertheles want to install LyX over the existing version?"
${LangFileString} NewerInstalled "Anda akan memasang versi LyX yang lama dari yang sudah terpasang.$\r$\n\
Jika memang dikehendaki, anda harus menghapus dulu LyX yang ada, LyX $OldVersionNumber."
Jika memang dikehendaki, anda harus menghapus dulu LyX yang ada, LyX $R9."
${LangFileString} MultipleIndexesNotAvailable "Tidak ada dukungan menggunakan beberapa indeks dalam dokumen karena$\r$\n\
MiKTeX dipasang oleh administrator tetapi anda akan memasang LyX bukan sebagai administrator."
@ -111,9 +111,9 @@ ${LangFileString} UnLyXPreferencesTitle 'Preferensi pengguna LyX'
${LangFileString} SecUnMiKTeXDescription "Penghapusan distribusi LaTeX MiKTeX."
#${LangFileString} SecUnJabRefDescription "Penghapusan program manajemen bibliografi JabRef."
${LangFileString} SecUnPreferencesDescription 'Menghapus berkas konfigurasi LyX pada folder$\r$\n\
$\"$AppPre\username\$\r$\n\
$AppSuff\$\r$\n\
${APP_DIR_USERDATA}$\")$\r$\n\
$\"$R9\username\$\r$\n\
$R8\$\r$\n\
LyX${VERSION_MAJOR}.${VERSION_MINOR}$\")$\r$\n\
untuk semua pengguna.'
${LangFileString} SecUnProgramFilesDescription "Penghapusan LyX serta semua komponen yang ada."

View File

@ -15,7 +15,7 @@ ${LangFileString} TEXT_WELCOME "Verrete guidati nell'installazione di $(^NameDA)
$_CLICK"
#${LangFileString} TEXT_CONFIGURE_MIKTEXFNDB "Aggiornamento dei file del database MiKTeX in corso..."
${LangFileString} TEXT_CONFIGURE_LYX "Configurazione di LyX in corso ($LaTeXInstalled potrebbe installare i pacchetti mancanti, l'azione potrebbe richiedere qualche minuto) ..."
${LangFileString} TEXT_CONFIGURE_LYX "Configurazione di LyX in corso ($R9 potrebbe installare i pacchetti mancanti, l'azione potrebbe richiedere qualche minuto) ..."
${LangFileString} TEXT_CONFIGURE_PYTHON "Compilazione degli script Python in corso..."
${LangFileString} TEXT_FINISH_DESKTOP "Crea icona sul desktop"
@ -41,15 +41,15 @@ ${LangFileString} SecThesaurusDescription "Dizionari dei sinonimi che possono es
${LangFileString} EnterLaTeXHeader1 'Distribuzione di LaTeX'
${LangFileString} EnterLaTeXHeader2 'Scegliere la distribuzione di LaTeX che LyX dovrà usare.'
${LangFileString} EnterLaTeXFolder 'Puoi impostare qui il percorso del file $\"latex.exe$\" e impostare di conseguenza \
la distribuzione di LaTeX che LyX dovrà usare.\r\n\
Senza LaTeX, LyX non può generare documenti!\r\n\
\r\n\
la distribuzione di LaTeX che LyX dovrà usare.$\r$\n\
Senza LaTeX, LyX non può generare documenti!$\r$\n\
$\r$\n\
Il programma di installazione ha rilevato la distribuzione di LaTeX \
$\"$LaTeXName$\" sul tuo sistema. Il suo percorso è riportato sotto.'
$\"$R9$\" sul tuo sistema. Il suo percorso è riportato sotto.'
${LangFileString} EnterLaTeXFolderNone 'Imposta qui sotto il percorso del file $\"latex.exe$\". Con questo imposti quale \
distribuzione di LaTeX dovrà essere usata da LyX.\r\n\
Senza LaTeX, LyX non può generare documenti!\r\n\
\r\n\
distribuzione di LaTeX dovrà essere usata da LyX.$\r$\n\
Senza LaTeX, LyX non può generare documenti!$\r$\n\
$\r$\n\
Il programma di installazione non ha trovato una distribuzione di LaTeX sul tuo sistema.'
${LangFileString} PathName 'Percorso del file $\"latex.exe$\"'
${LangFileString} DontUseLaTeX "Non usare LaTeX"
@ -63,8 +63,8 @@ ${LangFileString} LatexError1 'Il programma non ha rilevato la presenza di alcun
LyX non può funzionare senza una distribuzione LaTeX (ad es. $\"MiKTeX$\")!$\r$\n\
Il processo di installazione verrà quindi terminato.'
${LangFileString} HunspellFailed 'Lo scaricamento del dizionario per la lingua $\"$R3$\" non e$\' andato a buon fine.'
${LangFileString} ThesaurusFailed 'Lo scaricamento dei sinonimi per la lingua $\"$R3$\" non e$\' andato a buon fine.'
${LangFileString} HunspellFailed 'Lo scaricamento del dizionario per la lingua $\"$R9$\" non e$\' andato a buon fine.'
${LangFileString} ThesaurusFailed 'Lo scaricamento dei sinonimi per la lingua $\"$R9$\" non e$\' andato a buon fine.'
#${LangFileString} JabRefInfo 'Verrà adesso lanciato il programma di installazione di $\"JabRef$\".$\r$\n\
# Puoi usare tutte le opzioni predefinite per il programma di installazione di JabRef.'
@ -87,13 +87,13 @@ ${LangFileString} ModifyingConfigureFailed "Fallito tentativo di aggiornare 'pat
#${LangFileString} RunConfigureFailed "Fallito tentativo di eseguire lo script di configurazione"
${LangFileString} NotAdmin "Occorrono i privilegi da amministratore per installare LyX!"
${LangFileString} InstallRunning "Il programma di installazione è già in esecuzione!"
${LangFileString} AlreadyInstalled "LyX ${APP_SERIES_KEY2} è già installato!$\r$\n\
${LangFileString} AlreadyInstalled "LyX ${APP_VERSION} è già installato!$\r$\n\
Procedere con l'installazione su quella esistente non è raccomandabile se la versione version$\r$\n\
è una release di test o se avete problemi con la vostra installazione corrente di Lyx.$\r$\n\
In questi casi è preferibile installare nuovamente LyX.$\r$\n\
Volete procedere comunque con l'installazione di LyX su quella esistente?"
${LangFileString} NewerInstalled "Si sta procedendo ad installare una versione di LyX precedente a quella in uso.$\r$\n\
Se si vuole procedere, è necessario prima disinstallare la versione LyX $OldVersionNumber."
Se si vuole procedere, è necessario prima disinstallare la versione LyX $R9."
${LangFileString} MultipleIndexesNotAvailable "Il supporto di più indici per documento non sarà disponibile perche'$\r$\n\
MiKTeX è stato installato con privilegi di amministratore, ma si sta procedendo a installare LyX senza questi privilegi."
@ -113,9 +113,9 @@ ${LangFileString} UnLyXPreferencesTitle 'Impostazioni personali di LyX'
${LangFileString} SecUnMiKTeXDescription 'Rimuove la distribuzione di LaTeX $\"MiKTeX$\".'
#${LangFileString} SecUnJabRefDescription "Rimuove il gestore della bibliografia JabRef."
${LangFileString} SecUnPreferencesDescription 'Elimina la cartella con la configurazione di LyX$\r$\n\
$\"$AppPre\username\$\r$\n\
$AppSuff\$\r$\n\
${APP_DIR_USERDATA}$\")$\r$\n\
$\"$R9\username\$\r$\n\
$R8\$\r$\n\
LyX${VERSION_MAJOR}.${VERSION_MINOR}$\")$\r$\n\
per tutti gli utenti.'
${LangFileString} SecUnProgramFilesDescription "Rimuove LyX e tutti i suoi componenti."

View File

@ -13,7 +13,7 @@ ${LangFileString} TEXT_WELCOME "このウィザードが、あなたのLyX導入
$_CLICK"
#${LangFileString} TEXT_CONFIGURE_MIKTEXFNDB "MiKTeXのファイル名データベースを更新しています..."
${LangFileString} TEXT_CONFIGURE_LYX "LyXを構成しています ($LaTeXInstalledが不足分のパッケージをダウンロードするかもしれないので、時間のかかることがあります) ..."
${LangFileString} TEXT_CONFIGURE_LYX "LyXを構成しています ($R9が不足分のパッケージをダウンロードするかもしれないので、時間のかかることがあります) ..."
${LangFileString} TEXT_CONFIGURE_PYTHON "Pythonスクリプトをコンパイルしています..."
${LangFileString} TEXT_FINISH_DESKTOP "デスクトップにショートカットを作成する"
@ -39,15 +39,15 @@ ${LangFileString} SecThesaurusDescription "ダウンロード及び導入が可
${LangFileString} EnterLaTeXHeader1 'LaTeX頒布版'
${LangFileString} EnterLaTeXHeader2 'LyXが使うべきLaTeX頒布版を指定してください。'
${LangFileString} EnterLaTeXFolder 'ここでは、$\"latex.exe$\"ファイルへのパスを指定することができます。そうすることによって、\
LyXが使用すべきLaTeX頒布版を指定することができます。\r\n\
もしLaTeXを使わなければ、LyXは文書を出力することができません\r\n\
\r\n\
LyXが使用すべきLaTeX頒布版を指定することができます。$\r$\n\
もしLaTeXを使わなければ、LyXは文書を出力することができません$\r$\n\
$\r$\n\
導入プログラムは、システム上にLaTeX頒布版として\
$\"$LaTeXName$\"があることを検出しました。下欄にはそのパスが表示されています。'
$\"$R9$\"があることを検出しました。下欄にはそのパスが表示されています。'
${LangFileString} EnterLaTeXFolderNone '下欄で$\"latex.exe$\"ファイルへのパスを指定してください。そうすることによって、\
LyXがどのLaTeX頒布版を使用するべきか指定することができます。\r\n\
もしLaTeXを使わなければ、LyXは文書を出力することができません\r\n\
\r\n\
LyXがどのLaTeX頒布版を使用するべきか指定することができます。$\r$\n\
もしLaTeXを使わなければ、LyXは文書を出力することができません$\r$\n\
$\r$\n\
導入プログラムは、システム上にLaTeX頒布版を見つけることができませんでした。'
${LangFileString} PathName '$\"latex.exe$\"ファイルへのパス'
${LangFileString} DontUseLaTeX "LaTeXを使用しない"
@ -61,8 +61,8 @@ ${LangFileString} LatexError1 'LaTeX頒布版を発見することができま
LyXは、$\"MiKTeX$\"のようなLaTeX頒布版なしでは使うことができません$\r$\n\
したがって導入を中止します。'
${LangFileString} HunspellFailed '言語$\"$R3$\"用辞書のダウンロードに失敗しました。'
${LangFileString} ThesaurusFailed '言語$\"$R3$\"用類義語辞典のダウンロードに失敗しました。'
${LangFileString} HunspellFailed '言語$\"$R9$\"用辞書のダウンロードに失敗しました。'
${LangFileString} ThesaurusFailed '言語$\"$R9$\"用類義語辞典のダウンロードに失敗しました。'
#${LangFileString} JabRefInfo 'これからプログラム$\"JabRef$\"の導入プログラムを起動します。$\r$\n\
# JabRef導入プログラムの既定オプションをすべて受け入れてかまいません。'
@ -85,13 +85,13 @@ ${LangFileString} ModifyingConfigureFailed "configureスクリプト中で'path_
#${LangFileString} RunConfigureFailed "configureスクリプトを実行することができませんでした"
${LangFileString} NotAdmin "LyXを導入するには、管理者権限を持っていなくてはなりません"
${LangFileString} InstallRunning "導入プログラムは既に動作中です!"
${LangFileString} AlreadyInstalled "LyX${APP_SERIES_KEY2}は既に導入済みです!$\r$\n\
${LangFileString} AlreadyInstalled "LyX${APP_VERSION}は既に導入済みです!$\r$\n\
導入済みのバージョンがテスト版であったり、導入済みLyXで問題がある場合には、$\r$\n\
上書き導入作業は推奨されません。これらの場合には、LyXを最初から再導入する$\r$\n\
ことが推奨されます。$\r$\n\
これらを承知の上で、既存のLyXを上書きしますか"
${LangFileString} NewerInstalled "あなたは、既に導入済みのLyXよりも古い版を導入しようとしています。$\r$\n\
本当にそうしたいのであれば、既存の LyX $OldVersionNumber をまず導入解除してください。"
本当にそうしたいのであれば、既存の LyX $R9 をまず導入解除してください。"
${LangFileString} MultipleIndexesNotAvailable "MiKTeXが管理者権限で導入されているのに、LyXをMiKTeXなしで導入しようとしているため、$\r$\n\
同一文書内での複数の索引の使用はサポートされません。"
@ -111,9 +111,9 @@ ${LangFileString} UnLyXPreferencesTitle 'LyXのユーザー設定'
${LangFileString} SecUnMiKTeXDescription "LaTeX頒布版MiKTeXの導入解除を行います。"
#${LangFileString} SecUnJabRefDescription "文献管理プログラムJabRefの導入解除を行います。"
${LangFileString} SecUnPreferencesDescription 'ユーザー共通のLyXの設定フォルダ$\r$\n\
$\"$AppPre\username\$\r$\n\
$AppSuff\$\r$\n\
${APP_DIR_USERDATA}$\")$\r$\n\
$\"$R9\username\$\r$\n\
$R8\$\r$\n\
LyX${VERSION_MAJOR}.${VERSION_MINOR}$\")$\r$\n\
を削除します。'
${LangFileString} SecUnProgramFilesDescription "LyXとすべての附属コンポーネントの導入解除を行います。"

View File

@ -13,7 +13,7 @@ ${LangFileString} TEXT_WELCOME "Denne veiviseren installerer LyX på datamaskine
$_CLICK"
#${LangFileString} TEXT_CONFIGURE_MIKTEXFNDB "Oppdaterer MiKTeX filenavn database..."
${LangFileString} TEXT_CONFIGURE_LYX "Konfigurerer LyX ($LaTeXInstalled kan laste ned manglende pakker, så dette kan ta litt tid) ..."
${LangFileString} TEXT_CONFIGURE_LYX "Konfigurerer LyX ($R9 kan laste ned manglende pakker, så dette kan ta litt tid) ..."
${LangFileString} TEXT_CONFIGURE_PYTHON "Kompilerer Python script..."
${LangFileString} TEXT_FINISH_DESKTOP "Lager snarveg på skrivebordet"
@ -39,15 +39,15 @@ ${LangFileString} SecThesaurusDescription "Synonymordbøker som kan lastes ned o
${LangFileString} EnterLaTeXHeader1 'LaTeX-distribusjon'
${LangFileString} EnterLaTeXHeader2 'Velg LaTeX-distribusjonen LyX skal bruke.'
${LangFileString} EnterLaTeXFolder 'Dersom du vil kan du sette stien til fila $\"latex.exe$\" og slik sette\
LaTeX-distribusjonen som LyX bruker.\r\n\
Om du ikke bruker LaTeX får du ikke vist dokument!\r\n\
\r\n\
LaTeX-distribusjonen som LyX bruker.$\r$\n\
Om du ikke bruker LaTeX får du ikke vist dokument!$\r$\n\
$\r$\n\
Installasjonsprosessen har funne LaTeX-distribusjonen \
$\"$LaTeXName$\" i systemet ditt. Stien står nedenfor.'
$\"$R9$\" i systemet ditt. Stien står nedenfor.'
${LangFileString} EnterLaTeXFolderNone 'Dersom du vil kan du sette stien til fila $\"latex.exe$\" og slik sette\
LaTeX-distribusjonen som LyX bruker.\r\n\
Om du ikke bruker LaTeX får du ikke vist dokument!\r\n\
\r\n\
LaTeX-distribusjonen som LyX bruker.$\r$\n\
Om du ikke bruker LaTeX får du ikke vist dokument!$\r$\n\
$\r$\n\
Installasjonsprosessen har ikke funne noen LaTeX-distribusjon.'
${LangFileString} PathName 'Stien til filen $\"latex.exe$\"'
${LangFileString} DontUseLaTeX "Ikke bruk LaTeX"
@ -61,8 +61,8 @@ ${LangFileString} LatexError1 'Fant ikke noen LaTeX-distribusjon!$\r$\n\
LyX kan ikke brukes uten en LaTeX-distribusjon slik som $\"MiKTeX$\"!$\r$\n\
Derfor avbrytes installasjonen.'
${LangFileString} HunspellFailed 'Nedlastingen av ordliste for språket $\"$R3$\" feilet.'
${LangFileString} ThesaurusFailed 'Nedlastingen av synonymordliste for språket $\"$R3$\" feilet.'
${LangFileString} HunspellFailed 'Nedlastingen av ordliste for språket $\"$R9$\" feilet.'
${LangFileString} ThesaurusFailed 'Nedlastingen av synonymordliste for språket $\"$R9$\" feilet.'
#${LangFileString} JabRefInfo 'Nå vil installasjonen av programmet $\"JabRef$\" starte.$\r$\n\
# Du kan bruke alle de vanlige opsjonene i JabRef installasjonen.'
@ -85,13 +85,13 @@ ${LangFileString} ModifyingConfigureFailed "Forsøket på å stille inn 'path_pr
#${LangFileString} RunConfigureFailed "Fikk ikke kjørt konfigurasjonsscriptet"
${LangFileString} NotAdmin "Du trenger administratorrettigheter for å installere LyX!"
${LangFileString} InstallRunning "Installasjonsprogrammet er allerede i gang!"
${LangFileString} AlreadyInstalled "LyX ${APP_SERIES_KEY2} er allerede installert!$\r$\n\
${LangFileString} AlreadyInstalled "LyX ${APP_VERSION} er allerede installert!$\r$\n\
Vi anbefaler ikke å installere over en eksisterende installasjon hvis den installere versjonen$\r$\n\
er en testversjon eller om du har problemer med den eksisterende installasjonen.$\r$\n\
I slike tilfeller er det bedre å reinstallere LyX.$\r$\n\
Vil du likevel installere LyX over den eksisterende versjonen?"
${LangFileString} NewerInstalled "Du prøver å installere en eldre versjon av Lyx enn den du har installert fra før.$\r$\n\
Dersom du ønsker dette må du avinstallere LyX $OldVersionNumber først."
Dersom du ønsker dette må du avinstallere LyX $R9 først."
${LangFileString} MultipleIndexesNotAvailable "Støtte for flere indekser vil ikke være tilgjengelig fordi$\r$\n\
MiKTeX er installert med administratorrettigheter og du installerer LyX uten."
@ -111,9 +111,9 @@ ${LangFileString} UnLyXPreferencesTitle 'LyX sine bruker innstillinger'
${LangFileString} SecUnMiKTeXDescription "Avinstallerer LaTeX-distribusjonen MiKTeX."
#${LangFileString} SecUnJabRefDescription "Avinstallerer bibliografiprogrammet JabRef."
${LangFileString} SecUnPreferencesDescription 'Sletter LyX sine konfigurasjonsmapper$\r$\n\
$\"$AppPre\username\$\r$\n\
$AppSuff\$\r$\n\
${APP_DIR_USERDATA}$\")$\r$\n\
$\"$R9\username\$\r$\n\
$R8\$\r$\n\
LyX${VERSION_MAJOR}.${VERSION_MINOR}$\")$\r$\n\
for alle brukere.'
${LangFileString} SecUnProgramFilesDescription "Avinstallerer LyX og alle delkomponenter."

View File

@ -7,7 +7,7 @@ ${LangFileString} TEXT_WELCOME "Kreator przeprowadzi Ciebie przez proces instala
$_CLICK"
#${LangFileString} TEXT_CONFIGURE_MIKTEXFNDB "Aktualizacja bazy danych nazw plików MikTeX..."
${LangFileString} TEXT_CONFIGURE_LYX "Konfigurowanie LyX ($LaTeXInstalled może pobrać brakujące pakiety, co może zająć trochę czasu)..."
${LangFileString} TEXT_CONFIGURE_LYX "Konfigurowanie LyX ($R9 może pobrać brakujące pakiety, co może zająć trochę czasu)..."
${LangFileString} TEXT_CONFIGURE_PYTHON "Kompilowanie skryptów Python..."
${LangFileString} TEXT_FINISH_DESKTOP "Utwórz skrót na pulpicie"
@ -33,15 +33,15 @@ ${LangFileString} SecThesaurusDescription "Słowniki tezaurusa, które mogą zos
${LangFileString} EnterLaTeXHeader1 'Dystrybucja LaTeX'
${LangFileString} EnterLaTeXHeader2 'Wybierz dystrybucję LaTeX, którą chcesz używać z LyX.'
${LangFileString} EnterLaTeXFolder 'Możesz opcjonalnie określić ścieżkę do pliku $\"latex.exe$\" i w związku z tym ustawić, \
która dystrybucja LaTeX ma być używana przez LyX.\r\n\
Jeżeli nie użyjesz LaTeX, LyX będzie niezdolny do wyprodukowania dokumentów!\r\n\
\r\n\
która dystrybucja LaTeX ma być używana przez LyX.$\r$\n\
Jeżeli nie użyjesz LaTeX, LyX będzie niezdolny do wyprodukowania dokumentów!$\r$\n\
$\r$\n\
Instalator wykrył dystrybucję LaTeX \
$\"$LaTeXName$\" w twoim systemie. Poniżej wyświetlono jego ścieżkę.'
$\"$R9$\" w twoim systemie. Poniżej wyświetlono jego ścieżkę.'
${LangFileString} EnterLaTeXFolderNone 'Poniżej podaj ścieżkę do pliku $\"latex.exe$\". W związku z tym od Ciebie \
zależy, która dystrybucja LaTeX zostanie użyta przez LyX.\r\n\
Jeżeli nie użyjesz LaTeX, LyX będzie niezdolny do wyprodukowania dokumentów!\r\n\
\r\n\
zależy, która dystrybucja LaTeX zostanie użyta przez LyX.$\r$\n\
Jeżeli nie użyjesz LaTeX, LyX będzie niezdolny do wyprodukowania dokumentów!$\r$\n\
$\r$\n\
Instalator nie może odnaleźć dystrybucji LaTeX w twoim systemie.'
${LangFileString} PathName 'Ścieżka do pliku $\"latex.exe$\"'
${LangFileString} DontUseLaTeX "Nie używaj LaTeX-a"
@ -55,8 +55,8 @@ ${LangFileString} LatexError1 'Nie znaleziono dystrybucji LaTeX$\'a!$\r$\n\
LyX nie może być użyty bez dystrybucji LaTeX-a takiej jak $\"MiKTeX$\"!$\r$\n\
Z tego powodu instalacja zostanie przerwana.'
${LangFileString} HunspellFailed 'Pobranie słownika dla języka $\"$R3$\" nie powiodło się.'
${LangFileString} ThesaurusFailed 'Pobranie tezaurusa dla języka $\"$R3$\" nie powiodło się.'
${LangFileString} HunspellFailed 'Pobranie słownika dla języka $\"$R9$\" nie powiodło się.'
${LangFileString} ThesaurusFailed 'Pobranie tezaurusa dla języka $\"$R9$\" nie powiodło się.'
#${LangFileString} JabRefInfo 'Teraz zostanie uruchomiony instalator aplikacji $\"JabRef$\".$\r$\n\
# Możesz użyć wszystkich domyślnych opcji instalatora JabRef.'
@ -79,13 +79,13 @@ ${LangFileString} ModifyingConfigureFailed "Nieudana próba ustawienia zmiennej
#${LangFileString} RunConfigureFailed "Niedana próba wykonania skryptu konfiguracyjnego"
${LangFileString} NotAdmin "Musisz mieć prawa administratora aby zainstalować LyX$\'a!"
${LangFileString} InstallRunning "Instalator jest już uruchomiony!"
${LangFileString} AlreadyInstalled "LyX ${APP_SERIES_KEY2} jest już zainstalowany!$\r$\n\
${LangFileString} AlreadyInstalled "LyX ${APP_VERSION} jest już zainstalowany!$\r$\n\
Installing over existing installations is not recommended if the installed version$\r$\n\
is a test release or if you have problems with your existing LyX installation.$\r$\n\
In these cases better reinstall LyX.$\r$\n\
Dou you nevertheles want to install LyX over the existing version?"
${LangFileString} NewerInstalled "Próbujesz zainstalować starszą wersję LyX, niż ta która jest już zainstalowana.$\r$\n\
Jeżeli naprawdę chcesz tego dokonać, musisz wpierw odinstalować LyX $OldVersionNumber."
Jeżeli naprawdę chcesz tego dokonać, musisz wpierw odinstalować LyX $R9."
${LangFileString} MultipleIndexesNotAvailable "Wsparcie dla używania wielu indeksów w dokumencie nie będzie dostępne, ponieważ$\r$\n\
MiKTeX został zainstalowany z uprawnieniami administratora, natomiast instalujesz LyX bez nich."
@ -105,9 +105,9 @@ ${LangFileString} UnLyXPreferencesTitle 'Preferencje użytkownika LyX$\'a'
${LangFileString} SecUnMiKTeXDescription "Deinstalacja MikTeX, dystrybucji LaTeX."
#${LangFileString} SecUnJabRefDescription "Deinstalacja zarządcy bibliografii JabRef."
${LangFileString} SecUnPreferencesDescription 'Usuwa folder konfiguracji LyX$\'a$\r$\n\
$\"$AppPre\username\$\r$\n\
$AppSuff\$\r$\n\
${APP_DIR_USERDATA}$\")$\r$\n\
$\"$R9\username\$\r$\n\
$R8\$\r$\n\
LyX${VERSION_MAJOR}.${VERSION_MINOR}$\")$\r$\n\
wszystkim użytkownikom.'
${LangFileString} SecUnProgramFilesDescription "Deinstalacja LyX i wszystkich jego komponentów."

View File

@ -7,7 +7,7 @@ ${LangFileString} TEXT_WELCOME "Este assistente de instalação irá guiá-lo at
$_CLICK"
#${LangFileString} TEXT_CONFIGURE_MIKTEXFNDB "Atualizar a base de dados de ficheiros do MiKTeX..."
${LangFileString} TEXT_CONFIGURE_LYX "Configurando o LyX ($LaTeXInstalled pode descarregar pacotes em falta, isto pode demorar algum tempo) ..."
${LangFileString} TEXT_CONFIGURE_LYX "Configurando o LyX ($R9 pode descarregar pacotes em falta, isto pode demorar algum tempo) ..."
${LangFileString} TEXT_CONFIGURE_PYTHON "Compilando os scripts de Python..."
${LangFileString} TEXT_FINISH_DESKTOP "Criar um atalho no ambiente de trabalho"
@ -33,15 +33,15 @@ ${LangFileString} SecThesaurusDescription "Dicionários de sinónimos (Tesauro)
${LangFileString} EnterLaTeXHeader1 'Distribuição de LaTeX'
${LangFileString} EnterLaTeXHeader2 'Escolher a distribuição de LaTeX que o LyX deverá usar.'
${LangFileString} EnterLaTeXFolder 'Opcionalmente pode especificar o caminho do ficheiro $\"latex.exe$\" e posteriormente \
escolher a distribuição de LaTeX que vai usar o LyX.\r\n\
Sem LaTeX o LyX não pode (pré-)imprimir os documentos!\r\n\
\r\n\
O instalador detectou a distribuição de LaTeX $\"$LaTeXName$\"\
escolher a distribuição de LaTeX que vai usar o LyX.$\r$\n\
Sem LaTeX o LyX não pode (pré-)imprimir os documentos!$\r$\n\
$\r$\n\
O instalador detectou a distribuição de LaTeX $\"$R9$\"\
no seu sistema, no caminho que se mostra abaixo.'
${LangFileString} EnterLaTeXFolderNone 'Especifique abaixo o caminho ao ficheiro $\"latex.exe$\". Posteriormente escolha \
a distribuição de LaTeX que deve usar o LyX.\r\n\
Sem LaTeX o LyX não pode (pré-)imprimir os documentos!\r\n\
\r\n\
a distribuição de LaTeX que deve usar o LyX.$\r$\n\
Sem LaTeX o LyX não pode (pré-)imprimir os documentos!$\r$\n\
$\r$\n\
O instalador não pudo achar nenhuma distribuição de LaTeX no seu sistema.'
${LangFileString} PathName 'Caminho ao ficheiro $\"latex.exe$\"'
${LangFileString} DontUseLaTeX "Não usar LaTeX"
@ -55,8 +55,8 @@ ${LangFileString} LatexError1 'Não foi encontrada nenhuma distribuição de LaT
O LyX não pode ser usado sem uma distribuição de LaTeX como o $\"MiKTeX$\"!$\r$\n\
A instalação será por isso abortada.'
${LangFileString} HunspellFailed 'Falha ao descarregar o dicionário para o idioma $\"$R3$\".'
${LangFileString} ThesaurusFailed 'Falha ao descarregar o dicionário de sinónimos (thesaurus) para o idioma $\"$R3$\".'
${LangFileString} HunspellFailed 'Falha ao descarregar o dicionário para o idioma $\"$R9$\".'
${LangFileString} ThesaurusFailed 'Falha ao descarregar o dicionário de sinónimos (thesaurus) para o idioma $\"$R9$\".'
#${LangFileString} JabRefInfo 'Agora lançar-se-á o instalador do programa $\"JabRef$\".$\r$\n\
# Pode usar todas as opções por defeito no instalador do JabRef.'
@ -79,13 +79,13 @@ ${LangFileString} ModifyingConfigureFailed "Não conseguimos establecer o 'path_
#${LangFileString} RunConfigureFailed "Não foi possível executar o script de configuração"
${LangFileString} NotAdmin "Precisa de privilégios de administrador para instalar o LyX!"
${LangFileString} InstallRunning "O instalador já está a correr!"
${LangFileString} AlreadyInstalled "O LyX ${APP_SERIES_KEY2} já está instalado!$\r$\n\
${LangFileString} AlreadyInstalled "O LyX ${APP_VERSION} já está instalado!$\r$\n\
Não é recomendado instalar sobre uma instalação já existente se a versão instalada$\r$\n\
é uma versão de teste ou se tiver problemas com a instalação atual.$\r$\n\
Nestes casos é melhor reinstalar o LyX$\r$\n\
Quer continuar na mesma a instalar o LyX sobre a versão existente?"
${LangFileString} NewerInstalled "Está a tentar instalar uma versão mais antiga do que a que tem instalada.$\r$\n\
Se realmente quer fazer isto deve antes desinstalar o LyX $OldVersionNumber."
Se realmente quer fazer isto deve antes desinstalar o LyX $R9."
${LangFileString} MultipleIndexesNotAvailable "O suporte para usar vários indíces num documento não está disponível porque$\r$\n\
o MiKTeX foi instalado com privilégios de administrador mas está a instalar o LyX sem eles."
@ -105,9 +105,9 @@ ${LangFileString} UnLyXPreferencesTitle 'Preferências de utilizador do LyX'
${LangFileString} SecUnMiKTeXDescription "Desinstala a distribuição de LaTeX MiKTeX."
#${LangFileString} SecUnJabRefDescription "Desinstala o gestor de referências bibliográficas JabRef."
${LangFileString} SecUnPreferencesDescription 'Apaga as pastas de configuração do LyX$\r$\n\
$\"$AppPre\username\$\r$\n\
$AppSuff\$\r$\n\
${APP_DIR_USERDATA}$\")$\r$\n\
$\"$R9\username\$\r$\n\
$R8\$\r$\n\
LyX${VERSION_MAJOR}.${VERSION_MINOR}$\")$\r$\n\
de todos os utilizadores.'
${LangFileString} SecUnProgramFilesDescription "Desinstala LyX e todas as suas componentes."

View File

@ -13,7 +13,7 @@ ${LangFileString} TEXT_WELCOME "Este assistente guiará você durante a instala
$_CLICK"
#${LangFileString} TEXT_CONFIGURE_MIKTEXFNDB "Atualizando a base de dados de nomes de arquivo do MiKTeX..."
${LangFileString} TEXT_CONFIGURE_LYX "Configurando o LyX (talvez o $LaTeXInstalled precise baixar pacotes, isto pode demorar algum tempo) ..."
${LangFileString} TEXT_CONFIGURE_LYX "Configurando o LyX (talvez o $R9 precise baixar pacotes, isto pode demorar algum tempo) ..."
${LangFileString} TEXT_CONFIGURE_PYTHON "Compilando scripts Python..."
${LangFileString} TEXT_FINISH_DESKTOP "Criar atalho na área de trabalho"
@ -39,15 +39,15 @@ ${LangFileString} SecThesaurusDescription "Dicionários de sinônimos que podem
${LangFileString} EnterLaTeXHeader1 'Distribuição LaTeX'
${LangFileString} EnterLaTeXHeader2 'Escolha que distribuição LaTeX o LyX deverá usar.'
${LangFileString} EnterLaTeXFolder 'Você pode também optar por configurar aqui o caminho para o arquivo $\"latex.exe$\" e assim escolher \
a distribuição LaTeX que o LyX deverá usar.\r\n\
Sem uma distribuição LaTeX, o LyX não poderá gerar documentos de saída!\r\n\
\r\n\
a distribuição LaTeX que o LyX deverá usar.$\r$\n\
Sem uma distribuição LaTeX, o LyX não poderá gerar documentos de saída!$\r$\n\
$\r$\n\
O instalador detectou a distribuição LaTeX\
$\"$LaTeXName$\" no seu sistema, cujo caminho é exibido abaixo.'
$\"$R9$\" no seu sistema, cujo caminho é exibido abaixo.'
${LangFileString} EnterLaTeXFolderNone 'Configure abaixo o caminho para o arquivo $\"latex.exe$\". Ao fazê-lo, \
você escolhe a distribuição LaTeX que o LyX deverá usar.\r\n\
Sem uma distribuição LaTeX, o LyX não poderá gerar documentos de saída!\r\n\
\r\n\
você escolhe a distribuição LaTeX que o LyX deverá usar.$\r$\n\
Sem uma distribuição LaTeX, o LyX não poderá gerar documentos de saída!$\r$\n\
$\r$\n\
O instalador não conseguiu encontrar uma distribuição LaTeX no seu sistema.'
${LangFileString} PathName 'Caminho para o arquivo $\"latex.exe$\"'
${LangFileString} DontUseLaTeX "Não usar LaTeX"
@ -61,8 +61,8 @@ ${LangFileString} LatexError1 'Nenhuma distribuição LaTeX foi encontrada!$\r$\
Sem uma distribuição LaTeX como o $\"MiKTeX$\", o LyX não pode ser usado!$\r$\n\
Por isso, a instalação será abortada.'
${LangFileString} HunspellFailed 'Ocorreu uma falha ao baixar o dicionário ortográfico do idioma $\"$R3$\".'
${LangFileString} ThesaurusFailed 'Ocorreu uma falha ao baixar o dicionário de sinônimos do idioma $\"$R3$\".'
${LangFileString} HunspellFailed 'Ocorreu uma falha ao baixar o dicionário ortográfico do idioma $\"$R9$\".'
${LangFileString} ThesaurusFailed 'Ocorreu uma falha ao baixar o dicionário de sinônimos do idioma $\"$R9$\".'
#${LangFileString} JabRefInfo 'Agora o instalador do programa $\"JabRef$\" será executado.$\r$\n\
# Você pode deixar todas as opções do instalador do JabRef em seus valores predefinidos.'
@ -84,13 +84,13 @@ ${LangFileString} MiKTeXInfo 'A distribuição LaTeX $\"MiKTeX$\" será usada pe
${LangFileString} ModifyingConfigureFailed "Não foi possível definir 'path_prefix' no script de configuração"
#${LangFileString} RunConfigureFailed "Não foi possível executar o script de configuração"
${LangFileString} InstallRunning "O instalador já está em execução!"
${LangFileString} AlreadyInstalled "O LyX ${APP_SERIES_KEY2} já está instalado!$\r$\n\
${LangFileString} AlreadyInstalled "O LyX ${APP_VERSION} já está instalado!$\r$\n\
Não é recomendado instalar sobre uma instalação existente se a versão já instalada$\r$\n\
for uma versão de teste ou se houver algum problema com a instalação existente do LyX.$\r$\n\
Nesses casos é melhor reinstalar o LyX.$\r$\n\
Deseja instalar sobre a versão existente mesmo assim?"
${LangFileString} NewerInstalled "A versão que você está tentando instalar é mais antiga que aquela que já está instalada.$\r$\n\
Se isso for realmente o que deseja, primeiro desinstale o LyX $OldVersionNumber."
Se isso for realmente o que deseja, primeiro desinstale o LyX $R9."
${LangFileString} MultipleIndexesNotAvailable "O suporte a documentos com múltiplos índices não estará disponível porque$\r$\n\
o MiKTeX foi instalado com privilégios de administrador mas você está instalando o LyX sem esses privilégios."
@ -113,9 +113,9 @@ ${LangFileString} UnLyXPreferencesTitle 'Preferências de usuário do LyX'
${LangFileString} SecUnMiKTeXDescription "Desinstala a distribuição LaTeX MiKTeX."
#${LangFileString} SecUnJabRefDescription "Desinstala o gerenciador de referências bibliográficas JabRef."
${LangFileString} SecUnPreferencesDescription 'Exclui a configuração do LyX$\r$\n\
(pasta $\"$AppPre\username\$\r$\n\
$AppSuff\$\r$\n\
${APP_DIR_USERDATA}$\")$\r$\n\
(pasta $\"$R9\username\$\r$\n\
$R8\$\r$\n\
LyX${VERSION_MAJOR}.${VERSION_MINOR}$\")$\r$\n\
para você ou para todos os usuários (se você for um administrador)).'
${LangFileString} SecUnProgramFilesDescription "Desinstalar o LyX e todos os seus componentes."

View File

@ -7,7 +7,7 @@ ${LangFileString} TEXT_WELCOME "Acest asistent vă va ghida în procesul de inst
$_CLICK"
#${LangFileString} TEXT_CONFIGURE_MIKTEXFNDB "Updating MiKTeX filename database..."
${LangFileString} TEXT_CONFIGURE_LYX "Configuring LyX ($LaTeXInstalled may download missing packages, this can take some time) ..."
${LangFileString} TEXT_CONFIGURE_LYX "Configuring LyX ($R9 may download missing packages, this can take some time) ..."
${LangFileString} TEXT_CONFIGURE_PYTHON "Compiling Python scripts..."
${LangFileString} TEXT_FINISH_DESKTOP "Create desktop shortcut"
@ -33,15 +33,15 @@ ${LangFileString} SecThesaurusDescription "Thesaurus dictionaries that can be do
${LangFileString} EnterLaTeXHeader1 'Distribuţia LaTeX'
${LangFileString} EnterLaTeXHeader2 'Setează distribuţia LaTeX pe care să o folosească LyX.'
${LangFileString} EnterLaTeXFolder 'Opţional puteţi seta calea către fişierul $\"latex.exe$\" şi, implicit, seta distribuţia \
LaTeX pe care să o folosească LyX.\r\n\
Dacă nu folosiţi LaTeX, LyX nu va putea să producă fişiere!\r\n\
\r\n\
LaTeX pe care să o folosească LyX.$\r$\n\
Dacă nu folosiţi LaTeX, LyX nu va putea să producă fişiere!$\r$\n\
$\r$\n\
Programul de instalare a detectat distribuţia LaTeX \
$\"$LaTeXName$\" instalată pe calculatorul dumneavoastră. Dedesupt este afişată calea acestei distribuţii.'
$\"$R9$\" instalată pe calculatorul dumneavoastră. Dedesupt este afişată calea acestei distribuţii.'
${LangFileString} EnterLaTeXFolderNone 'Setaţi calea către fişierul $\"latex.exe$\" şi, implicit, seta distribuţia \
LaTeX pe care să o folosească LyX.\r\n\
Dacă nu folosiţi LaTeX, LyX nu va putea să producă fişiere!\r\n\
\r\n\
LaTeX pe care să o folosească LyX.$\r$\n\
Dacă nu folosiţi LaTeX, LyX nu va putea să producă fişiere!$\r$\n\
$\r$\n\
Programul de instalare nu a detectat nici o distribuţia LaTeX instalată pe calculatorul dumneavoastră.'
${LangFileString} PathName 'Calea către fişierul $\"latex.exe$\"'
@ -56,8 +56,8 @@ ${LangFileString} LatexError1 'Nu am detectat nici o distribuţia LaTeX instalat
LyX nu poate fi folosit fără o distribuţia LaTeX ca $\"MiKTeX$\"!$\r$\n\
Instalarea va fi abandonată.'
${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R3$\" failed.'
${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R3$\" failed.'
${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R9$\" failed.'
${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R9$\" failed.'
#${LangFileString} JabRefInfo 'Acum va fi lansat programul de instalare al aplicaţiei $\"JabRef$\".$\r$\n\
# Este indicat să folosiţi setările implicite ale programului de instalat JabRef.'
@ -80,13 +80,13 @@ ${LangFileString} ModifyingConfigureFailed "Nu am putut seta 'path_prefix' în p
#${LangFileString} RunConfigureFailed "Nu am putut executa scriptul de configurare"
${LangFileString} NotAdmin "Trebuie să aveţi drepturi de administrator pentru instalarea programului LyX!"
${LangFileString} InstallRunning "Programul de instalare este deja pornit!"
${LangFileString} AlreadyInstalled "LyX ${APP_SERIES_KEY2} este deja instalat!$\r$\n\
${LangFileString} AlreadyInstalled "LyX ${APP_VERSION} este deja instalat!$\r$\n\
Installing over existing installations is not recommended if the installed version$\r$\n\
is a test release or if you have problems with your existing LyX installation.$\r$\n\
In these cases better reinstall LyX.$\r$\n\
Dou you nevertheles want to install LyX over the existing version?"
${LangFileString} NewerInstalled "You are trying to install an older version of LyX than what you have installed.$\r$\n\
If you really want this, you must uninstall the existing LyX $OldVersionNumber before."
If you really want this, you must uninstall the existing LyX $R9 before."
${LangFileString} MultipleIndexesNotAvailable "The support for using several indexes in a document will not be available because$\r$\n\
MiKTeX was installed with administrator privileges but you are installing LyX without them."
@ -106,9 +106,9 @@ ${LangFileString} UnLyXPreferencesTitle 'Preferinţele utilizatorului pentru LyX
${LangFileString} SecUnMiKTeXDescription 'Dezinstalează Distribuţia LaTeX $\"MiKTeX$\".'
#${LangFileString} SecUnJabRefDescription "Dezinstalează gestionarul de bibliografie JabRef."
${LangFileString} SecUnPreferencesDescription 'Şterge directorul cu setările LyX$\r$\n\
$\"$AppPre\username\$\r$\n\
$AppSuff\$\r$\n\
${APP_DIR_USERDATA}$\")$\r$\n\
$\"$R9\username\$\r$\n\
$R8\$\r$\n\
LyX${VERSION_MAJOR}.${VERSION_MINOR}$\")$\r$\n\
pentru toţi utilizatorii.'
${LangFileString} SecUnProgramFilesDescription "Dezinstalaţi programul LyX şi toate componentele lui."

View File

@ -13,7 +13,7 @@ ${LangFileString} TEXT_WELCOME "Этот мастер проведет вас ч
$_CLICK"
#${LangFileString} TEXT_CONFIGURE_MIKTEXFNDB "Обновление базы имен файлов MiKTeX..."
${LangFileString} TEXT_CONFIGURE_LYX "Конфигурирование LyX ($LaTeXInstalled может скачать недостающие пакеты, это может занять некоторое время) ..."
${LangFileString} TEXT_CONFIGURE_LYX "Конфигурирование LyX ($R9 может скачать недостающие пакеты, это может занять некоторое время) ..."
${LangFileString} TEXT_CONFIGURE_PYTHON "Компиляция скриптов Python..."
${LangFileString} TEXT_FINISH_DESKTOP "Создать ярлык на рабочем столе"
@ -39,15 +39,15 @@ ${LangFileString} SecThesaurusDescription "Словари тезауруса, к
${LangFileString} EnterLaTeXHeader1 'Дистрибутив LaTeX'
${LangFileString} EnterLaTeXHeader2 'Укажите дистрибутив LaTeX, который будет использоваться LyX.'
${LangFileString} EnterLaTeXFolder 'При необходимости здесь можно задать путь к файлу $\"latex.exe$\" и тем самым \
указать используемый дистрибутив LaTeX.\r\n\
Если вы не используете LaTeX, то LyX не сможет выводить документы!\r\n\
\r\n\
указать используемый дистрибутив LaTeX.$\r$\n\
Если вы не используете LaTeX, то LyX не сможет выводить документы!$\r$\n\
$\r$\n\
Установщик обнаружил дистрибутив LaTeX \
$\"$LaTeXName$\" в вашей системе. Ниже показан его путь.'
$\"$R9$\" в вашей системе. Ниже показан его путь.'
${LangFileString} EnterLaTeXFolderNone 'Задайте ниже путь к файлу $\"latex.exe$\". Этим вы укажете, какой \
дистрибутив LaTeX будет использоваться LyX.\r\n\
Если вы не используете LaTeX, то LyX не сможет выводить документы!\r\n\
\r\n\
дистрибутив LaTeX будет использоваться LyX.$\r$\n\
Если вы не используете LaTeX, то LyX не сможет выводить документы!$\r$\n\
$\r$\n\
Установщику не удалось найти дистрибутив LaTeX в вашей системе.'
${LangFileString} PathName 'Путь к файлу $\"latex.exe$\"'
${LangFileString} DontUseLaTeX "Не использовать LaTeX"
@ -61,8 +61,8 @@ ${LangFileString} LatexError1 'Дистрибутив LaTeX не найден!$\
LyX не может быть использован без дистрибутива LaTeX, такого как $\"MiKTeX$\"!$\r$\n\
Поэтому установка будет прервана.'
${LangFileString} HunspellFailed 'Не удалось загрузить словарь для языка $\"$R3$\".'
${LangFileString} ThesaurusFailed 'Не удалось загрузить тезаурус для языка $\"$R3$\".'
${LangFileString} HunspellFailed 'Не удалось загрузить словарь для языка $\"$R9$\".'
${LangFileString} ThesaurusFailed 'Не удалось загрузить тезаурус для языка $\"$R9$\".'
#${LangFileString} JabRefInfo 'Теперь будет запущен установщик программы $\"JabRef$\".$\r$\n\
# Вы можете использовать все параметры по умолчанию установщика JabRef.'
@ -84,13 +84,13 @@ ${LangFileString} MiKTeXInfo 'Дистрибутив LaTeX $\"MiKTeX$\" буде
${LangFileString} ModifyingConfigureFailed "Не удалось установить 'path_prefix' в сценарии настройки"
#${LangFileString} RunConfigureFailed "Не удалось выполнить сценарий настройки"
${LangFileString} InstallRunning "Установщик уже запущен!"
${LangFileString} AlreadyInstalled "LyX ${APP_SERIES_KEY2} уже установлен!$\r$\n\
${LangFileString} AlreadyInstalled "LyX ${APP_VERSION} уже установлен!$\r$\n\
Установка поверх существующих установок не рекомендуется, если установленная версия$\r$\n\
является тестовым выпуском или у вас возникли проблемы с существующей установкой LyX.$\r$\n\
В этих случаях лучше переустановить LyX.$\r$\n\
Вы все равно хотите установить LyX поверх существующей версии?"
${LangFileString} NewerInstalled "Вы пытаетесь установить более старую версию LyX, чем уже установленная.$\r$\n\
Если вы действительно хотите этого, то сначала необходимо удалить существующий LyX $OldVersionNumber."
Если вы действительно хотите этого, то сначала необходимо удалить существующий LyX $R9."
${LangFileString} MultipleIndexesNotAvailable "Поддержка использования нескольких индексов в документе будет недоступна, поскольку$\r$\n\
MiKTeX был установлен с правами администратора, а LyX вы устанавливаете без них."
@ -110,9 +110,9 @@ ${LangFileString} UnLyXPreferencesTitle 'Пользовательские нас
${LangFileString} SecUnMiKTeXDescription "Удалить дистрибутив MiKTeX."
#${LangFileString} SecUnJabRefDescription "Удалить менеджер библиографических ссылок JabRef."
${LangFileString} SecUnPreferencesDescription 'Удалить настройки LyX$\r$\n\
(каталог $\"$AppPre\username\$\r$\n\
$AppSuff\$\r$\n\
${APP_DIR_USERDATA}$\")$\r$\n\
(каталог $\"$R9\username\$\r$\n\
$R8\$\r$\n\
LyX${VERSION_MAJOR}.${VERSION_MINOR}$\")$\r$\n\
для вас или для всех пользователей (если вы администратор).'
${LangFileString} SecUnProgramFilesDescription "Удалить LyX и все его компоненты."

View File

@ -13,7 +13,7 @@ ${LangFileString} TEXT_WELCOME "Tento sprievodca Vám pomáha inštalovať LyX.$
$_CLICK"
#${LangFileString} TEXT_CONFIGURE_MIKTEXFNDB "Aktualizácia MiKTeX-databázy súborových mien..."
${LangFileString} TEXT_CONFIGURE_LYX "Konfigurácia LyXu ($LaTeXInstalled môže načítať chýbajúce balíky, to môže trochu trvať) ..."
${LangFileString} TEXT_CONFIGURE_LYX "Konfigurácia LyXu ($R9 môže načítať chýbajúce balíky, to môže trochu trvať) ..."
${LangFileString} TEXT_CONFIGURE_PYTHON "Kompilácia Python skriptov..."
${LangFileString} TEXT_FINISH_DESKTOP "Vytvoriť skratku pre pracovnú plochu"
@ -39,15 +39,15 @@ ${LangFileString} SecThesaurusDescription "Slovníky tezaura ktoré možno nač
${LangFileString} EnterLaTeXHeader1 'LaTeX distribúcia'
${LangFileString} EnterLaTeXHeader2 'Určite LaTeX distribúciu, ktorú má LyX používať.'
${LangFileString} EnterLaTeXFolder 'Tu môžte nastaviť cestu k $\"latex.exe$\" a tým nastaviť \
LaTeX-distribúciu, ktorá by mala byť používaná LyXom.\r\n\
Bez LaTeXu, LyX nedokáže produkovať dokumenty!\r\n\
\r\n\
LaTeX-distribúciu, ktorá by mala byť používaná LyXom.$\r$\n\
Bez LaTeXu, LyX nedokáže produkovať dokumenty!$\r$\n\
$\r$\n\
Inštalatér objavil LaTeX-distribúciu \
$\"$LaTeXName$\" na vašom systéme. Dolu je zobrazená jeho cesta.'
$\"$R9$\" na vašom systéme. Dolu je zobrazená jeho cesta.'
${LangFileString} EnterLaTeXFolderNone 'Nastavte dolu cestu k $\"latex.exe$\". Tým nastavíte, ktorá \
LaTeX-distribúcia má byť používaná LyXom.\r\n\
Bez LaTeXu LyX nedokáže produkovať dokumenty!\r\n\
\r\n\
LaTeX-distribúcia má byť používaná LyXom.$\r$\n\
Bez LaTeXu LyX nedokáže produkovať dokumenty!$\r$\n\
$\r$\n\
Inštalatér nemohol nájsť LaTeX-distribúciu na vašom systéme.'
${LangFileString} PathName 'Cesta na súbor $\"latex.exe$\"'
${LangFileString} DontUseLaTeX "Nepoužiť LaTeX"
@ -62,8 +62,8 @@ ${LangFileString} LatexError1 'Nenašla sa žiadna LaTeX-distribúcia!$\r$\n\
LyX sa nemôže užívať bez LaTeX distribúcie ako napríklad $\"MiKTeX$\"!$\r$\n\
Inštalácia sa preto zrušuje.'
${LangFileString} HunspellFailed 'Načítanie slovníka pre jazyk $\"$R3$\" zlyhalo.'
${LangFileString} ThesaurusFailed 'Načítanie tezaura pre jazyk $\"$R3$\" zlyhalo.'
${LangFileString} HunspellFailed 'Načítanie slovníka pre jazyk $\"$R9$\" zlyhalo.'
${LangFileString} ThesaurusFailed 'Načítanie tezaura pre jazyk $\"$R9$\" zlyhalo.'
#${LangFileString} JabRefInfo 'Teraz sa štartuje inštalatér programu $\"JabRef$\".$\r$\n\
# Môžte použiť všetky štandardné možnosti inštalatéra JabRef.'
@ -86,13 +86,13 @@ ${LangFileString} ModifyingConfigureFailed "Nedal sa nastaviť 'path_prefix' v k
#${LangFileString} RunConfigureFailed "Nedal sa spustiť konfiguračný skript"
${LangFileString} NotAdmin "Pre inštaláciu LyXu potrebujete administrátorské práva!"
${LangFileString} InstallRunning "Inštalačný program už beží!"
${LangFileString} AlreadyInstalled "LyX ${APP_SERIES_KEY2} je už inštalovaný!$\r$\n\
${LangFileString} AlreadyInstalled "LyX ${APP_VERSION} je už inštalovaný!$\r$\n\
Inštalovať ponad existujúce inštalácie sa nedoporučuje keď inštalovaná verzia$\r$\n\
je testovné vydanie alebo keď máte problémy s existujúcou inštaláciou.$\r$\n\
V takýchto prípadoch je lepšie reinštalovať LyX.$\r$\n\
Napriek tomu chcete inštalovať LyX ponad existujúcu verziu?"
${LangFileString} NewerInstalled "Pokúšate sa inštalovať verziu LyXu ktorá je staršia ako tá ktorá je inštalovaná.$\r$\n\
Keď to naozaj chcete, odinštalujte najprv existujúci LyX $OldVersionNumber."
Keď to naozaj chcete, odinštalujte najprv existujúci LyX $R9."
${LangFileString} MultipleIndexesNotAvailable "Podpora používania viacerých indexov v dokumente nebude dostupná, lebo\r$\n\
MiKTeX bol inštalovaný pod administrátorskými právami a vy inštalujete LyX bez nich."
@ -112,9 +112,9 @@ ${LangFileString} UnLyXPreferencesTitle 'LyXove užívateľské nastavenia'
${LangFileString} SecUnMiKTeXDescription "Odinštaluje LaTeX-distribúciu MiKTeX."
#${LangFileString} SecUnJabRefDescription "Odinštaluje manažéra bibliografie JabRef."
${LangFileString} SecUnPreferencesDescription 'Odstráni konfiguračný adresár LyXu $\r$\n\
$\"$AppPre\username\$\r$\n\
$AppSuff\$\r$\n\
${APP_DIR_USERDATA}$\")$\r$\n\
$\"$R9\username\$\r$\n\
$R8\$\r$\n\
LyX${VERSION_MAJOR}.${VERSION_MINOR}$\")$\r$\n\
pre všetkých užívateľov (keď máte administrátorské práva).'
${LangFileString} SecUnProgramFilesDescription "Odinštaluj LyX a všetky jeho súčiastky."

View File

@ -13,7 +13,7 @@ ${LangFileString} TEXT_WELCOME "Este programa instalará LyX en su ordenador.$\r
$_CLICK"
#${LangFileString} TEXT_CONFIGURE_MIKTEXFNDB "Actualizando la base de datos de nombre de archivo MiKTeX..."
${LangFileString} TEXT_CONFIGURE_LYX "Configurando LyX ($LaTeXInstalled podría descargar paquetes faltantes, lo que puede tardar un tiempo) ..."
${LangFileString} TEXT_CONFIGURE_LYX "Configurando LyX ($R9 podría descargar paquetes faltantes, lo que puede tardar un tiempo) ..."
${LangFileString} TEXT_CONFIGURE_PYTHON "Compilando guiones Python..."
${LangFileString} TEXT_FINISH_DESKTOP "Crear acceso directo en el escritorio"
@ -39,15 +39,15 @@ ${LangFileString} SecThesaurusDescription "Diccionarios de sinónimos que se pue
${LangFileString} EnterLaTeXHeader1 'Distribución LaTeX'
${LangFileString} EnterLaTeXHeader2 'Elija la distribución de LaTeX que debería emplear LyX.'
${LangFileString} EnterLaTeXFolder 'Opcionalmente puede especificar la ruta del fichero $\"latex.exe$\" y posteriormente \
elegir la distribución de LaTeX que va usar LyX.\r\n\
¡Sin LaTeX LyX no puede (pre)imprimir documentos!\r\n\
\r\n\
El instalador ha detectado la distribución de LaTeX $\"$LaTeXName$\" \
elegir la distribución de LaTeX que va usar LyX.$\r$\n\
¡Sin LaTeX LyX no puede (pre)imprimir documentos!$\r$\n\
$\r$\n\
El instalador ha detectado la distribución de LaTeX $\"$R9$\" \
en su sistema, en la ruta que se muestra abajo.'
${LangFileString} EnterLaTeXFolderNone 'Especifique abajo la ruta al fichero $\"latex.exe$\". Posteriormente elija \
la distribución de LaTeX que debe usar LyX.\r\n\
¡Sin LaTeX LyX no puede (pre)imprimir documentos!\r\n\
\r\n\
la distribución de LaTeX que debe usar LyX.$\r$\n\
¡Sin LaTeX LyX no puede (pre)imprimir documentos!$\r$\n\
$\r$\n\
El instalador no pudo encontrar ninguna distribución LaTeX en su sistema.'
${LangFileString} PathName 'Ruta al fichero $\"latex.exe$\"'
${LangFileString} DontUseLaTeX "No usar LaTeX"
@ -61,8 +61,8 @@ ${LangFileString} LatexError1 '¡No se ha encontrado ninguna distribución de La
¡LyX no funciona sin una distribución de LaTeX como $\"MiKTeX$\"!$\r$\n\
Por lo tanto la instalación se abortará.'
${LangFileString} HunspellFailed 'La descarga del diccionario para el idioma $\"$R3$\" ha fallado.'
${LangFileString} ThesaurusFailed 'La descarga del diccionario de sinónimos para el idioma $\"$R3$\" ha fallado.'
${LangFileString} HunspellFailed 'La descarga del diccionario para el idioma $\"$R9$\" ha fallado.'
${LangFileString} ThesaurusFailed 'La descarga del diccionario de sinónimos para el idioma $\"$R9$\" ha fallado.'
#${LangFileString} JabRefInfo 'Ahora se lanzará el instalador del programa $\"JabRef$\".$\r$\n\
# Puede utilizar todas las opciones por omisión del instalador de JabRef.'
@ -85,13 +85,13 @@ ${LangFileString} ModifyingConfigureFailed "Error al intentar añadir 'path_pref
#${LangFileString} RunConfigureFailed "Error al intentar ejecutar el programa de configuración"
${LangFileString} NotAdmin "Necesita privilegios de administrador para instalar LyX!"
${LangFileString} InstallRunning "El instalador ya está siendo ejecutado!"
${LangFileString} AlreadyInstalled "¡LyX ${APP_SERIES_KEY2} ya está instalado!$\r$\n\
${LangFileString} AlreadyInstalled "¡LyX ${APP_VERSION} ya está instalado!$\r$\n\
Se recomienda no instalar sobre una instalación existente$\r$\n\
si la versión instalada es de prueba o da problemas.$\r$\n\
En estos casos es mejor reinstalar LyX.$\r$\n\
Aún así, ¿quiere instalar LyX sobre la versión existente?"
${LangFileString} NewerInstalled "Está tratando de instalar una versión de LyX más antigua que la que tiene instalada.$\r$\n\
Si realmente lo desea, debe desinstalar antes la versión de LyX instalada $OldVersionNumber."
Si realmente lo desea, debe desinstalar antes la versión de LyX instalada $R9."
${LangFileString} MultipleIndexesNotAvailable "El soporte para el uso de varios índices en un documento no estará disponible porque$\r$\n\
MiKTeX se instaló con privilegios de administrador pero LyX se está instalando ahora sin ellos."
@ -111,9 +111,9 @@ ${LangFileString} UnLyXPreferencesTitle 'Preferencias de usuario de LyX'
${LangFileString} SecUnMiKTeXDescription "Desinstala la distribución de LaTeX MiKTeX."
#${LangFileString} SecUnJabRefDescription "Desinstala el administrador de referencias bibliográficas JabRef."
${LangFileString} SecUnPreferencesDescription 'Elimina las carpetas de configuración de LyX$\r$\n\
$\"$AppPre\username\$\r$\n\
$AppSuff\$\r$\n\
${APP_DIR_USERDATA}$\")$\r$\n\
$\"$R9\username\$\r$\n\
$R8\$\r$\n\
LyX${VERSION_MAJOR}.${VERSION_MINOR}$\")$\r$\n\
de todos los usuarios.'
${LangFileString} SecUnProgramFilesDescription "Desinstala LyX y todos sus componentes."

View File

@ -7,7 +7,7 @@ ${LangFileString} TEXT_WELCOME "Denna guide tar dig igenom installationen av $(^
$_CLICK"
#${LangFileString} TEXT_CONFIGURE_MIKTEXFNDB "Uppdaterar MiKTeX filnamnsdatabas..."
${LangFileString} TEXT_CONFIGURE_LYX "Konfigurerar LyX ($LaTeXInstalled kanske laddar ned paket som saknas, detta kan ta lite tid) ..."
${LangFileString} TEXT_CONFIGURE_LYX "Konfigurerar LyX ($R9 kanske laddar ned paket som saknas, detta kan ta lite tid) ..."
${LangFileString} TEXT_CONFIGURE_PYTHON "Kompilerar Pythonskript..."
${LangFileString} TEXT_FINISH_DESKTOP "Skapa skrivbordsgenväg"
@ -33,15 +33,15 @@ ${LangFileString} SecThesaurusDescription "Synonymordböcker som kan laddas ned
${LangFileString} EnterLaTeXHeader1 'LaTeX-distribution'
${LangFileString} EnterLaTeXHeader2 'Ställ in LaTeX-distributionen som LyX skall använda.'
${LangFileString} EnterLaTeXFolder 'Alternativt kan du ställa in sökvägen till filen $\"latex.exe$\" här och därmed bestämma vilken \
LaTeX-distribution som skall användas av LyX.\r\n\
Om du inte använder LaTeX kan LyX inte mata ut dokument!\r\n\
\r\n\
LaTeX-distribution som skall användas av LyX.$\r$\n\
Om du inte använder LaTeX kan LyX inte mata ut dokument!$\r$\n\
$\r$\n\
Installationsprogrammet har upptäckt LaTeX-distributionen \
$\"$LaTeXName$\" i ditt system. Nedan visas dess sökväg.'
$\"$R9$\" i ditt system. Nedan visas dess sökväg.'
${LangFileString} EnterLaTeXFolderNone 'Sätt sökvägen till filen $\"latex.exe$\". Därmed väljer du vilken \
LaTeX-distribution som skall användas av LyX.\r\n\
Om du inte använder LaTeX kan LyX inte mata ut dokument!\r\n\
\r\n\
LaTeX-distribution som skall användas av LyX.$\r$\n\
Om du inte använder LaTeX kan LyX inte mata ut dokument!$\r$\n\
$\r$\n\
Installationsprogrammet kunde inte hitta LaTeX-distributionen i ditt system.'
${LangFileString} PathName 'Sökväg till filen $\"latex.exe$\"'
${LangFileString} DontUseLaTeX "Använd inte LaTeX"
@ -55,8 +55,8 @@ ${LangFileString} LatexError1 'Ingen LaTeX-distribution kunde hittas!$\r$\n\
LyX kan inte användas utan en LaTeX-distribution som $\"MiKTeX$\"!$\r$\n\
Installationen kommer därför att avbrytas.'
${LangFileString} HunspellFailed 'Nedladdning av ordbok för språk $\"$R3$\" misslyckades.'
${LangFileString} ThesaurusFailed 'Nedladdning av synonymordbok för språk $\"$R3$\" misslyckades.'
${LangFileString} HunspellFailed 'Nedladdning av ordbok för språk $\"$R9$\" misslyckades.'
${LangFileString} ThesaurusFailed 'Nedladdning av synonymordbok för språk $\"$R9$\" misslyckades.'
#${LangFileString} JabRefInfo 'Nu kommer installationsprogrammet för $\"JabRef$\" att köras.$\r$\n\
# Du kan använda alla standardinställningar i installationsprogrammet för JabRef.'
@ -79,13 +79,13 @@ ${LangFileString} ModifyingConfigureFailed "Kunde inte sätta 'path_prefix' i ko
#${LangFileString} RunConfigureFailed "Kunde inte köra konfigurationsskriptet"
${LangFileString} NotAdmin "Du måste ha administratörsrättigheter för att installera LyX!"
${LangFileString} InstallRunning "Installationsprogrammet körs redan!"
${LangFileString} AlreadyInstalled "LyX ${APP_SERIES_KEY2} är redan installerad!$\r$\n\
${LangFileString} AlreadyInstalled "LyX ${APP_VERSION} är redan installerad!$\r$\n\
Att installera över en nuvarande installation är inte rekommenderat om den installerade$\r$\n\
versionen är en testutgåva eller om du har problem med din nuvarande LyX-installation.$\r$\n\
I dessa fall är det bättre att ominstallera LyX.$\r$\n\
Vill du ändå installera LyX över den nuvarande versionen?"
${LangFileString} NewerInstalled "Du försöker att installera en äldre version av LyX än vad du har installerad.$\r$\n\
Om du verkligen vill detta måste du avinstallera den befintliga LyX $OldVersionNumber innan."
Om du verkligen vill detta måste du avinstallera den befintliga LyX $R9 innan."
${LangFileString} MultipleIndexesNotAvailable "Stödet för att använda flera index i ett dokument kommer inte vara tillgängligt eftersom$\r$\n\
MiKTeX installerades med administratörrättigheter men du installerar LyX utan dem."
@ -105,9 +105,9 @@ ${LangFileString} UnLyXPreferencesTitle 'LyX-användarinställningar'
${LangFileString} SecUnMiKTeXDescription "Avinstallerar LaTeX-distributionen MiKTeX."
#${LangFileString} SecUnJabRefDescription "Avinstallerar bibliografihanteraren JabRef."
${LangFileString} SecUnPreferencesDescription 'Raderar LyX-konfiguration$\r$\n\
(katalog $\"$AppPre\username\$\r$\n\
$AppSuff\$\r$\n\
${APP_DIR_USERDATA}$\")$\r$\n\
(katalog $\"$R9\username\$\r$\n\
$R8\$\r$\n\
LyX${VERSION_MAJOR}.${VERSION_MINOR}$\")$\r$\n\
för dig eller för alla användare (om du är admin).'
${LangFileString} SecUnProgramFilesDescription "Avinstallera LyX och alla dess komponenter."

View File

@ -7,7 +7,7 @@ ${LangFileString} TEXT_WELCOME "Bu sihirbaz size LyX programını kuracak.$\r$\n
$_CLICK"
#${LangFileString} TEXT_CONFIGURE_MIKTEXFNDB "Updating MiKTeX filename database..."
${LangFileString} TEXT_CONFIGURE_LYX "Configuring LyX ($LaTeXInstalled may download missing packages, this can take some time) ..."
${LangFileString} TEXT_CONFIGURE_LYX "Configuring LyX ($R9 may download missing packages, this can take some time) ..."
${LangFileString} TEXT_CONFIGURE_PYTHON "Compiling Python scripts..."
${LangFileString} TEXT_FINISH_DESKTOP "Create desktop shortcut"
@ -33,15 +33,15 @@ ${LangFileString} SecThesaurusDescription "Thesaurus dictionaries that can be do
${LangFileString} EnterLaTeXHeader1 'LaTeX-dağıtımı'
${LangFileString} EnterLaTeXHeader2 'LyX in kullanacağı LaTeX dağıtımını seçin.'
${LangFileString} EnterLaTeXFolder 'You can optionally set here the path to the file $\"latex.exe$\" and therewith set the \
LaTeX-distribution that should be used by LyX.\r\n\
If you don$\'t use LaTeX, LyX cannot output documents!\r\n\
\r\n\
LaTeX-distribution that should be used by LyX.$\r$\n\
If you don$\'t use LaTeX, LyX cannot output documents!$\r$\n\
$\r$\n\
The installer has detected the LaTeX-distribution \
$\"$LaTeXName$\" on your system. Displayed below is its path.'
$\"$R9$\" on your system. Displayed below is its path.'
${LangFileString} EnterLaTeXFolderNone 'Set below the path to the file $\"latex.exe$\". Therewith you set which \
LaTeX-distribution should be used by LyX.\r\n\
If you don$\'t use LaTeX, LyX cannot output documents!\r\n\
\r\n\
LaTeX-distribution should be used by LyX.$\r$\n\
If you don$\'t use LaTeX, LyX cannot output documents!$\r$\n\
$\r$\n\
The installer couldn$\'t find a LaTeX-distribution on your system.'
${LangFileString} PathName 'Path to the file $\"latex.exe$\"'
${LangFileString} DontUseLaTeX "LaTeX kullanma"
@ -55,8 +55,8 @@ ${LangFileString} LatexError1 'Hiç bir LaTeX dağıtımı bulunamadı!$\r$\n\
LyX $\"MiKTeX$\" gibi bir LaTeX dağıtımı olmadan kullanılamaz!$\r$\n\
Bu nedenle kurulum iptal edilecek.'
${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R3$\" failed.'
${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R3$\" failed.'
${LangFileString} HunspellFailed 'Download of dictionary for language $\"$R9$\" failed.'
${LangFileString} ThesaurusFailed 'Download of thesaurus for language $\"$R9$\" failed.'
#${LangFileString} JabRefInfo 'Now the installer of the program $\"JabRef$\" will be launched.$\r$\n\
# You can use all default options of the JabRef-installer.'
@ -79,13 +79,13 @@ ${LangFileString} ModifyingConfigureFailed "Yapılandırma programında 'path_pr
#${LangFileString} RunConfigureFailed "Yapılandırma programı çalıştırılamadı"
${LangFileString} NotAdmin "LyX kurabilmek için yönetici yetkileri gerekiyor!"
${LangFileString} InstallRunning "Kurulum programı zaten çalışıyor!"
${LangFileString} AlreadyInstalled "LyX ${APP_SERIES_KEY2} kurulu zaten!$\r$\n\
${LangFileString} AlreadyInstalled "LyX ${APP_VERSION} kurulu zaten!$\r$\n\
Installing over existing installations is not recommended if the installed version$\r$\n\
is a test release or if you have problems with your existing LyX installation.$\r$\n\
In these cases better reinstall LyX.$\r$\n\
Dou you nevertheles want to install LyX over the existing version?"
${LangFileString} NewerInstalled "You are trying to install an older version of LyX than what you have installed.$\r$\n\
If you really want this, you must uninstall the existing LyX $OldVersionNumber before."
If you really want this, you must uninstall the existing LyX $R9 before."
${LangFileString} MultipleIndexesNotAvailable "The support for using several indexes in a document will not be available because$\r$\n\
MiKTeX was installed with administrator privileges but you are installing LyX without them."
@ -105,9 +105,9 @@ ${LangFileString} UnLyXPreferencesTitle 'LyX$\'s user preferences'
${LangFileString} SecUnMiKTeXDescription "Uninstalls the LaTeX-distribution MiKTeX."
#${LangFileString} SecUnJabRefDescription "Uninstalls the bibliography manager JabRef."
${LangFileString} SecUnPreferencesDescription 'Deletes LyX$\'s configuration folder$\r$\n\
$\"$AppPre\username\$\r$\n\
$AppSuff\$\r$\n\
${APP_DIR_USERDATA}$\")$\r$\n\
$\"$R9\username\$\r$\n\
$R8\$\r$\n\
LyX${VERSION_MAJOR}.${VERSION_MINOR}$\")$\r$\n\
for all users.'
${LangFileString} SecUnProgramFilesDescription "Uninstall LyX and all of its components."

View File

@ -13,7 +13,7 @@ ${LangFileString} TEXT_WELCOME "За допомогою цього майстр
$_CLICK"
#${LangFileString} TEXT_CONFIGURE_MIKTEXFNDB "Оновлення бази даних назв файлів MiKTeX..."
${LangFileString} TEXT_CONFIGURE_LYX "Налаштовування LyX (може виникнути потреба у отриманні $LaTeXInstalled додаткових пакунків, зачекайте)..."
${LangFileString} TEXT_CONFIGURE_LYX "Налаштовування LyX (може виникнути потреба у отриманні $R9 додаткових пакунків, зачекайте)..."
${LangFileString} TEXT_CONFIGURE_PYTHON "Обробка скриптів Python..."
${LangFileString} TEXT_FINISH_DESKTOP "Створити значок на стільниці"
@ -39,15 +39,15 @@ ${LangFileString} SecThesaurusDescription "Словники синонімів,
${LangFileString} EnterLaTeXHeader1 'Дистрибутив LaTeX'
${LangFileString} EnterLaTeXHeader2 'Вкажіть дистрибутив LaTeX, який має використовувати LyX.'
${LangFileString} EnterLaTeXFolder 'Крім того, ви можете встановити тут розташування файла $\"latex.exe$\" і таким чином \
встановити дистрибутив LaTeX, який має бути використано LyX.\r\n\
Якщо ви не використовуватимете LaTeX, LyX не зможе створювати документів!\r\n\
\r\n\
встановити дистрибутив LaTeX, який має бути використано LyX.$\r$\n\
Якщо ви не використовуватимете LaTeX, LyX не зможе створювати документів!$\r$\n\
$\r$\n\
Засобу встановлення програми вдалося виявити дистрибутив LaTeX \
$\"$LaTeXName$\" у вашій системі. Нижче показано його розташування.'
$\"$R9$\" у вашій системі. Нижче показано його розташування.'
${LangFileString} EnterLaTeXFolderNone 'Нижче ви маєте встановити розташування файла $\"latex.exe$\". Таким чином, ви встановите \
дистрибутив LaTeX, який слід використовувати у LyX.\r\n\
Якщо ви не використовуватимете LaTeX, LyX не зможе створювати документів!\r\n\
\r\n\
дистрибутив LaTeX, який слід використовувати у LyX.$\r$\n\
Якщо ви не використовуватимете LaTeX, LyX не зможе створювати документів!$\r$\n\
$\r$\n\
Засобу встановлення не вдалося виявити дистрибутива LaTeX у вашій системі.'
${LangFileString} PathName 'Розташування файла $\"latex.exe$\"'
${LangFileString} DontUseLaTeX "Не використовувати LaTeX"
@ -61,8 +61,8 @@ ${LangFileString} LatexError1 'Дистрибутивів LaTeX не виявл
Ви не зможете користуватися LyX без дистрибутива LaTeX на зразок $\"MiKTeX$\"!$\r$\n\
З цієї причини встановлення буде припинено.'
${LangFileString} HunspellFailed 'Спроба отримання словника для мови $\"$R3$\" зазнала невдачі.'
${LangFileString} ThesaurusFailed 'Спроба отримання словника синонімів для мови $\"$R3$\" зазнала невдачі.'
${LangFileString} HunspellFailed 'Спроба отримання словника для мови $\"$R9$\" зазнала невдачі.'
${LangFileString} ThesaurusFailed 'Спроба отримання словника синонімів для мови $\"$R9$\" зазнала невдачі.'
#${LangFileString} JabRefInfo 'Тепер буде запущено засіб для встановлення програми $\"JabRef$\".$\r$\n\
# У засобі для встановлення ви можете не змінювати типових параметрів JabRef.'
@ -85,13 +85,13 @@ ${LangFileString} ModifyingConfigureFailed "Не вдалося встанови
#${LangFileString} RunConfigureFailed "Не вдалося виконати скрипт налаштування"
${LangFileString} NotAdmin "Для встановлення LyX вам потрібні привілеї адміністратора!"
${LangFileString} InstallRunning "Засіб для встановлення вже працює!"
${LangFileString} AlreadyInstalled "LyX ${APP_SERIES_KEY2} вже встановлено!$\r$\n\
${LangFileString} AlreadyInstalled "LyX ${APP_VERSION} вже встановлено!$\r$\n\
Встановлення нової версії на місце вже встановлених не рекомендоване, якщо$\r$\n\
встановлено тестову версію або у вас виникають проблеми із уже встановленим LyX.$\r$\n\
У таких випадках краще перевстановити LyX.$\r$\n\
Чи хочете ви попри ці зауваження встановити LyX на місце наявної версії?"
${LangFileString} NewerInstalled "Ви намагаєтеся встановити версію LyX, яка є застарілою порівняно з вже встановленою.$\r$\n\
Якщо ви хочете встановити застарілу версію, вам слід спочатку вилучити вже встановлений LyX $OldVersionNumber."
Якщо ви хочете встановити застарілу версію, вам слід спочатку вилучити вже встановлений LyX $R9."
${LangFileString} MultipleIndexesNotAvailable "Ви не зможете скористатися підтримкою декількох покажчиків у документі, оскільки $\r$\n\
MiKTeX було встановлено від імені адміністратора, а LyX - від імені звичайного користувача."
@ -111,9 +111,9 @@ ${LangFileString} UnLyXPreferencesTitle 'Параметри LyX, встанов
${LangFileString} SecUnMiKTeXDescription "Вилучає дистрибутив LaTeX - MiKTeX."
#${LangFileString} SecUnJabRefDescription "Вилучає засіб для роботи з бібліографічними даними JabRef."
${LangFileString} SecUnPreferencesDescription 'Вилучає теку з налаштуваннями LyX$\r$\n\
$\"$AppPre\username\$\r$\n\
$AppSuff\$\r$\n\
${APP_DIR_USERDATA}$\")$\r$\n\
$\"$R9\username\$\r$\n\
$R8\$\r$\n\
LyX${VERSION_MAJOR}.${VERSION_MINOR}$\")$\r$\n\
для всіх користувачів.'
${LangFileString} SecUnProgramFilesDescription "Вилучити LyX і всі його компоненти."

View File

@ -21,18 +21,6 @@
Var StartMenuFolder # Used to store the start menu folder
Var pathPrefix
# FIXME Variables needed due to "old" set of language strings, delete
Var LaTeXInstalled
Var LaTeXName
Var OldVersionNumber
Var AppPre
Var AppSuff
# R3
# FIXME Compile time constants needed due to "old" set of language strings, delete
!define APP_SERIES_KEY2 ${APP_VERSION}
!define APP_DIR_USERDATA "LyX${VERSION_MAJOR}.${VERSION_MINOR}"
# ========= Multiuser settings =========
!define MULTIUSER_MUI # Multiuser uses modern UI 2
@ -60,13 +48,13 @@
#!include MUI2.nsh # included in MultiUser # Header file for creating modern looking installer
!define MUI_ABORTWARNING # Show a message box with a warning when the user wants to close the installer.
!define MUI_ICON "..\installer\icons\lyx.ico" # FIXME path # The icon for the installer.
!define MUI_UNICON "..\installer\icons\lyx.ico" # FIXME path # The icon for the uninstaller
!define MUI_ICON "..\icons\lyx.ico"
!define MUI_UNICON "..\icons\lyx.ico"
!define MUI_HEADERIMAGE # Display an image on the header of the page.
!define MUI_HEADERIMAGE_BITMAP "..\installer\graphics\header.bmp" # FIXME path # Header image source
!define MUI_HEADERIMAGE_BITMAP "graphics\header.bmp"
!define MUI_HEADERIMAGE_RIGHT # Display header image on the right and not left
!define MUI_WELCOMEFINISHPAGE_BITMAP "..\installer\graphics\wizard.bmp" # FIXME path # Source for image on welcome and finish page of the installer
!define MUI_UNWELCOMEFINISHPAGE_BITMAP "..\installer\graphics\wizard.bmp" # FIXME path # Source for image on welcome and finish page of the uninstaller
!define MUI_WELCOMEFINISHPAGE_BITMAP "graphics\wizard.bmp"
!define MUI_UNWELCOMEFINISHPAGE_BITMAP "graphics\wizard.bmp"
# ======== Pages definitions ==========
@ -75,7 +63,7 @@
!define MUI_WELCOMEPAGE_TEXT $(TEXT_WELCOME) # Use custom welcome text
!insertmacro MUI_PAGE_WELCOME # Welcome page
!insertmacro MUI_PAGE_LICENSE "..\installer\license.rtf" # FIXME path # License page
!insertmacro MUI_PAGE_LICENSE "license.rtf"
!define MUI_PAGE_CUSTOMFUNCTION_PRE PrepareShellCTX # Prepare shell context before the multiuser page is created, so that the installer searches for default install folder in the right context (x64/x32)
!insertmacro MULTIUSER_PAGE_INSTALLMODE # Multiuser page
@ -324,7 +312,6 @@ Function .onInit # Callback function, called at the very beginning, when user do
StrCpy $2 0
${DoUntil} $1 >= 4
${SearchAllRegistry} $R9 $1 $2 "SOFTWARE\LyX" "${VERSION_MAJOR}${VERSION_MINOR}" $1 $2 # Helper Function from above
StrCpy $OldVersionNumber $R9 # FIXME remove
${If} $R9 S> ${APP_VERSION_DOTLESS} # $R9 is used in $(NewerInstalled)
ReadRegStr $0 SHCTX "SOFTWARE\LYX\$0" ""
${If} ${FileExists} "$0\Uninstall-LyX.exe"
@ -408,12 +395,10 @@ Function LatexFolder_Show # Custom Function, called before showing the LaTeXFold
${Else}
StrCpy $R9 "TeXLive"
${EndIf}
StrCpy $LaTeXName $R9 # FIXME remove
StrCpy $1 $(EnterLaTeXFolder) # $1 is used on the page
${Else}
StrCpy $1 $(EnterLaTeXFolderNone)
${EndIf}
${StrRep} $1 $1 "\r\n" "$\r$\n" # FIXME remove
Call fnc_LaTeXFolder_Show # In LaTeXFolder.nsdinc, defined by NSIS Dialog Designer
FunctionEnd
@ -1008,7 +993,6 @@ Section -ConfigureScript # Runs the configure.py script
${Else}
StrCpy $R9 "MiKTeX"
${EndIf}
StrCpy $LaTeXInstalled $R9 # FIXME remove
DetailPrint $(TEXT_CONFIGURE_LYX) # Uses R9 to display the name of the installed latex distribution
nsExec::ExecToLog '"$INSTDIR\Python\python.exe" "$INSTDIR\Resources\configure.py"'
@ -1104,9 +1088,7 @@ Function un.ComponentsPre # Callback Function, called before the components page
# R9 and R8 are used in $(SecUnPreferencesDescription)
SetShellVarContext current
${UnStrStrAdv} $R9 $PROFILE "\" "<" "<" "0" "0" "0" # Get everything before the last "\" of $PROFILE ("C:\Users\username") -> $R9: "C:\Users"
StrCpy $AppPre $R9 # FIXME remove
${UnStrRep} $R8 $APPDATA "$PROFILE\" "" # "C:\Users\username\" gets replaced with "" in "C:\Users\username\AppData\Roaming" -> $R8: "Appdata\Roaming"
StrCpy $AppSuff $R8 # FIXME remove
FunctionEnd
Section "un.LyX" un.SecUnProgramFiles # Deletes files in $INSTDIR and registry entries

View File

@ -1,33 +0,0 @@
!macro LANG LANG_NAME
# NSIS language file
!insertmacro MUI_LANGUAGE "${LANG_NAME}"
# LyX language file
!insertmacro LANGFILE_INCLUDE_WITHDEFAULT "..\installer\lang\${LANG_NAME}.nsh" "..\installer\lang\english.nsh" # FIXME path
!macroend
# list of all languages the installers are translated to
!insertmacro LANG "english" # first language is the default
!insertmacro LANG "arabic"
!insertmacro LANG "basque"
!insertmacro LANG "catalan"
!insertmacro LANG "czech"
!insertmacro LANG "danish"
!insertmacro LANG "dutch"
!insertmacro LANG "french"
!insertmacro LANG "german"
!insertmacro LANG "galician"
!insertmacro LANG "hungarian"
!insertmacro LANG "indonesian"
!insertmacro LANG "italian"
!insertmacro LANG "japanese"
!insertmacro LANG "norwegian"
!insertmacro LANG "polish"
!insertmacro LANG "portuguese"
!insertmacro LANG "portugueseBR"
!insertmacro LANG "romanian"
!insertmacro LANG "russian"
!insertmacro LANG "slovak"
!insertmacro LANG "spanish"
!insertmacro LANG "swedish"
!insertmacro LANG "turkish"
!insertmacro LANG "ukrainian"