2006-07-12 11:03:00 +00:00
|
|
|
|
/*
|
|
|
|
|
|
|
|
|
|
NSIS Script - LyX 1.4 Installer for Win32
|
|
|
|
|
Authors: Joost Verburg, Angus Leeming, Uwe St<53>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
|
2006-09-19 23:07:00 +00:00
|
|
|
|
${unless} ${silent}
|
|
|
|
|
Banner::show /NOUNLOAD "Checking system"
|
|
|
|
|
${endif}
|
|
|
|
|
|
2006-07-12 11:03:00 +00:00
|
|
|
|
Call CheckWindows
|
2006-10-02 17:21:20 +00:00
|
|
|
|
Call CheckPrivileges
|
|
|
|
|
Call InitInstaller
|
2006-07-12 11:03:00 +00:00
|
|
|
|
Call SearchAll
|
2006-09-19 23:07:00 +00:00
|
|
|
|
|
|
|
|
|
${unless} ${silent}
|
|
|
|
|
Banner::destroy
|
|
|
|
|
${endif}
|
2006-07-12 11:03:00 +00:00
|
|
|
|
FunctionEnd
|
|
|
|
|
|
|
|
|
|
Function un.onInit
|
2006-10-02 17:21:20 +00:00
|
|
|
|
Call un.CheckPrivileges
|
|
|
|
|
Call un.InitUnInstaller
|
2006-07-12 11:03:00 +00:00
|
|
|
|
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"
|