File:  [Local Repository] / imach / src / setup.iss.in
Revision 1.1: download - view: text, annotated - select for diffs
Wed May 4 17:21:23 2005 UTC (19 years, 1 month ago) by brouard
Branches: MAIN
CVS tags: HEAD
setup.iss.in is a template for imach Inno Setup
Please do make setup.iss to get it.

    1: ; -- IMaCh.iss --
    2: ; $Id: 
    3: ;
    4: 
    5: ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING .ISS SCRIPT FILES!
    6: 
    7: [Setup]
    8: AppName=@APPNAME@
    9: AppVerName=@APPNAME@ Version @VERSION@
   10: AppCopyright=@COPYRIGHT@
   11: DefaultDirName={pf}\IMaCh
   12: DefaultGroupName=IMaCh
   13: UninstallDisplayIcon={app}\imach.exe
   14: InfoBeforeFile=@INFOBEFOREFILE@
   15: ;;SetupIconFile={app}\imach.exe
   16: ;;UninstallIconFile={app}\imach.ico
   17: ; uncomment the following line if you want your installation to run on NT 3.51 too.
   18: ; MinVersion=4,3.51
   19: ChangesAssociations=yes
   20: 
   21: [Files]
   22: Source: imach.exe; DestDir: {app}\bin
   23: Source: ..\html\doc\imach.htm; DestDir: {app}\doc
   24: Source: Readme.txt; DestDir: {app}; Flags: isreadme
   25: Source: imach.ico; DestDir: {app}\bin
   26: Source: gnuplot.exe; DestDir: {app}\bin
   27: Source: wgnuplot.hlp; DestDir: {app}\bin
   28: Source: website.url; DestDir: {app}
   29: 
   30: ;; win95
   31: ;;Source: ModifyAutoexec.exe; DestDir: {tmp}
   32: Source: wgnuplot.mnu; DestDir: {app}\bin
   33: Source: ..\html\doc\imach.htm; DestDir: {app}\doc
   34: Source: ..\html\doc\biaspar.gp; DestDir: {app}\doc
   35: Source: ..\html\doc\biaspar.htm; DestDir: {app}\doc
   36: Source: ..\html\doc\biaspar.imach; DestDir: {app}\doc
   37: Source: ..\html\doc\biaspar.log; DestDir: {app}\doc
   38: Source: ..\html\doc\biaspar-cov.htm; DestDir: {app}\doc
   39: Source: ..\html\doc\euroreves2.gif; DestDir: {app}\doc
   40: Source: ..\html\doc\logo-ined.gif; DestDir: {app}\doc
   41: Source: ..\html\doc\orbiaspar.txt; DestDir: {app}\doc
   42: Source: ..\html\doc\rbiaspar.imach; DestDir: {app}\doc
   43: Source: ..\html\doc\biaspar\prbiaspar.txt; DestDir: {app}\doc\biaspar\
   44: Source: ..\html\doc\biaspar\ilkrbiaspar.txt; DestDir: {app}\doc\biaspar\
   45: Source: ..\html\doc\biaspar\powrbiaspar.txt; DestDir: {app}\doc\biaspar\
   46: Source: ..\html\doc\biaspar\plrbiaspar.txt; DestDir: {app}\doc\biaspar\
   47: Source: ..\html\doc\biaspar\pijrbiaspar.txt; DestDir: {app}\doc\biaspar\
   48: Source: ..\html\doc\biaspar\probrbiaspar.txt; DestDir: {app}\doc\biaspar\
   49: Source: ..\html\doc\biaspar\probcovrbiaspar.txt; DestDir: {app}\doc\biaspar\
   50: Source: ..\html\doc\biaspar\probcorrbiaspar.txt; DestDir: {app}\doc\biaspar\
   51: Source: ..\html\doc\biaspar\trbiaspar.txt; DestDir: {app}\doc\biaspar\
   52: Source: ..\html\doc\biaspar\erbiaspar.txt; DestDir: {app}\doc\biaspar\
   53: Source: ..\html\doc\biaspar\vrbiaspar.txt; DestDir: {app}\doc\biaspar\
   54: Source: ..\html\doc\biaspar\prmorprev1-stablbased-rbiaspar.txt; DestDir: {app}\doc\biaspar\
   55: Source: ..\html\doc\biaspar\vplrbiaspar.txt; DestDir: {app}\doc\biaspar\
   56: Source: ..\html\doc\biaspar\vbiaspar11.png; DestDir: {app}\doc\biaspar\
   57: Source: ..\html\doc\biaspar\vbiaspar21.png; DestDir: {app}\doc\biaspar\
   58: Source: ..\html\doc\biaspar\ebiaspar1.png; DestDir: {app}\doc\biaspar\
   59: Source: ..\html\doc\biaspar\expbiaspar11.png; DestDir: {app}\doc\biaspar\
   60: Source: ..\html\doc\biaspar\expbiaspar21.png; DestDir: {app}\doc\biaspar\
   61: Source: ..\html\doc\biaspar\pbiaspar11.png; DestDir: {app}\doc\biaspar\
   62: Source: ..\html\doc\biaspar\pbiaspar21.png; DestDir: {app}\doc\biaspar\
   63: Source: ..\html\doc\biaspar\pebiaspar11.png; DestDir: {app}\doc\biaspar\
   64: Source: ..\html\doc\biaspar\pebiaspar12.png; DestDir: {app}\doc\biaspar\
   65: Source: ..\html\doc\biaspar\varpijgrbiaspar113-12.png; DestDir: {app}\doc\biaspar\
   66: Source: ..\html\doc\biaspar\varpijgrbiaspar121-12.png; DestDir: {app}\doc\biaspar\
   67: Source: ..\html\doc\biaspar\varpijgrbiaspar123-12.png; DestDir: {app}\doc\biaspar\
   68: Source: ..\html\doc\biaspar\varpijgrbiaspar121-13.png; DestDir: {app}\doc\biaspar\
   69: Source: ..\html\doc\biaspar\varpijgrbiaspar123-13.png; DestDir: {app}\doc\biaspar\
   70: Source: ..\html\doc\biaspar\varpijgrbiaspar123-21.png; DestDir: {app}\doc\biaspar\
   71: Source: ..\html\doc\biaspar\varmuptjgr-stablbased-biaspar1.png; DestDir: {app}\doc\biaspar\
   72: Source: ..\html\doc\mydata.txt; DestDir: {app}\doc
   73: Source: ..\html\doc\mypar.imach; DestDir: {app}\doc
   74: ;;Then add a [Run] section entry, telling Setup to execute the EXE after all other installation steps:
   75: 
   76: [Run]
   77: ;Filename: "{tmp}\ModifyAutoexec.exe"
   78: ;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.:
   79: ;;Filename: {tmp}\ModifyAutoexec.exe; Parameters: """{app}"""; MinVersion: 1,0
   80: ;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:
   81: ;Filename: "{app}\MyProgram.exe"; Parameters: "/DoTheTask"
   82: ;
   83: ;Inno Setup Extensions Knowledge Base
   84: ;Article 38 - Two utilities for environment variables, hosts and services changing
   85: ;http://www13.brinkster.com/vincenzog/isxart.asp?idart=38
   86: ;
   87: ;usage sample:
   88: ;
   89: ;;Components: SERVER; Filename: {app}\uninstall\envinst.exe; Parameters: "-silent -broadcast -addval -name=path -value=""{app}\lib\server"" -append"
   90: 
   91: ;
   92: ;P.S. -silent is recommended for use in install scripts
   93: 
   94: [Icons]
   95: Name: {group}\IMaCH; Filename: {app}\bin\imach.exe; Comment: @APPNAME@ @VERSION@; IconFilename: {app}\imach.ico
   96: Name: {userdesktop}\IMaCH; Filename: {app}\bin\imach.exe; Comment: @APPNAME@@ @VERSION@; Flags: runmaximized
   97: Name: {group}\Visit the IMaCh web site; Filename: {app}\website.url
   98: 
   99: ; NOTE: Most apps do not need registry entries to be pre-created. If you
  100: ; don't know what the registry is or if you need to use it, then chances are
  101: ; you don't need a [Registry] section.
  102: 
  103: [Registry]
  104: ; Start "Software\EuroREVES_INED\IMaCh" keys under HKEY_CURRENT_USER
  105: ; and HKEY_LOCAL_MACHINE. The flags tell it to always delete the
  106: ; "IMaCh" keys upon uninstall, and delete the "EuroREVES_INED" keys
  107: ; if there is nothing left in them.
  108: ;;Root: HKCU; Subkey: "Software\EuroREVES_INED"; Flags: uninsdeletekeyifempty
  109: ;;Root: HKCU; Subkey: "Software\EuroREVES_INED\IMaCh"; Flags: uninsdeletekey
  110: ;;Root: HKLM; Subkey: "Software\EuroREVES_INED"; Flags: uninsdeletekeyifempty
  111: Root: HKLM; Subkey: Software\IMaCh; Flags: uninsdeletekeyifempty
  112: Root: HKLM; Subkey: Software\IMaCh\imach; ValueType: string; ValueName: Current Version; ValueData: @VERSION@; Flags: uninsdeletekeyifempty
  113: Root: HKLM; Subkey: Software\IMaCh\imach; ValueType: string; ValueName: InstallPath; ValueData: {app}
  114: Root: HKLM; Subkey: Software\IMaCh\gnuplot; ValueType: string; ValueName: Current Version; ValueData: @GNUPLOTVERSION@; Flags: uninsdeletekeyifempty
  115: Root: HKLM; Subkey: Software\IMaCh\gnuplot; ValueType: string; ValueName: InstallPath; ValueData: {app}
  116: 
  117: Root: HKCR; Subkey: .gp; ValueType: string; ValueName: ; ValueData: gnuplot.exe; Flags: uninsdeletevalue
  118: Root: HKCR; Subkey: gnuplot.exe; ValueType: string; ValueName: ; ValueData: Gnuplot File; Flags: uninsdeletekey
  119: Root: HKCR; Subkey: gnuplot.exe\shell\open\command; ValueType: string; ValueName: ; ValueData: """{app}\bin\gnuplot.exe"" ""%1"""
  120: Root: HKCR; Subkey: gnuplot.exe\DefaultIcon; ValueType: string; ValueName: ; ValueData: {app}\bin\gnuplot.exe,0
  121: ;
  122: Root: HKCR; Subkey: .imach; ValueType: string; ValueName: ; ValueData: IMaChFile; Flags: uninsdeletevalue
  123: Root: HKCR; Subkey: IMaChFile; ValueType: string; ValueName: ; ValueData: IMaCh Parameter File; Flags: uninsdeletekey
  124: Root: HKCR; Subkey: IMaChFile\shell\edit\command; ValueType: string; ValueName: ; ValueData: """notepad"" ""%1"""; Flags: uninsdeletekey
  125: Root: HKCR; Subkey: IMaChFile\shell\execute\command; ValueType: string; ValueName: ; ValueData: """{app}\bin\imach.exe"" ""%1"""; Flags: uninsdeletekey
  126: Root: HKCR; Subkey: IMaChFile\DefaultIcon; ValueType: string; ValueName: ; ValueData: {app}\bin\imach.ico
  127: ;;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment; MinVersion: 0,1
  128: ;;User-specific environment variables are located at:
  129: ;
  130: ;HKEY_CURRENT_USER\Environment

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