lyx_mirror/development/Win32/packaging/installer/lyx.nsi
Joost Verburg a7594d6ca8 * Improved multi-user installation. It is now easier to have both a system as well as a local version of LyX installed.
* 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
2006-10-02 17:21:20 +00:00

51 lines
1.1 KiB
Plaintext

/*
NSIS Script - LyX 1.4 Installer for Win32
Authors: Joost Verburg, Angus Leeming, Uwe Stöhr
Requires NSIS 2.16 or later
Licence details for all installer scripts can be found
in the file COPYING or at http://www.lyx.org/about/license.php
*/
!include "include\declarations.nsh"
OutFile "${SETUP_EXE}"
;--------------------------------
;Functions
Function .onInit
${unless} ${silent}
Banner::show /NOUNLOAD "Checking system"
${endif}
Call CheckWindows
Call CheckPrivileges
Call InitInstaller
Call SearchAll
${unless} ${silent}
Banner::destroy
${endif}
FunctionEnd
Function un.onInit
Call un.CheckPrivileges
Call un.InitUnInstaller
FunctionEnd
;--------------------------------
;Components
!include "components\core.nsh"
!include "components\user.nsh"
!include "components\reinstall.nsh"
!include "components\external.nsh"
!include "components\viewer.nsh"
!include "components\dicts.nsh"
!include "components\langselect.nsh"
!include "components\configure.nsh"
!include "components\uninstall.nsh"