about summary refs log tree commit diff stats
path: root/PACKAGE/lynx-curses.iss
diff options
context:
space:
mode:
Diffstat (limited to 'PACKAGE/lynx-curses.iss')
-rw-r--r--PACKAGE/lynx-curses.iss65
1 files changed, 55 insertions, 10 deletions
diff --git a/PACKAGE/lynx-curses.iss b/PACKAGE/lynx-curses.iss
index 07180c46..1e17b057 100644
--- a/PACKAGE/lynx-curses.iss
+++ b/PACKAGE/lynx-curses.iss
@@ -1,6 +1,10 @@
-; $LynxId: lynx-curses.iss,v 1.1 2007/07/01 21:56:22 tom Exp $

-; Script generated by the Inno Setup Script Wizard.

-; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

+; $LynxId: lynx-curses.iss,v 1.2 2007/08/02 00:09:46 tom Exp $

+;

+; This script assumes environment variables have been set, e.g., to point to

+; data which is used by the installer:

+;

+; LYNX_DOCSDIR - files and subdirectories installed from Unix with "make install-doc"

+; LYNX_HELPDIR - files and subdirectories installed from Unix with "make install-help"

 

 #define MyAppName "Lynx"

 #define MyAppVerName "Lynx 2.8.7dev.5"

@@ -8,6 +12,21 @@
 #define MyAppURL "http://lynx.isc.org"

 #define MyAppExeName "lynx.exe"

 

+#define BinsSrcDir GetEnv("LYNX_BINDIR")

+#if BinsSrcDir == ""

+#define BinsSrcDir "..\bin"

+#endif

+

+#define DocsSrcDir GetEnv("LYNX_DOCSDIR")

+#if DocsSrcDir == ""

+#define DocsSrcDir "..\docs"

+#endif

+

+#define HelpSrcDir GetEnv("LYNX_HELPDIR")

+#if HelpSrcDir == ""

+#define HelpSrcDir "..\lynx_help"

+#endif

+

 [Setup]

 AppName={#MyAppName}

 AppVerName={#MyAppVerName}

@@ -18,10 +37,10 @@ AppUpdatesURL={#MyAppURL}
 DefaultDirName={pf}\{#MyAppName}

 DefaultGroupName={#MyAppName}

 AllowNoIcons=yes

-LicenseFile=D:\cygwin\home\dicketh\play\lynx-vc\COPYHEADER

-InfoBeforeFile=D:\cygwin\home\dicketh\play\lynx-vc\README

-OutputDir=D:\cygwin\home\dicketh\play\lynx-vc\PACKAGE\lynx-setup

-OutputBaseFilename=setup

+LicenseFile=..\COPYHEADER

+InfoBeforeFile=..\README

+OutputDir=..\PACKAGE\lynx-setup

+OutputBaseFilename=lynx287dev-setup

 Compression=lzma

 SolidCompression=yes

 

@@ -31,14 +50,40 @@ Name: "english"; MessagesFile: "compiler:Default.isl"
 [Tasks]

 Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

 

+[Dirs]

+Name: "{app}\doc"

+Name: "{app}\doc\samples"

+Name: "{app}\doc\test"

+Name: "{app}\help"

+Name: "{app}\help\keystrokes"

+Name: "{app}\icon"

+Name: "{app}\tmp"

+

 [Files]

-Source: "D:\cygwin\home\dicketh\play\lynx-vc\bin\lynx.exe"; DestDir: "{app}"; Flags: ignoreversion

+#emit 'Source: "' + BinsSrcDir + '\lynx-cs.exe"; DestDir: "{app}"; DestName: lynx.exe; Flags: ignoreversion'

+#emit 'Source: "' + DocsSrcDir + '\*.*"; DestDir: "{app}\doc"; Flags: '

+#emit 'Source: "' + DocsSrcDir + '\samples\*.*"; DestDir: "{app}\doc\samples"; Flags: '

+#emit 'Source: "' + DocsSrcDir + '\test\*.*"; DestDir: "{app}\doc\test"; Flags: '

+#emit 'Source: "' + HelpSrcDir + '\*.*"; DestDir: "{app}\help"; Flags: '

+#emit 'Source: "' + HelpSrcDir + '\keystrokes\*.*"; DestDir: "{app}\help\keystrokes"; Flags: '

+

+; some of these data files are from an earlier installer by Claudio Santambrogio

+Source: "..\samples\lynx.ico"; DestDir: "{app}\icon"

+Source: "..\samples\lynx.bat"; DestDir: "{app}"

+Source: "..\samples\jumps.htm"; DestDir: "{app}"

+Source: "..\samples\home.htm"; DestDir: "{app}"

+Source: "..\samples\lynx_bookmarks.htm"; DestDir: "{app}"

+Source: "..\samples\opaque.lss"; DestDir: "{app}"

+Source: "..\samples\lynx.bat"; DestDir: "{app}"

+Source: "..\samples\lynx-demo.cfg"; DestDir: "{app}"

+Source: "..\lynx.man"; DestDir: "{app}"

+Source: "..\lynx.cfg"; DestDir: "{app}"

 ; NOTE: Don't use "Flags: ignoreversion" on any shared system files

 

 [Icons]

-Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"

+Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; IconFilename: ..\samples\lynx.ico

 Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"

-Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon

+Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon; IconFilename: ..\samples\lynx.ico

 

 [Run]

 Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#MyAppName}}"; Flags: nowait postinstall skipifsilent