4ac30596b870ec842b068c69b282e7e4791dc81c
[scilab.git] / scilab / tools / innosetup / Scilab.iss
1 ;
2 ; Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 ; Copyright (C) DIGITEO - 2010-2012 - Allan CORNET
4 ;
5 ; This file must be used under the terms of the CeCILL.
6 ; This source file is licensed as described in the file COPYING, which
7 ; you should have received as part of this distribution.  The terms
8 ; are also available at
9 ; http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
10 ;
11 ;-------------------------------------------------------------------------------
12 ; Inno Setup Script (5.3 and more) for Scilab (UNICODE version required)
13 ;
14 ;-------------------------------------------------------------------------------
15 #define BinariesSourcePath "D:\GIT-scilab-master\scilab\scilab"
16 #define ScilabBaseFilename "scilab-master"
17 #define ScilabBaseDirectory "scilab-master"
18 #define ScilabName "scilab-master"
19 #define ScilabVersion "5.4.0"
20 #define CurrentYear "2011"
21 #define javaSpecificationVersion "1.6"
22 #define javaUsed "1.6.0_XX"
23 #define TESTS_SIZE 14364741
24 #define CHM_SIZE 28135014
25 ;#define WITH_MODELICAC
26 ;#define SCILAB_X64
27 ;#define SCILAB_WITHOUT_JRE
28 ;#define SCILAB_F2C
29 ;-------------------------------------------------------------------------------
30 #define MODULES_LIST_WEB_PAGE 'http://wiki.scilab.org/howto/install/windows'
31 #define MKL_DOWNLOAD_HTTP 'http://fileexchange.scilab.org/toolboxes/MKL'
32 #define MKL_BLASLAPACK_PACKAGENAME 'blas-lapack-mkl-5.4-win32.zip'
33 #define MKL_COMMONS_PACKAGENAME 'commons-mkl-5.4-win32.zip'
34 #define MKL_FFTW_PACKAGENAME 'fftw-mkl-5.4-win32.zip'
35 #define CHM_DOWNLOAD_HTTP 'http://fileexchange.scilab.org/toolboxes/CHM'
36 #define CHM_PACKAGENAME 'scilab-help-chm-5.4.zip'
37 ;-------------------------------------------------------------------------------
38 [CustomMessages]
39 #include BinariesSourcePath + "\tools\innosetup\custommessages.iss"
40 ;-------------------------------------------------------------------------------
41 [Setup]
42 #include BinariesSourcePath + "\tools\innosetup\setup.iss"
43 ;-------------------------------------------------------------------------------
44 [Languages]
45 #include BinariesSourcePath + "\tools\innosetup\languages.iss"
46 ;-------------------------------------------------------------------------------
47 [Types]
48 #include BinariesSourcePath + "\tools\innosetup\types.iss"
49 ;-------------------------------------------------------------------------------
50 [Components]
51 #include BinariesSourcePath + "\tools\innosetup\components.iss"
52 ;
53 ;-------------------------------------------------------------------------------
54 [Files]
55 #include BinariesSourcePath + "\tools\innosetup\files.iss"
56 ;
57 ;-------------------------------------------------------------------------------
58 [Icons]
59 #include BinariesSourcePath + "\tools\innosetup\icons.iss"
60 ;-------------------------------------------------------------------------------
61 [INI]
62 #include BinariesSourcePath + "\tools\innosetup\ini.iss"
63 ;-------------------------------------------------------------------------------
64 [Tasks]
65 #include BinariesSourcePath + "\tools\innosetup\tasks.iss"
66 ;-------------------------------------------------------------------------------
67 [Registry]
68 #include BinariesSourcePath + "\tools\innosetup\registry.iss"
69 ;-------------------------------------------------------------------------------
70 [Code]
71 #include BinariesSourcePath + "\tools\innosetup\code_unzip.iss"
72 #include BinariesSourcePath + "\tools\innosetup\code_download.iss"
73 #include BinariesSourcePath + "\tools\innosetup\code_modules.iss"
74 #include BinariesSourcePath + "\tools\innosetup\code_offline_installation.iss"
75 #include BinariesSourcePath + "\tools\innosetup\code.iss"
76 [Run]
77 ;-------------------------------------------------------------------------------
78 #include BinariesSourcePath + "\tools\innosetup\run.iss"
79 ;-------------------------------------------------------------------------------
80 [UninstallDelete]
81 #include BinariesSourcePath + "\tools\innosetup\uninstalldelete.iss"
82 ;-------------------------------------------------------------------------------
83 [_ISTool]
84 #ifndef SCILAB_WITHOUT_JRE
85 OutputExeFilename=D:\Scilab\Output\{#ScilabBaseFilename}.exe
86 #else
87 OutputExeFilename=D:\Scilab\Output\{#ScilabBaseFilename}-nojre.exe
88 #endif
89 ;-------------------------------------------------------------------------------
90 ;