Commit 287a2d3d authored by Langella Olivier's avatar Langella Olivier
Browse files

new innosetup file

parent 7f4175c3
......@@ -264,6 +264,7 @@ configure_file (${CMAKE_SOURCE_DIR}/doc/scripts/masschroq-condor.pl.cmake ${CMAK
configure_file (${CMAKE_SOURCE_DIR}/doc/scripts/masschroq-split.py.cmake ${CMAKE_BINARY_DIR}/src/masschroq-split.py)
configure_file (${CMAKE_SOURCE_DIR}/win64/masschroq-mingw64-win7+.iss.cmake ${CMAKE_SOURCE_DIR}/win64/masschroq-mingw64-win7+.iss)
configure_file (${CMAKE_SOURCE_DIR}/win64/masschroq-mxe.iss.cmake ${CMAKE_SOURCE_DIR}/win64/masschroq-mxe.iss)
SET(CPACK_PACKAGE_EXECUTABLES "masschroq" "masschroq")
......
#!/bin/bash
wine "/home/langella/.wine/drive_c/Program Files/Inno Setup 6/ISCC.exe" masschroq-mxe.iss /O /F
[Setup]
AppName=MassChroQ
; Set version number below
#define public version "${MASSCHROQ_VERSION}"
AppVersion={#version}
#define public arch "mingw64"
#define public platform "win7+"
#define sourceDir "z:/home/langella/developpement/git/masschroq/"
#define cmake_build_dir "z:/home/langella/developpement/git/masschroq/wbuild"
; Set version number below
AppVerName=MassChroQ version {#version}
DefaultDirName={pf}\masschroq
DefaultGroupName=masschroq
OutputDir="{#cmake_build_dir}"
; Set version number below
OutputBaseFilename=masschroq-{#arch}-{#platform}-v{#version}-setup
; Set version number below
OutputManifestFile=masschroq-{#arch}-{#platform}-v{#version}-setup-manifest.txt
ArchitecturesAllowed=x64
ArchitecturesInstallIn64BitMode=x64
LicenseFile="{#sourceDir}\COPYING"
AppCopyright="Copyright (C) 2009-2020 Benoit Valot, Edlira Nano, Olivier Langella"
AllowNoIcons=yes
AlwaysShowComponentsList=yes
AllowRootDirectory=no
AllowCancelDuringInstall=yes
AppComments="MassChroQ, mass chromatogram quantifier"
AppContact="Olivier Langella, research engineer at CNRS, France"
CloseApplications=yes
CreateUninstallRegKey=yes
DirExistsWarning=yes
WindowResizable=yes
;WizardImageFile="{#sourceDir}\images\splashscreen-innosetup.bmp"
WizardImageStretch=yes
[Dirs]
Name: "{app}"
[Files]
Source: "z:/home/langella/developpement/git/mxe_dll/*"; DestDir: {app}; Flags: ignoreversion recursesubdirs;
Source: "z:/home/langella/developpement/git/mxe_dll_extra/Qt5XmlPatterns.dll"; DestDir: {app}; Flags: ignoreversion recursesubdirs;
Source: "{#cmake_build_dir}/src/libmasschroq.dll"; DestDir: {app}; Flags: ignoreversion recursesubdirs;
Source: "z:/home/langella/developpement/git/libodsstream/wbuild/src/libodsstream-qt5.dll"; DestDir: {app}; Flags: ignoreversion recursesubdirs;
Source: "z:/home/langella/developpement/git/pappsomspp/wbuild/src/libpappsomspp-qt5.dll"; DestDir: {app}; Flags: ignoreversion recursesubdirs;
Source: "z:/home/langella/developpement/git/pappsomspp/wbuild/src/pappsomspp/widget/libpappsomspp-widget-qt5.dll"; DestDir: {app}; Flags: ignoreversion recursesubdirs;
Source: "{#sourceDir}\README"; DestDir: {app}; Flags: isreadme; Components: mcqComp
Source: "{#sourceDir}\COPYING"; DestDir: {app}; Flags: isreadme; Components: mcqComp
Source: "{#cmake_build_dir}\src\masschroq.exe"; DestDir: {app}; Components: mcqComp
Source: "{#cmake_build_dir}\src\masschroq_gui.exe"; DestDir: {app}; Components: mcqComp
Source: "{#cmake_build_dir}\src\masschroq_studio.exe"; DestDir: {app}; Components: mcqComp
[Icons]
Name: "{group}\masschroq"; Filename: "{app}\masschroq_gui.exe"; WorkingDir: "{app}"
Name: "{group}\masschroq_studio"; Filename: "{app}\masschroq_studio.exe"; WorkingDir: "{app}"
Name: "{group}\Uninstall masschroq"; Filename: "{uninstallexe}"
[Types]
Name: "mcqType"; Description: "Full installation"
[Components]
Name: "mcqComp"; Description: "MassChroQ files and related documentation"; Types: mcqType
[Run]
;Filename: "{app}\README"; Description: "View the README file"; Flags: postinstall shellexec skipifsilent
Filename: "{app}\masschroq_gui.exe"; Description: "Launch MassChroQ GUI"; Flags: postinstall nowait unchecked
Supports Markdown
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