File:  [Local Repository] / imach / src / setup.iss
Revision 1.21: download - view: text, annotated - select for diffs
Wed Jul 19 15:21:13 2023 UTC (15 months, 2 weeks ago) by brouard
Branches: MAIN
CVS tags: HEAD
*** empty log message ***

; -- IMaCh.iss --
; $Id: setup.iss,v 1.21 2023/07/19 15:21:13 brouard Exp $
;  $State: Exp $
;  $Log: setup.iss,v $
;  Revision 1.21  2023/07/19 15:21:13  brouard
;  *** empty log message ***
;
;  Revision 1.17  2022/03/15 18:40:36  brouard
;  Summary:IMaCh-0.99r24
;
;  Revision 1.16  2015/10/27 19:51:28  brouard
;  Summary: some new subdirs
;
;  Revision 1.15  2015/10/27 17:36:40  brouard
;  Summary: Adding gnuplot 5.1 with bin and etc for pango fonts
;
;  Revision 1.14  2015/08/18 23:18:16  brouard
;  *** empty log message ***
;
;  Revision 1.13  2015/08/04 07:18:28  brouard
;  *** empty log message ***
;
;  Revision 1.12  2015/03/11 13:28:31  brouard
;  Summary: newer including both binaries 32 and 64 bits in a single installer with InnoSetup 5.5.5
;
;  Revision 1.11  2014/09/15 20:57:31  brouard
;  *** empty log message ***
;
;  Revision 1.10  2009/10/29 13:20:46  brouard
;  0.98l
;
;  Revision 1.9  2006/02/09 20:10:37  lievre
;  (Module): IMACHSETUPVERSION added
;
;  Revision 1.8  2006/02/09 15:21:55  lievre
;  * setup.iss.in (Module): IMACHSETUPVERSION added
;
;  * noreg-setup.iss (Module): added to cvs tree
;
;  Revision 1.7  2006/02/09 14:29:39  lievre
;  (Module): IMACHSETUPVERSION added
;
;  Revision 1.6  2006/01/27 20:19:13  brouard
;  noreg added
;
;  Revision 1.5  2005/09/30 18:02:25  lievre
;  unix2dos added
;
;  Revision 1.4  2005/09/30 17:39:58  lievre
;  The files mypar.txt and data1.txt added
;
;  Revision 1.3  2005/05/04 17:32:58  brouard
;  Set version
;
;
;

; SEE THE DOCUMENTATION FOR DETAILS ON CREATING .ISS SCRIPT FILES!

