Annotation of imach/src/setup.iss.in, revision 1.15

1.1       brouard     1: ; -- IMaCh.iss --
1.15    ! brouard     2: ; $Id: setup.iss.in,v 1.14 2015/08/18 23:18:16 brouard Exp $
1.3       brouard     3: ;  $State: Exp $
1.11      brouard     4: ;  $Log: setup.iss.in,v $
1.15    ! brouard     5: ;  Revision 1.14  2015/08/18 23:18:16  brouard
        !             6: ;  *** empty log message ***
        !             7: ;
1.14      brouard     8: ;  Revision 1.13  2015/08/04 07:18:28  brouard
                      9: ;  *** empty log message ***
                     10: ;
1.13      brouard    11: ;  Revision 1.12  2015/03/11 13:28:31  brouard
                     12: ;  Summary: newer including both binaries 32 and 64 bits in a single installer with InnoSetup 5.5.5
                     13: ;
1.12      brouard    14: ;  Revision 1.11  2014/09/15 20:57:31  brouard
                     15: ;  *** empty log message ***
                     16: ;
1.11      brouard    17: ;  Revision 1.10  2009/10/29 13:20:46  brouard
                     18: ;  0.98l
                     19: ;
1.10      brouard    20: ;  Revision 1.9  2006/02/09 20:10:37  lievre
                     21: ;  (Module): IMACHSETUPVERSION added
                     22: ;
                     23: ;  Revision 1.8  2006/02/09 15:21:55  lievre
                     24: ;  * setup.iss.in (Module): IMACHSETUPVERSION added
                     25: ;
                     26: ;  * noreg-setup.iss (Module): added to cvs tree
                     27: ;
                     28: ;  Revision 1.7  2006/02/09 14:29:39  lievre
                     29: ;  (Module): IMACHSETUPVERSION added
                     30: ;
                     31: ;  Revision 1.6  2006/01/27 20:19:13  brouard
                     32: ;  noreg added
                     33: ;
                     34: ;  Revision 1.5  2005/09/30 18:02:25  lievre
                     35: ;  unix2dos added
1.6       brouard    36: ;
1.5       lievre     37: ;  Revision 1.4  2005/09/30 17:39:58  lievre
                     38: ;  The files mypar.txt and data1.txt added
                     39: ;
                     40: ;  Revision 1.3  2005/05/04 17:32:58  brouard
                     41: ;  Set version
1.4       lievre     42: ;
1.3       brouard    43: ;
1.1       brouard    44: ;
                     45: 
                     46: ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING .ISS SCRIPT FILES!
                     47: 
                     48: [Setup]
                     49: AppName=@APPNAME@
                     50: AppVerName=@APPNAME@ Version @VERSION@
                     51: AppCopyright=@COPYRIGHT@
1.9       lievre     52: DefaultDirName={pf}\@APPNAME@
1.1       brouard    53: DefaultGroupName=IMaCh
1.8       lievre     54: OutputBaseFilename=imach-@VERSION@-@IMACHSETUPVERSION@-@NOREG@setup
1.1       brouard    55: UninstallDisplayIcon={app}\imach.exe
1.12      brouard    56: Compression=lzma2
                     57: SolidCompression=yes
