From 787c8c55c35efadade6987813679566311f8b509 Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Wed, 30 Nov 2011 09:15:19 +0000 Subject: [PATCH] branch: Installer: add the dictionaries and thesaurus files to the installer script. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40321 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/Win32/packaging/installer/settings.nsh | 1 + development/Win32/packaging/installer/setup/install.nsh | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/development/Win32/packaging/installer/settings.nsh b/development/Win32/packaging/installer/settings.nsh index 0fbb21467f..e5ae000d97 100644 --- a/development/Win32/packaging/installer/settings.nsh +++ b/development/Win32/packaging/installer/settings.nsh @@ -38,6 +38,7 @@ These typically need to be modified for each LyX release !define FILES_DEPS "C:\LyX\lyx-20-build\msvc2010-deps\deps20" !define FILES_BUNDLE "C:\LyX\depsbundle" !define FILES_QT "C:\Qt\qt-everywhere-opensource-src-4.7.4" +!define FILES_DICT_THES "C:\LyX\dictionaries" #-------------------------------- # MiKTeX diff --git a/development/Win32/packaging/installer/setup/install.nsh b/development/Win32/packaging/installer/setup/install.nsh index 200851b941..ba74c113b9 100644 --- a/development/Win32/packaging/installer/setup/install.nsh +++ b/development/Win32/packaging/installer/setup/install.nsh @@ -42,6 +42,10 @@ Section -ProgramFiles SecProgramFiles # recursively copy all files under Resources File /r "${FILES_LYX}\Resources" + SetOutPath "$INSTDIR\Resources" + File /r "${FILES_DICT_THES}\dicts" + File /r "${FILES_DICT_THES}\thes" + # Python SetOutPath "$INSTDIR" # recursively copy all files under Python -- 2.39.5