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

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

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