]> henry.ined.fr Git - .git/commitdiff
Inno setup for users without privilege to access Windows registries
authorN. Brouard <brouard@ined.fr>
Tue, 22 Jun 2004 12:32:24 +0000 (12:32 +0000)
committerN. Brouard <brouard@ined.fr>
Tue, 22 Jun 2004 12:32:24 +0000 (12:32 +0000)
src/imach097b-noreg.iss [new file with mode: 0644]

diff --git a/src/imach097b-noreg.iss b/src/imach097b-noreg.iss
new file mode 100644 (file)
index 0000000..3dc4f0d
--- /dev/null
@@ -0,0 +1,119 @@
+; -- IMaCh.iss --\r
+;\r
+\r
+; SEE THE DOCUMENTATION FOR DETAILS ON CREATING .ISS SCRIPT FILES!\r
+\r
+[Setup]\r
+AppName=IMaCh\r
+AppVerName=IMaCh Version 0.97b\r
+AppCopyright=Copyright (C) 2002-2004 INED/EUROREVES/Institut de longĂ©vitĂ©\r
+DefaultDirName={pf}\IMaCh\r
+DefaultGroupName=IMaCh\r
+UninstallDisplayIcon={app}\imach.exe\r
+;;SetupIconFile={app}\imach.exe\r
+;;UninstallIconFile={app}\imach.ico\r
+; uncomment the following line if you want your installation to run on NT 3.51 too.\r
+; MinVersion=4,3.51\r
+;; not in no-reg ChangesAssociations=yes\r
+\r
+[Files]\r
+Source: imach.exe; DestDir: {app}\bin\r
+Source: ..\html\doc\imach.htm; DestDir: {app}\doc\r
+Source: Readme.txt; DestDir: {app}; Flags: isreadme\r
+Source: imach.ico; DestDir: {app}\bin\r
+Source: gnuplot.exe; DestDir: {app}\bin\r
+Source: wgnuplot.hlp; DestDir: {app}\bin\r
+Source: website.url; DestDir: {app}\r
+\r
+;; win95\r
+;;Source: ModifyAutoexec.exe; DestDir: {tmp}\r
+Source: wgnuplot.mnu; DestDir: {app}\bin\r
+Source: ..\html\doc\imach.htm; DestDir: {app}\doc\r
+Source: ..\html\doc\biaspar.gp; DestDir: {app}\doc\r
+Source: ..\html\doc\biaspar.htm; DestDir: {app}\doc\r
+Source: ..\html\doc\biaspar.imach; DestDir: {app}\doc\r
+Source: ..\html\doc\biaspar.log; DestDir: {app}\doc\r
+Source: ..\html\doc\biaspar-cov.htm; DestDir: {app}\doc\r
+Source: ..\html\doc\euroreves2.gif; DestDir: {app}\doc\r
+Source: ..\html\doc\logo-ined.gif; DestDir: {app}\doc\r
+Source: ..\html\doc\orbiaspar.txt; DestDir: {app}\doc\r
+Source: ..\html\doc\rbiaspar.imach; DestDir: {app}\doc\r
+Source: ..\html\doc\biaspar\prbiaspar.txt; DestDir: {app}\doc\biaspar\\r
+Source: ..\html\doc\biaspar\ilkrbiaspar.txt; DestDir: {app}\doc\biaspar\\r
+Source: ..\html\doc\biaspar\powrbiaspar.txt; DestDir: {app}\doc\biaspar\\r
+Source: ..\html\doc\biaspar\plrbiaspar.txt; DestDir: {app}\doc\biaspar\\r
+Source: ..\html\doc\biaspar\pijrbiaspar.txt; DestDir: {app}\doc\biaspar\\r
+Source: ..\html\doc\biaspar\probrbiaspar.txt; DestDir: {app}\doc\biaspar\\r
+Source: ..\html\doc\biaspar\probcovrbiaspar.txt; DestDir: {app}\doc\biaspar\\r
+Source: ..\html\doc\biaspar\probcorrbiaspar.txt; DestDir: {app}\doc\biaspar\\r
+Source: ..\html\doc\biaspar\trbiaspar.txt; DestDir: {app}\doc\biaspar\\r
+Source: ..\html\doc\biaspar\erbiaspar.txt; DestDir: {app}\doc\biaspar\\r
+Source: ..\html\doc\biaspar\vrbiaspar.txt; DestDir: {app}\doc\biaspar\\r
+Source: ..\html\doc\biaspar\prmorprev1-stablbased-rbiaspar.txt; DestDir: {app}\doc\biaspar\\r
+Source: ..\html\doc\biaspar\vplrbiaspar.txt; DestDir: {app}\doc\biaspar\\r
+Source: ..\html\doc\biaspar\vbiaspar11.png; DestDir: {app}\doc\biaspar\\r
+Source: ..\html\doc\biaspar\vbiaspar21.png; DestDir: {app}\doc\biaspar\\r
+Source: ..\html\doc\biaspar\ebiaspar1.png; DestDir: {app}\doc\biaspar\\r
+Source: ..\html\doc\biaspar\expbiaspar11.png; DestDir: {app}\doc\biaspar\\r
+Source: ..\html\doc\biaspar\expbiaspar21.png; DestDir: {app}\doc\biaspar\\r
+Source: ..\html\doc\biaspar\pbiaspar11.png; DestDir: {app}\doc\biaspar\\r
+Source: ..\html\doc\biaspar\pbiaspar21.png; DestDir: {app}\doc\biaspar\\r
+Source: ..\html\doc\biaspar\pebiaspar11.png; DestDir: {app}\doc\biaspar\\r
+Source: ..\html\doc\biaspar\pebiaspar12.png; DestDir: {app}\doc\biaspar\\r
+Source: ..\html\doc\biaspar\varpijgrbiaspar113-12.png; DestDir: {app}\doc\biaspar\\r
+Source: ..\html\doc\biaspar\varpijgrbiaspar121-12.png; DestDir: {app}\doc\biaspar\\r
+Source: ..\html\doc\biaspar\varpijgrbiaspar123-12.png; DestDir: {app}\doc\biaspar\\r
+Source: ..\html\doc\biaspar\varpijgrbiaspar121-13.png; DestDir: {app}\doc\biaspar\\r
+Source: ..\html\doc\biaspar\varpijgrbiaspar123-13.png; DestDir: {app}\doc\biaspar\\r
+Source: ..\html\doc\biaspar\varpijgrbiaspar123-21.png; DestDir: {app}\doc\biaspar\\r
+Source: ..\html\doc\biaspar\varmuptjgr-stablbased-biaspar1.png; DestDir: {app}\doc\biaspar\\r
+Source: ..\html\doc\mydata.txt; DestDir: {app}\doc\r
+Source: ..\html\doc\mypar.imach; DestDir: {app}\doc\r
+;;Then add a [Run] section entry, telling Setup to execute the EXE after all other installation steps:\r
+\r
+[Run]\r
+;Filename: "{tmp}\ModifyAutoexec.exe"\r
+;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.:\r
+;;Filename: {tmp}\ModifyAutoexec.exe; Parameters: """{app}"""; MinVersion: 1,0\r
+;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:\r
+;Filename: "{app}\MyProgram.exe"; Parameters: "/DoTheTask"\r
+;\r
+;Inno Setup Extensions Knowledge Base\r
+;Article 38 - Two utilities for environment variables, hosts and services changing\r
+;http://www13.brinkster.com/vincenzog/isxart.asp?idart=38\r
+;\r
+;usage sample:\r
+;\r
+;;Components: SERVER; Filename: {app}\uninstall\envinst.exe; Parameters: "-silent -broadcast -addval -name=path -value=""{app}\lib\server"" -append"\r
+\r
+;\r
+;P.S. -silent is recommended for use in install scripts\r
+\r
+\r
+\r
+[Icons]\r
+Name: {group}\IMaCH; Filename: {app}\bin\imach.exe; Comment: IMaCh 0.97b; IconFilename: {app}\imach.ico\r
+Name: {userdesktop}\IMaCH; Filename: {app}\bin\imach.exe; Comment: IMach 0.97b; Flags: runmaximized\r
+Name: {group}\Visit the IMaCh web site; Filename: {app}\website.url\r
+\r
+; NOTE: Most apps do not need registry entries to be pre-created. If you\r
+; don't know what the registry is or if you need to use it, then chances are\r
+; you don't need a [Registry] section.\r
+\r
+;[Registry]\r
+;Root: HKLM; Subkey: Software\IMaCh; Flags: uninsdeletekeyifempty\r
+;Root: HKLM; Subkey: Software\IMaCh\imach; ValueType: string; ValueName: Current Version; ValueData: 0.97b; Flags: uninsdeletekeyifempty\r
+;Root: HKLM; Subkey: Software\IMaCh\imach; ValueType: string; ValueName: InstallPath; ValueData: {app}\r
+;Root: HKLM; Subkey: Software\IMaCh\gnuplot; ValueType: string; ValueName: Current Version; ValueData: 4.0; Flags: uninsdeletekeyifempty\r
+;Root: HKLM; Subkey: Software\IMaCh\gnuplot; ValueType: string; ValueName: InstallPath; ValueData: {app}\r
+\r
+;Root: HKCR; Subkey: .gp; ValueType: string; ValueName: ; ValueData: gnuplot.exe; Flags: uninsdeletevalue\r
+;Root: HKCR; Subkey: gnuplot.exe; ValueType: string; ValueName: ; ValueData: Gnuplot File; Flags: uninsdeletekey\r
+;Root: HKCR; Subkey: gnuplot.exe\shell\open\command; ValueType: string; ValueName: ; ValueData: """{app}\bin\gnuplot.exe"" ""%1"""\r
+;Root: HKCR; Subkey: gnuplot.exe\DefaultIcon; ValueType: string; ValueName: ; ValueData: {app}\bin\gnuplot.exe,0\r
+;\r
+;Root: HKCR; Subkey: .imach; ValueType: string; ValueName: ; ValueData: IMaChFile; Flags: uninsdeletevalue\r
+;Root: HKCR; Subkey: IMaChFile; ValueType: string; ValueName: ; ValueData: IMaCh Parameter File; Flags: uninsdeletekey\r
+;Root: HKCR; Subkey: IMaChFile\shell\edit\command; ValueType: string; ValueName: ; ValueData: """notepad"" ""%1"""; Flags: uninsdeletekey\r
+;Root: HKCR; Subkey: IMaChFile\shell\execute\command; ValueType: string; ValueName: ; ValueData: """{app}\bin\imach.exe"" ""%1"""; Flags: uninsdeletekey\r
+;Root: HKCR; Subkey: IMaChFile\DefaultIcon; ValueType: string; ValueName: ; ValueData: {app}\bin\imach.ico\r