Commit 0d5809fa authored by Edlira Nano's avatar Edlira Nano
Browse files

inno setup comments + deleted setup exe

git-svn-id: https://subversion.renater.fr/masschroq/trunk@2093 e4b6dbb4-9209-464b-83f7-6257456c460c
parent 28198537
/*
*
* MassChroQ: Mass Chromatogram Quantification software.
* Copyright (C) 2010 Olivier Langella, Edlira Nano, Benoit Valot, Michel Zivy.
* Copyright (C) 2010 Benoit Valot, Olivier Langella, Edlira Nano, Michel Zivy.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
; MassChroQ Inno Setup file to build setup installer for windows
;
; MassChroQ: Mass Chromatogram Quantification software.
; Copyright (C) 2010 Benoit Valot, Olivier Langella, Edlira Nano, Michel Zivy.
;
; This program is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation, either version 3 of the License, or
; (at your option) any later version.
;
; This program is distributed in the hope that it will be useful,
; but WITHOUT ANY WARRANTY; without even the implied warranty of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
; GNU General Public License for more details.
;
; You should have received a copy of the GNU General Public License
; along with this program. If not, see <http://www.gnu.org/licenses/>.
;
; Definition of precompilation variables
#define MyAppName "MassChroQ"
#define MyAppVersion "1.0"
#define MyAppPublisher "PAPPSO"
......@@ -25,22 +42,25 @@ AllowNoIcons=yes
LicenseFile=C:\developpement\masschroq\LICENCE
OutputDir=C:\developpement\masschroq\win32
OutputBaseFilename=masschroq_setup
; set this to true if you want to perform file associations in the registry
ChangesAssociations=true
; set this to true if you want to change environment variables
ChangesEnvironment=true
Compression=lzma
SolidCompression=yes
; Changes in registry
[Registry]
; File association
Root: HKCR; Subkey: ".masschroqML"; ValueType: string; ValueName: ""; ValueData: "masschroqMLFile "; Flags: uninsdeletevalue; Tasks: addextension
Root: HKCR; Subkey: "masschroqMLFile"; ValueType: string; ValueName: ""; ValueData: "masschroqML File"; Flags: uninsdeletekey; Tasks: addextension
Root: HKCR; Subkey: "masschroqMLFile\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\{#MyAppExeName}"" ""%1"""; Flags: uninsdeletevalue; Tasks: addextension
Root: HKCR; Subkey: "masschroqMLFile\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\masschroq.ico,0"; Flags: uninsdeletevalue; Tasks: addextension
;Setup choice languages
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
Name: "brazilianportuguese"; MessagesFile: "compiler:Languages\BrazilianPortuguese.isl"
Name: "catalan"; MessagesFile: "compiler:Languages\Catalan.isl"
Name: "czech"; MessagesFile: "compiler:Languages\Czech.isl"
Name: "danish"; MessagesFile: "compiler:Languages\Danish.isl"
Name: "dutch"; MessagesFile: "compiler:Languages\Dutch.isl"
......@@ -60,10 +80,13 @@ Name: "slovenian"; MessagesFile: "compiler:Languages\Slovenian.isl"
Name: "spanish"; MessagesFile: "compiler:Languages\Spanish.isl"
[Tasks]
; Propose choice of these tasks to the user during setup. Put Flags: unchecked if you
; want teh boxes to be unchecked by default. Put nothing if you want them checked.
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"
Name: modifypath; Description: Add application directory to your environmental path (recommended)
Name: addextension; Description: Associate .masschroqML file extension with MassChroQ (recommended)
; Files to install
[Files]
Source: "C:\developpement\masschroq\win32\src\Release\masschroq.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\developpement\masschroq\win32\src\Release\QtCore4.dll"; DestDir: "{app}"; Flags: ignoreversion
......@@ -77,14 +100,18 @@ Source: "C:\developpement\masschroq\doc\examples\*.*"; DestDir: "{app}\examples"
Source: "C:\developpement\masschroq\doc\logo\masschroq.ico"; DestDir: "{app}"; Flags: ignoreversion
;NOTE: Don't use "Flags: ignoreversion" on any shared system files
; Shortcuts to add
[Icons]
; Start shortcuts
Name: "{group}\masschroq_readme.pdf"; Filename: "{app}\masschroq_readme.pdf"
Name: "{group}\{cm:ProgramOnTheWeb,{#MyAppName}}"; Filename: "{#MyAppURL}"
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
Name: "{group}\examples"; Filename: "{app}\examples"
; Desktop shortcuts
Name: "{commondesktop}\masschroq_readme.pdf"; Filename: "{app}\masschroq_readme.pdf"; Tasks: desktopicon
Name: "{commondesktop}\masschroq_examples"; Filename: "{app}\examples"; Tasks: desktopicon
; Code to modify PATH env. variable. Uses file modpath.iss which you should provide
[Code]
const
ModPathName = 'modifypath';
......@@ -95,4 +122,5 @@ begin
setArrayLength(Result, 1)
Result[0] := ExpandConstant('{app}');
end;
; include file modpath.iss
#include "modpath.iss"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment