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

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

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