1.1       brouard    58: InfoBeforeFile=@INFOBEFOREFILE@
1.12      brouard    59: ; "ArchitecturesInstallIn64BitMode=x64" requests that the install be
                     60: ; done in "64-bit mode" on x64, meaning it should use the native
                     61: ; 64-bit Program Files directory and the 64-bit view of the registry.
                     62: ; On all other architectures it will install in "32-bit mode".
                     63: ArchitecturesInstallIn64BitMode=x64
                     64: ; Note: We don't set ProcessorsAllowed because we want this
                     65: ; installation to run on all architectures (including Itanium,
                     66: ; since it's capable of running 32-bit code too).
1.1       brouard    67: ;;SetupIconFile={app}\imach.exe
                     68: ;;UninstallIconFile={app}\imach.ico
                     69: ; uncomment the following line if you want your installation to run on NT 3.51 too.
                     70: ; MinVersion=4,3.51
1.6       brouard    71: 
                     72: @NOTINNOREG@ChangesAssociations=yes
1.1       brouard    73: 
                     74: [Files]
1.12      brouard    75: ; Install IMaCh-x64@VERSION@.exe if running in 64-bit mode (x64; see above),
                     76: ; IMaCh.exe otherwise.
1.13      brouard    77: ;Source: "IMaCh-@APPCOMPILATIONMODE@64-@VERSION@.exe"; DestDir: "{app}\bin"; DestName: "IMaCh.exe"; Check: Is64BitInstallMode
                     78: Source: "..\build\icl64\Release\IMaCh-@VERSION@.exe"; DestDir: "{app}\bin"; DestName: "IMaCh.exe"; Check: Is64BitInstallMode
                     79: ;Source: "IMaCh-@APPCOMPILATIONMODE@32-@VERSION@.exe"; DestDir: "{app}\bin"; DestName: "IMaCh.exe"; Check: not Is64BitInstallMode
                     80: Source: "..\build\icl32\Release\IMaCh-@VERSION@.exe"; DestDir: "{app}\bin"; DestName: "IMaCh.exe"; Check: not Is64BitInstallMode
1.12      brouard    81: ;Source: "IMaCh.chm"; DestDir: "{app}\bin"
1.1       brouard    82: Source: ..\html\doc\imach.htm; DestDir: {app}\doc
1.6       brouard    83: Source: README.txt; DestDir: {app}; Flags: isreadme
1.1       brouard    84: Source: imach.ico; DestDir: {app}\bin
1.11      brouard    85: ;;Source: gnuplot.exe; DestDir: {app}\bin
1.15    ! brouard    86: Source: ..\distributions\windows\gnuplot_bin\gnuplot_bin_501\bin\*; DestDir: {app}\bin
        !            87: Source: ..\distributions\windows\gnuplot_bin\gnuplot_bin_501\etc\*; DestDir: {app}\etc
1.11      brouard    88: ;;Source: wgnuplot.hlp; DestDir: {app}\bin
1.1       brouard    89: Source: website.url; DestDir: {app}
                     90: 
                     91: ;; win95
                     92: ;;Source: ModifyAutoexec.exe; DestDir: {tmp}
1.11      brouard    93: ;;Source: wgnuplot.mnu; DestDir: {app}\bin
1.1       brouard    94: Source: ..\html\doc\imach.htm; DestDir: {app}\doc
                     95: Source: ..\html\doc\biaspar.gp; DestDir: {app}\doc
                     96: Source: ..\html\doc\biaspar.htm; DestDir: {app}\doc
                     97: Source: ..\html\doc\biaspar.imach; DestDir: {app}\doc
                     98: Source: ..\html\doc\biaspar.log; DestDir: {app}\doc
                     99: Source: ..\html\doc\biaspar-cov.htm; DestDir: {app}\doc
                    100: Source: ..\html\doc\euroreves2.gif; DestDir: {app}\doc
                    101: Source: ..\html\doc\logo-ined.gif; DestDir: {app}\doc
                    102: Source: ..\html\doc\orbiaspar.txt; DestDir: {app}\doc
                    103: Source: ..\html\doc\rbiaspar.imach; DestDir: {app}\doc
                    104: Source: ..\html\doc\biaspar\prbiaspar.txt; DestDir: {app}\doc\biaspar\
                    105: Source: ..\html\doc\biaspar\ilkrbiaspar.txt; DestDir: {app}\doc\biaspar\
                    106: Source: ..\html\doc\biaspar\powrbiaspar.txt; DestDir: {app}\doc\biaspar\
                    107: Source: ..\html\doc\biaspar\plrbiaspar.txt; DestDir: {app}\doc\biaspar\
                    108: Source: ..\html\doc\biaspar\pijrbiaspar.txt; DestDir: {app}\doc\biaspar\
                    109: Source: ..\html\doc\biaspar\probrbiaspar.txt; DestDir: {app}\doc\biaspar\
                    110: Source: ..\html\doc\biaspar\probcovrbiaspar.txt; DestDir: {app}\doc\biaspar\
                    111: Source: ..\html\doc\biaspar\probcorrbiaspar.txt; DestDir: {app}\doc\biaspar\
                    112: Source: ..\html\doc\biaspar\trbiaspar.txt; DestDir: {app}\doc\biaspar\
                    113: Source: ..\html\doc\biaspar\erbiaspar.txt; DestDir: {app}\doc\biaspar\
                    114: Source: ..\html\doc\biaspar\vrbiaspar.txt; DestDir: {app}\doc\biaspar\
                    115: Source: ..\html\doc\biaspar\prmorprev1-stablbased-rbiaspar.txt; DestDir: {app}\doc\biaspar\
                    116: Source: ..\html\doc\biaspar\vplrbiaspar.txt; DestDir: {app}\doc\biaspar\
                    117: Source: ..\html\doc\biaspar\vbiaspar11.png; DestDir: {app}\doc\biaspar\
                    118: Source: ..\html\doc\biaspar\vbiaspar21.png; DestDir: {app}\doc\biaspar\
                    119: Source: ..\html\doc\biaspar\ebiaspar1.png; DestDir: {app}\doc\biaspar\
                    120: Source: ..\html\doc\biaspar\expbiaspar11.png; DestDir: {app}\doc\biaspar\
                    121: Source: ..\html\doc\biaspar\expbiaspar21.png; DestDir: {app}\doc\biaspar\
                    122: Source: ..\html\doc\biaspar\pbiaspar11.png; DestDir: {app}\doc\biaspar\
                    123: Source: ..\html\doc\biaspar\pbiaspar21.png; DestDir: {app}\doc\biaspar\
                    124: Source: ..\html\doc\biaspar\pebiaspar11.png; DestDir: {app}\doc\biaspar\
                    125: Source: ..\html\doc\biaspar\pebiaspar12.png; DestDir: {app}\doc\biaspar\
                    126: Source: ..\html\doc\biaspar\varpijgrbiaspar113-12.png; DestDir: {app}\doc\biaspar\
                    127: Source: ..\html\doc\biaspar\varpijgrbiaspar121-12.png; DestDir: {app}\doc\biaspar\
                    128: Source: ..\html\doc\biaspar\varpijgrbiaspar123-12.png; DestDir: {app}\doc\biaspar\
                    129: Source: ..\html\doc\biaspar\varpijgrbiaspar121-13.png; DestDir: {app}\doc\biaspar\
                    130: Source: ..\html\doc\biaspar\varpijgrbiaspar123-13.png; DestDir: {app}\doc\biaspar\
                    131: Source: ..\html\doc\biaspar\varpijgrbiaspar123-21.png; DestDir: {app}\doc\biaspar\
                    132: Source: ..\html\doc\biaspar\varmuptjgr-stablbased-biaspar1.png; DestDir: {app}\doc\biaspar\
1.9       lievre    133: Source: ..\html\doc\data\mydata.txt; DestDir: {app}\doc\data
1.1       brouard   134: Source: ..\html\doc\mypar.imach; DestDir: {app}\doc
1.4       lievre    135: Source: ..\html\doc\data1.txt; DestDir: {app}\doc
1.1       brouard   136: ;;Then add a [Run] section entry, telling Setup to execute the EXE after all other installation steps:
                    137: 
                    138: [Run]
                    139: ;Filename: "{tmp}\ModifyAutoexec.exe"
                    140: ;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.:
                    141: ;;Filename: {tmp}\ModifyAutoexec.exe; Parameters: """{app}"""; MinVersion: 1,0
                    142: ;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:
                    143: ;Filename: "{app}\MyProgram.exe"; Parameters: "/DoTheTask"
                    144: ;
                    145: ;Inno Setup Extensions Knowledge Base
                    146: ;Article 38 - Two utilities for environment variables, hosts and services changing
                    147: ;http://www13.brinkster.com/vincenzog/isxart.asp?idart=38
                    148: ;
                    149: ;usage sample:
                    150: ;
                    151: ;;Components: SERVER; Filename: {app}\uninstall\envinst.exe; Parameters: "-silent -broadcast -addval -name=path -value=""{app}\lib\server"" -append"
                    152: 
                    153: ;
                    154: ;P.S. -silent is recommended for use in install scripts
                    155: 
                    156: [Icons]
                    157: Name: {group}\IMaCH; Filename: {app}\bin\imach.exe; Comment: @APPNAME@ @VERSION@; IconFilename: {app}\imach.ico
1.6       brouard   158: Name: {userdesktop}\IMaCH; Filename: {app}\bin\imach.exe; Comment: @APPNAME@ @VERSION@; Flags: runmaximized
1.1       brouard   159: Name: {group}\Visit the IMaCh web site; Filename: {app}\website.url
                    160: 
                    161: ; NOTE: Most apps do not need registry entries to be pre-created. If you
                    162: ; don't know what the registry is or if you need to use it, then chances are
                    163: ; you don't need a [Registry] section.
                    164: 
                    165: [Registry]
                    166: ; Start "Software\EuroREVES_INED\IMaCh" keys under HKEY_CURRENT_USER
                    167: ; and HKEY_LOCAL_MACHINE. The flags tell it to always delete the
                    168: ; "IMaCh" keys upon uninstall, and delete the "EuroREVES_INED" keys
                    169: ; if there is nothing left in them.
                    170: ;;Root: HKCU; Subkey: "Software\EuroREVES_INED"; Flags: uninsdeletekeyifempty
                    171: ;;Root: HKCU; Subkey: "Software\EuroREVES_INED\IMaCh"; Flags: uninsdeletekey
                    172: ;;Root: HKLM; Subkey: "Software\EuroREVES_INED"; Flags: uninsdeletekeyifempty
1.6       brouard   173: @NOTINNOREG@Root: HKLM; Subkey: Software\IMaCh; Flags: uninsdeletekeyifempty
                    174: @NOTINNOREG@Root: HKLM; Subkey: Software\IMaCh\imach; ValueType: string; ValueName: Current Version; ValueData: @VERSION@; Flags: uninsdeletekeyifempty
                    175: @NOTINNOREG@Root: HKLM; Subkey: Software\IMaCh\imach; ValueType: string; ValueName: InstallPath; ValueData: {app}
                    176: @NOTINNOREG@Root: HKLM; Subkey: Software\IMaCh\gnuplot; ValueType: string; ValueName: Current Version; ValueData: @GNUPLOTVERSION@; Flags: uninsdeletekeyifempty
                    177: @NOTINNOREG@Root: HKLM; Subkey: Software\IMaCh\gnuplot; ValueType: string; ValueName: InstallPath; ValueData: {app}
                    178: 
                    179: @NOTINNOREG@Root: HKCR; Subkey: .gp; ValueType: string; ValueName: ; ValueData: gnuplot.exe; Flags: uninsdeletevalue
                    180: @NOTINNOREG@Root: HKCR; Subkey: gnuplot.exe; ValueType: string; ValueName: ; ValueData: Gnuplot File; Flags: uninsdeletekey
                    181: @NOTINNOREG@Root: HKCR; Subkey: gnuplot.exe\shell\open\command; ValueType: string; ValueName: ; ValueData: """{app}\bin\gnuplot.exe"" ""%1"""
                    182: @NOTINNOREG@Root: HKCR; Subkey: gnuplot.exe\DefaultIcon; ValueType: string; ValueName: ; ValueData: {app}\bin\gnuplot.exe,0
                    183: ;
                    184: @NOTINNOREG@Root: HKCR; Subkey: .imach; ValueType: string; ValueName: ; ValueData: IMaChFile; Flags: uninsdeletevalue
                    185: @NOTINNOREG@Root: HKCR; Subkey: IMaChFile; ValueType: string; ValueName: ; ValueData: IMaCh Parameter File; Flags: uninsdeletekey
                    186: @NOTINNOREG@Root: HKCR; Subkey: IMaChFile\shell\edit\command; ValueType: string; ValueName: ; ValueData: """notepad"" ""%1"""; Flags: uninsdeletekey
                    187: @NOTINNOREG@Root: HKCR; Subkey: IMaChFile\shell\execute\command; ValueType: string; ValueName: ; ValueData: """{app}\bin\imach.exe"" ""%1"""; Flags: uninsdeletekey
                    188: @NOTINNOREG@Root: HKCR; Subkey: IMaChFile\DefaultIcon; ValueType: string; ValueName: ; ValueData: {app}\bin\imach.ico
1.1       brouard   189: ;;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment; MinVersion: 0,1
                    190: ;;User-specific environment variables are located at:
                    191: ;
                    192: ;HKEY_CURRENT_USER\Environment

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