Annotation of imach/src/imach.iss, revision 1.3
1.1 brouard 1: ; -- IMaCh.iss --
2: ;
3:
4: ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING .ISS SCRIPT FILES!
5:
6: [Setup]
7: AppName=IMaCh
1.2 brouard 8: AppVerName=IMaCh Version 0.97b
1.3 ! brouard 9: AppCopyright=Copyright (C) 2002-2004 INED/EUROREVES
1.1 brouard 10: DefaultDirName={pf}\IMaCh
11: DefaultGroupName=IMaCh
12: UninstallDisplayIcon={app}\imach.exe
1.2 brouard 13: ;;SetupIconFile={app}\imach.exe
14: ;;UninstallIconFile={app}\imach.ico
1.1 brouard 15: ; uncomment the following line if you want your installation to run on NT 3.51 too.
16: ; MinVersion=4,3.51
17: ChangesAssociations=yes
18:
19: [Files]
1.2 brouard 20: Source: imach.exe; DestDir: {app}\bin
21: Source: ..\doc\imach.htm; DestDir: {app}\doc
22: Source: Readme.txt; DestDir: {app}; Flags: isreadme
23: Source: imach.ico; DestDir: {app}\bin
24: Source: gnuplot.exe; DestDir: {app}\bin
25: Source: wgnuplot.hlp; DestDir: {app}\bin
26: Source: website.url; DestDir: {app}
27:
28: ;; win95
29: ;;Source: ModifyAutoexec.exe; DestDir: {tmp}
30: Source: ..\mytry\mypar.imach; DestDir: {app}\mytry
31: Source: ..\mytry\mypar.gp; DestDir: {app}\mytry
32: Source: wgnuplot.mnu; DestDir: {app}\bin
33: ;;Then add a [Run] section entry, telling Setup to execute the EXE after all other installation steps:
34:
35: [Run]
36: ;Filename: "{tmp}\ModifyAutoexec.exe"
37: ;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.:
38: ;;Filename: {tmp}\ModifyAutoexec.exe; Parameters: """{app}"""; MinVersion: 1,0
39: ;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:
40: ;Filename: "{app}\MyProgram.exe"; Parameters: "/DoTheTask"
41: ;
42: ;Inno Setup Extensions Knowledge Base
43: ;Article 38 - Two utilities for environment variables, hosts and services changing
44: ;http://www13.brinkster.com/vincenzog/isxart.asp?idart=38
45: ;Author: Andrey Adamovich
46: ;
47: ;usage sample:
48: ;
49: ;;Components: SERVER; Filename: {app}\uninstall\envinst.exe; Parameters: "-silent -broadcast -addval -name=path -value=""{app}\lib\server"" -append"
50:
51: ;
52: ;P.S. -silent is recommended for use in install scripts
53:
54:
55:
1.1 brouard 56: [Icons]
1.3 ! brouard 57: Name: {group}\IMaCH; Filename: {app}\bin\imach.exe; Comment: IMaCh 0.97b; IconFilename: {app}\imach.ico
! 58: Name: {userdesktop}\IMaCH; Filename: {app}\bin\imach.exe; Comment: IMach 0.97b; Flags: runmaximized
1.2 brouard 59: Name: {group}\Visit the IMaCh web site; Filename: {app}\website.url
1.1 brouard 60:
61: ; NOTE: Most apps do not need registry entries to be pre-created. If you
62: ; don't know what the registry is or if you need to use it, then chances are
63: ; you don't need a [Registry] section.
64:
65: [Registry]
66: ; Start "Software\EuroREVES_INED\IMaCh" keys under HKEY_CURRENT_USER
67: ; and HKEY_LOCAL_MACHINE. The flags tell it to always delete the
68: ; "IMaCh" keys upon uninstall, and delete the "EuroREVES_INED" keys
69: ; if there is nothing left in them.
70: ;;Root: HKCU; Subkey: "Software\EuroREVES_INED"; Flags: uninsdeletekeyifempty
71: ;;Root: HKCU; Subkey: "Software\EuroREVES_INED\IMaCh"; Flags: uninsdeletekey
72: ;;Root: HKLM; Subkey: "Software\EuroREVES_INED"; Flags: uninsdeletekeyifempty
1.2 brouard 73: Root: HKLM; Subkey: Software\IMaCh; Flags: uninsdeletekeyifempty
74: Root: HKLM; Subkey: Software\IMaCh\imach; ValueType: string; ValueName: Current Version; ValueData: 0.97b; Flags: uninsdeletekeyifempty
75: Root: HKLM; Subkey: Software\IMaCh\imach; ValueType: string; ValueName: InstallPath; ValueData: {app}
76: Root: HKLM; Subkey: Software\IMaCh\gnuplot; ValueType: string; ValueName: Current Version; ValueData: 4.0; Flags: uninsdeletekeyifempty
77: Root: HKLM; Subkey: Software\IMaCh\gnuplot; ValueType: string; ValueName: InstallPath; ValueData: {app}
78:
79: Root: HKCR; Subkey: .gp; ValueType: string; ValueName: ; ValueData: gnuplot.exe; Flags: uninsdeletevalue
80: Root: HKCR; Subkey: gnuplot.exe; ValueType: string; ValueName: ; ValueData: Gnuplot File; Flags: uninsdeletekey
81: Root: HKCR; Subkey: gnuplot.exe\shell\open\command; ValueType: string; ValueName: ; ValueData: """{app}\bin\gnuplot.exe"" ""%1"""
82: Root: HKCR; Subkey: gnuplot.exe\DefaultIcon; ValueType: string; ValueName: ; ValueData: {app}\bin\gnuplot.exe,0
83: ;
84: Root: HKCR; Subkey: .imach; ValueType: string; ValueName: ; ValueData: IMaChFile; Flags: uninsdeletevalue
85: Root: HKCR; Subkey: IMaChFile; ValueType: string; ValueName: ; ValueData: IMaCh Parameter File; Flags: uninsdeletekey
86: Root: HKCR; Subkey: IMaChFile\shell\edit\command; ValueType: string; ValueName: ; ValueData: """wordpad"" ""%1"""; Flags: uninsdeletekey
87: Root: HKCR; Subkey: IMaChFile\shell\execute\command; ValueType: string; ValueName: ; ValueData: """{app}\bin\imach.exe"" ""%1"""; Flags: uninsdeletekey
88: Root: HKCR; Subkey: IMaChFile\DefaultIcon; ValueType: string; ValueName: ; ValueData: {app}\bin\imach.ico
89: ;;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment; MinVersion: 0,1
90: ;;User-specific environment variables are located at:
91: ;
92: ;HKEY_CURRENT_USER\Environment
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>