File:  [Local Repository] / imach / src / setup.iss
Revision 1.1: download - view: text, annotated - select for diffs
Wed May 4 17:24:51 2005 UTC (19 years, 6 months ago) by brouard
Branches: MAIN
CVS tags: HEAD
Output of make setup.iss using setup.iss.in as a template.
setup.iss can be compile with Inno Setup compiler to get the IMaCh setup.
c:\Program Files\Inno Setup 4\Compile32.exe /cc setup.iss

In fact we cross compile from Linux to get imach.exe
and are using wine under Linux to run Inno Setup :
wine "C:////Program Files////Inno Setup 4////Compil32.exe" /cc setup.iss

; -- IMaCh.iss --
; $Id: 
;

; SEE THE DOCUMENTATION FOR DETAILS ON CREATING .ISS SCRIPT FILES!

[Setup]
AppName=IMaCh
AppVerName=IMaCh Version 0.97b
AppCopyright=Copyright (C)  2002-2003-2004-2005 INED-EUROREVES-Institut de longévité
DefaultDirName={pf}\IMaCh
DefaultGroupName=IMaCh
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\mydata.txt; DestDir: {app}\doc
Source: ..\html\doc\mypar.imach; 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.97b; IconFilename: {app}\imach.ico
Name: {userdesktop}\IMaCH; Filename: {app}\bin\imach.exe; Comment: IMaCh@ 0.97b; 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.97b; 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

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