[Setup]
AppName=IMaCh-0.99r46
AppVerName=IMaCh-0.99r46 Version 0.99r46
AppCopyright=Copyright (C)  2002-2022 INED-EUROREVES-Institut de longevite-Japan Society for the Promotion of Science (Grant-in-Aid for Scientific Research 25293121) - Intel Software 2016-19
DefaultDirName={pf}\IMaCh-0.99r46
DefaultGroupName=IMaCh
OutputManifestFile=imach-0.99r46-icl-filelist.txt
OutputBaseFilename=imach-0.99r46-icl-setup
UninstallDisplayIcon={app}\imach.exe
Compression=lzma2
SolidCompression=yes
InfoBeforeFile=README.txt
; "ArchitecturesInstallIn64BitMode=x64" requests that the install be
; done in "64-bit mode" on x64, meaning it should use the native
; 64-bit Program Files directory and the 64-bit view of the registry.
; On all other architectures it will install in "32-bit mode".
ArchitecturesInstallIn64BitMode=x64
; Note: We don't set ProcessorsAllowed because we want this
; installation to run on all architectures (including Itanium,
; since it's capable of running 32-bit code too).
;;SetupIconFile={app}\imach.exe
;;UninstallIconFile={app}\imach.ico
; uncomment the following line if you want your installation to run on NT 3.51 too.
; MinVersion=4,3.51

ChangesAssociations=yes

[Files]
; Install IMaCh-x640.99r46.exe if running in 64-bit mode (x64; see above),
; IMaCh.exe otherwise.
;Source: "IMaCh-icl64-0.99r46.exe"; DestDir: "{app}\bin"; DestName: "IMaCh.exe"; Check: Is64BitInstallMode
Source: "..\build\icl64\Release\IMaCh-0.99r46.exe"; DestDir: "{app}\bin"; DestName: "IMaCh.exe"; Check: Is64BitInstallMode
;Source: "IMaCh-icl32-0.99r46.exe"; DestDir: "{app}\bin"; DestName: "IMaCh.exe"; Check: not Is64BitInstallMode
Source: "..\build\icl32\Release\IMaCh-0.99r46.exe"; DestDir: "{app}\bin"; DestName: "IMaCh.exe"; Check: not Is64BitInstallMode
;Source: "IMaCh.chm"; DestDir: "{app}\bin"
Source: ..\html\doc\imach.htm; DestDir: {app}\doc
Source: README.txt; DestDir: {app}; Flags: isreadme
Source: imach.ico; DestDir: {app}\bin
;;Source: gnuplot.exe; DestDir: {app}\bin
Source: ..\distributions\windows\gnuplot_bin\gnuplot_bin_501\bin\*; DestDir: {app}\bin
Source: ..\distributions\windows\gnuplot_bin\gnuplot_bin_501\etc\pango\*; DestDir: {app}\etc\pango
Source: ..\distributions\windows\gnuplot_bin\gnuplot_bin_501\etc\pango\1.6.0\modules\*; DestDir: {app}\etc\pango\1.6.0\modules
Source: ..\distributions\windows\gnuplot_bin\gnuplot_bin_501\etc\fonts\fonts.conf; DestDir: {app}\etc\fonts\fonts.conf
Source: ..\distributions\windows\gnuplot_bin\gnuplot_bin_501\etc\fonts\conf.d\*; DestDir: {app}\etc\fonts\conf.d
;;Source: wgnuplot.hlp; DestDir: {app}\bin
Source: website.url; DestDir: {app}

;; win95
;;Source: ModifyAutoexec.exe; DestDir: {tmp}
;;Source: wgnuplot.mnu; DestDir: {app}\bin
Source: ..\html\doc\imach.htm; DestDir: {app}\doc
Source: ..\html\doc\biaspar.gp; DestDir: {app}\doc
Source: ..\html\doc\biaspar.htm; DestDir: {app}\doc
Source: ..\html\doc\biaspar.imach; DestDir: {app}\doc
Source: ..\html\doc\biaspar.log; DestDir: {app}\doc
Source: ..\html\doc\biaspar-cov.htm; DestDir: {app}\doc
Source: ..\html\doc\euroreves2.gif; DestDir: {app}\doc
Source: ..\html\doc\logo-ined.gif; DestDir: {app}\doc
Source: ..\html\doc\orbiaspar.txt; DestDir: {app}\doc
Source: ..\html\doc\rbiaspar.imach; DestDir: {app}\doc
Source: ..\html\doc\biaspar\prbiaspar.txt; DestDir: {app}\doc\biaspar\
Source: ..\html\doc\biaspar\ilkrbiaspar.txt; DestDir: {app}\doc\biaspar\
Source: ..\html\doc\biaspar\powrbiaspar.txt; DestDir: {app}\doc\biaspar\
Source: ..\html\doc\biaspar\plrbiaspar.txt; DestDir: {app}\doc\biaspar\
Source: ..\html\doc\biaspar\pijrbiaspar.txt; DestDir: {app}\doc\biaspar\
Source: ..\html\doc\biaspar\probrbiaspar.txt; DestDir: {app}\doc\biaspar\
Source: ..\html\doc\biaspar\probcovrbiaspar.txt; DestDir: {app}\doc\biaspar\
Source: ..\html\doc\biaspar\probcorrbiaspar.txt; DestDir: {app}\doc\biaspar\
Source: ..\html\doc\biaspar\trbiaspar.txt; DestDir: {app}\doc\biaspar\
Source: ..\html\doc\biaspar\erbiaspar.txt; DestDir: {app}\doc\biaspar\
Source: ..\html\doc\biaspar\vrbiaspar.txt; DestDir: {app}\doc\biaspar\
Source: ..\html\doc\biaspar\prmorprev1-stablbased-rbiaspar.txt; DestDir: {app}\doc\biaspar\
Source: ..\html\doc\biaspar\vplrbiaspar.txt; DestDir: {app}\doc\biaspar\
Source: ..\html\doc\biaspar\vbiaspar11.png; DestDir: {app}\doc\biaspar\
Source: ..\html\doc\biaspar\vbiaspar21.png; DestDir: {app}\doc\biaspar\
Source: ..\html\doc\biaspar\ebiaspar1.png; DestDir: {app}\doc\biaspar\
Source: ..\html\doc\biaspar\expbiaspar11.png; DestDir: {app}\doc\biaspar\
Source: ..\html\doc\biaspar\expbiaspar21.png; DestDir: {app}\doc\biaspar\
Source: ..\html\doc\biaspar\pbiaspar11.png; DestDir: {app}\doc\biaspar\
Source: ..\html\doc\biaspar\pbiaspar21.png; DestDir: {app}\doc\biaspar\
Source: ..\html\doc\biaspar\pebiaspar11.png; DestDir: {app}\doc\biaspar\
Source: ..\html\doc\biaspar\pebiaspar12.png; DestDir: {app}\doc\biaspar\
Source: ..\html\doc\biaspar\varpijgrbiaspar113-12.png; DestDir: {app}\doc\biaspar\
Source: ..\html\doc\biaspar\varpijgrbiaspar121-12.png; DestDir: {app}\doc\biaspar\
Source: ..\html\doc\biaspar\varpijgrbiaspar123-12.png; DestDir: {app}\doc\biaspar\
Source: ..\html\doc\biaspar\varpijgrbiaspar121-13.png; DestDir: {app}\doc\biaspar\
Source: ..\html\doc\biaspar\varpijgrbiaspar123-13.png; DestDir: {app}\doc\biaspar\
Source: ..\html\doc\biaspar\varpijgrbiaspar123-21.png; DestDir: {app}\doc\biaspar\
Source: ..\html\doc\biaspar\varmuptjgr-stablbased-biaspar1.png; DestDir: {app}\doc\biaspar\
Source: ..\html\doc\data\mydata.txt; DestDir: {app}\doc\data
Source: ..\html\doc\mypar.imach; DestDir: {app}\doc
Source: ..\html\doc\data1.txt; DestDir: {app}\doc
Source: ..\tests\testV1V2.imach; DestDir: {app}\tests
Source: ..\tests\rtestV1V2.imach; DestDir: {app}\tests
Source: ..\tests\testV2.imach; DestDir: {app}\tests
Source: ..\tests\rtestV2.imach; DestDir: {app}\tests
Source: ..\tests\data\data2.txt; DestDir: {app}\tests\data
;;Then add a [Run] section entry, telling Setup to execute the EXE after all other installation steps:

[Run]
;Filename: "{tmp}\ModifyAutoexec.exe"
;If the program needs additional information, such as the value of the "{app}" constant, you could pass it via a command line parameter, i.e.:
;;Filename: {tmp}\ModifyAutoexec.exe; Parameters: """{app}"""; MinVersion: 1,0
;To save some bytes, you could alternatively incorporate the installation task into your application's main EXE and have it perform the task when called with a special command line parameter. For example:
;Filename: "{app}\MyProgram.exe"; Parameters: "/DoTheTask"
;
;Inno Setup Extensions Knowledge Base
;Article 38 - Two utilities for environment variables, hosts and services changing
;http://www13.brinkster.com/vincenzog/isxart.asp?idart=38
;
;usage sample:
;
;;Components: SERVER; Filename: {app}\uninstall\envinst.exe; Parameters: "-silent -broadcast -addval -name=path -value=""{app}\lib\server"" -append"

;
;P.S. -silent is recommended for use in install scripts

[Icons]
Name: {group}\IMaCH; Filename: {app}\bin\imach.exe; Comment: IMaCh-0.99r46 0.99r46; IconFilename: {app}\imach.ico
Name: {userdesktop}\IMaCH; Filename: {app}\bin\imach.exe; Comment: IMaCh-0.99r46 0.99r46; Flags: runmaximized
Name: {group}\Visit the IMaCh web site; Filename: {app}\website.url

; NOTE: Most apps do not need registry entries to be pre-created. If you
; don't know what the registry is or if you need to use it, then chances are
; you don't need a [Registry] section.

[Registry]
; Start "Software\EuroREVES_INED\IMaCh" keys under HKEY_CURRENT_USER
; and HKEY_LOCAL_MACHINE. The flags tell it to always delete the
; "IMaCh" keys upon uninstall, and delete the "EuroREVES_INED" keys
; if there is nothing left in them.
;;Root: HKCU; Subkey: "Software\EuroREVES_INED"; Flags: uninsdeletekeyifempty
;;Root: HKCU; Subkey: "Software\EuroREVES_INED\IMaCh"; Flags: uninsdeletekey
;;Root: HKLM; Subkey: "Software\EuroREVES_INED"; Flags: uninsdeletekeyifempty
Root: HKLM; Subkey: Software\IMaCh; Flags: uninsdeletekeyifempty
Root: HKLM; Subkey: Software\IMaCh\imach; ValueType: string; ValueName: Current Version; ValueData: 0.99r46; Flags: uninsdeletekeyifempty
Root: HKLM; Subkey: Software\IMaCh\imach; ValueType: string; ValueName: InstallPath; ValueData: {app}
Root: HKLM; Subkey: Software\IMaCh\gnuplot; ValueType: string; ValueName: Current Version; ValueData: 5.1; Flags: uninsdeletekeyifempty
Root: HKLM; Subkey: Software\IMaCh\gnuplot; ValueType: string; ValueName: InstallPath; ValueData: {app}

Root: HKCR; Subkey: .gp; ValueType: string; ValueName: ; ValueData: gnuplot.exe; Flags: uninsdeletevalue
Root: HKCR; Subkey: gnuplot.exe; ValueType: string; ValueName: ; ValueData: Gnuplot File; Flags: uninsdeletekey
Root: HKCR; Subkey: gnuplot.exe\shell\open\command; ValueType: string; ValueName: ; ValueData: """{app}\bin\gnuplot.exe"" ""%1"""
Root: HKCR; Subkey: gnuplot.exe\DefaultIcon; ValueType: string; ValueName: ; ValueData: {app}\bin\gnuplot.exe,0
;
Root: HKCR; Subkey: .imach; ValueType: string; ValueName: ; ValueData: IMaChFile; Flags: uninsdeletevalue
Root: HKCR; Subkey: IMaChFile; ValueType: string; ValueName: ; ValueData: IMaCh Parameter File; Flags: uninsdeletekey
Root: HKCR; Subkey: IMaChFile\shell\edit\command; ValueType: string; ValueName: ; ValueData: """notepad"" ""%1"""; Flags: uninsdeletekey
Root: HKCR; Subkey: IMaChFile\shell\execute\command; ValueType: string; ValueName: ; ValueData: """{app}\bin\imach.exe"" ""%1"""; Flags: uninsdeletekey
Root: HKCR; Subkey: IMaChFile\DefaultIcon; ValueType: string; ValueName: ; ValueData: {app}\bin\imach.ico
;;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment; MinVersion: 0,1
;;User-specific environment variables are located at:
;
;HKEY_CURRENT_USER\Environment

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>