--- imach/src/setup.iss 2009/10/29 13:20:33 1.10 +++ imach/src/setup.iss 2014/06/10 21:25:04 1.11 @@ -0,0 +1,165 @@ +; -- IMaCh.iss -- +; $Id: setup.iss,v 1.11 2014/06/10 21:25:04 brouard Exp $ +; $State: Exp $ +; $Log: setup.iss,v $ +; Revision 1.11 2014/06/10 21:25:04 brouard +; Author: Nicolas Brouard +; +; 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.98nR +AppVerName=IMaCh-0.98nR Version 0.98nR +AppCopyright=Copyright (C) 2002-2015 INED-EUROREVES-Institut de longevite-Japan Society for the Promotion of Science (Grant-in-Aid for Scientific Research 25293121) +DefaultDirName={pf}\IMaCh-0.98nR +DefaultGroupName=IMaCh +OutputBaseFilename=imach-0.98nR-1-setup +UninstallDisplayIcon={app}\imach.exe +InfoBeforeFile=README.txt +;;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] +Source: imach.exe; 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: 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 +;;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.98nR 0.98nR; IconFilename: {app}\imach.ico +Name: {userdesktop}\IMaCH; Filename: {app}\bin\imach.exe; Comment: IMaCh-0.98nR 0.98nR; 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.98nR; 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: 4.0; 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