diff options
author | Littleboy | 2011-05-11 17:58:29 -0400 |
---|---|---|
committer | Littleboy | 2011-05-11 17:58:29 -0400 |
commit | 3cb7d4b1cc9cbf2071666443e6790ced8ec2ffb2 (patch) | |
tree | 0db8c80556f1964fe6ce68550ebca3e27afa65ee /dists | |
parent | 217089adfa998a62deb4c1a3fc7613888fcd23cb (diff) | |
download | scummvm-rg350-3cb7d4b1cc9cbf2071666443e6790ced8ec2ffb2.tar.gz scummvm-rg350-3cb7d4b1cc9cbf2071666443e6790ced8ec2ffb2.tar.bz2 scummvm-rg350-3cb7d4b1cc9cbf2071666443e6790ced8ec2ffb2.zip |
NSIS: Add option to not include data files in the installer (they are now included in the exe by default)
Diffstat (limited to 'dists')
-rw-r--r-- | dists/nsis/scummvm.nsi | 5 | ||||
-rw-r--r-- | dists/nsis/scummvm.nsi.in | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/dists/nsis/scummvm.nsi b/dists/nsis/scummvm.nsi index aeabcca039..50ccadaf74 100644 --- a/dists/nsis/scummvm.nsi +++ b/dists/nsis/scummvm.nsi @@ -19,6 +19,7 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #!define _DEBUG +#!define _INCLUDE_DATA_FILES Name ScummVM @@ -231,6 +232,7 @@ Section "ScummVM" SecMain File /oname=README.txt "${text_dir}\README" File /oname=README-SDL.txt "${build_dir}\README-SDL" +!ifdef _INCLUDE_DATA_FILES # Engine data File "${engine_data}\drascula.dat" File "${engine_data}\hugo.dat" @@ -248,6 +250,7 @@ Section "ScummVM" SecMain File "${theme_data}\scummclassic.zip" File "${theme_data}\scummmodern.zip" File "${theme_data}\translations.dat" +!endif # Main exe and dlls File "${build_dir}\scummvm.exe" @@ -299,6 +302,7 @@ Section -un.Main SecUninstall Delete /REBOOTOK $INSTDIR\README.txt Delete /REBOOTOK $INSTDIR\README-SDL.txt +!ifdef _INCLUDE_DATA_FILES Delete /REBOOTOK $INSTDIR\drascula.dat Delete /REBOOTOK $INSTDIR\hugo.dat Delete /REBOOTOK $INSTDIR\kyra.dat @@ -314,6 +318,7 @@ Section -un.Main SecUninstall Delete /REBOOTOK $INSTDIR\scummclassic.zip Delete /REBOOTOK $INSTDIR\scummmodern.zip Delete /REBOOTOK $INSTDIR\translations.dat +!endif Delete /REBOOTOK $INSTDIR\scummvm.exe Delete /REBOOTOK $INSTDIR\SDL.dll diff --git a/dists/nsis/scummvm.nsi.in b/dists/nsis/scummvm.nsi.in index 766a20633f..c94e5943f7 100644 --- a/dists/nsis/scummvm.nsi.in +++ b/dists/nsis/scummvm.nsi.in @@ -19,6 +19,7 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #!define _DEBUG +#!define _INCLUDE_DATA_FILES Name ScummVM @@ -231,6 +232,7 @@ Section "ScummVM" SecMain File /oname=README.txt "${text_dir}\README" File /oname=README-SDL.txt "${build_dir}\README-SDL" +!ifdef _INCLUDE_DATA_FILES # Engine data File "${engine_data}\drascula.dat" File "${engine_data}\hugo.dat" @@ -248,6 +250,7 @@ Section "ScummVM" SecMain File "${theme_data}\scummclassic.zip" File "${theme_data}\scummmodern.zip" File "${theme_data}\translations.dat" +!endif # Main exe and dlls File "${build_dir}\scummvm.exe" @@ -299,6 +302,7 @@ Section -un.Main SecUninstall Delete /REBOOTOK $INSTDIR\README.txt Delete /REBOOTOK $INSTDIR\README-SDL.txt +!ifdef _INCLUDE_DATA_FILES Delete /REBOOTOK $INSTDIR\drascula.dat Delete /REBOOTOK $INSTDIR\hugo.dat Delete /REBOOTOK $INSTDIR\kyra.dat @@ -314,6 +318,7 @@ Section -un.Main SecUninstall Delete /REBOOTOK $INSTDIR\scummclassic.zip Delete /REBOOTOK $INSTDIR\scummmodern.zip Delete /REBOOTOK $INSTDIR\translations.dat +!endif Delete /REBOOTOK $INSTDIR\scummvm.exe Delete /REBOOTOK $INSTDIR\SDL.dll |