mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-14 01:22:33 +00:00
a7594d6ca8
* Installation for all users is the default for Power Users and Administrators * For silent installation, it is possible to use the /AllUsers or /CurrentUser command line parameter to choose for which users you want to install * Updated list of supported languages. The "red" languages from http://www.lyx.org/devel/i18n.php have been removed. * Language and dictionary names are no longer in English but are translated in the language itself * One single list with language names, ISO codes and identifiers * Both the installer and uninstaller automatically detect the user interface language * Added more space in the user interface for translated texts * Added all Python encoding files so there will be no problems with future Python scripts git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@15200 a592a061-630c-0410-9148-cb99ea01b6c8
35 lines
700 B
Plaintext
35 lines
700 B
Plaintext
/*
|
|
|
|
Reinstall options
|
|
|
|
*/
|
|
|
|
;--------------------------------
|
|
;Page functions
|
|
|
|
Function PageReinstall
|
|
|
|
;Check whether this version is already installed
|
|
|
|
ReadRegStr $R0 SHELL_CONTEXT ${APP_REGKEY} "Version"
|
|
|
|
${if} $R0 != "${APP_VERSION}"
|
|
Abort
|
|
${endif}
|
|
|
|
!insertmacro MUI_HEADER_TEXT $(TEXT_REINSTALL_TITLE) $(TEXT_REINSTALL_SUBTITLE)
|
|
!insertmacro MUI_INSTALLOPTIONS_DISPLAY "reinstall.ini"
|
|
|
|
FunctionEnd
|
|
|
|
Function PageReinstallValidate
|
|
|
|
!insertmacro MUI_INSTALLOPTIONS_READ $R0 "reinstall.ini" "Field 2" "State"
|
|
|
|
${if} $R0 == "1"
|
|
!insertmacro SelectSection ${SecCore}
|
|
${else}
|
|
!insertmacro UnselectSection ${SecCore}
|
|
${endif}
|
|
|
|
FunctionEnd |