Diff for /gforth/iss.sh between versions 1.1 and 1.4

version 1.1, 2000/12/10 22:59:12 version 1.4, 2003/03/23 21:11:01
Line 1 Line 1
 #!/bin/bash  #!/bin/bash
 # This is the horror shell script to create an automatic install for  
 # Windoze.  #Copyright (C) 2000,2003 Free Software Foundation, Inc.
 # Note that I use sed to create a setup file  
   #This file is part of Gforth.
 # use iss.sh >iss.txt  
 # copy the resulting iss.txt to the location of your Windows installation  #Gforth is free software; you can redistribute it and/or
 # of Gforth, and start the setup compiler there.  #modify it under the terms of the GNU General Public License
   #as published by the Free Software Foundation; either version 2
 cat <<EOT  #of the License, or (at your option) any later version.
 ; This is the setup script for 4stack on Windows  
 ; Setup program is Inno Setup  #This program is distributed in the hope that it will be useful,
   #but WITHOUT ANY WARRANTY; without even the implied warranty of
 [Setup]  #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.#See the
 Bits=32  #GNU General Public License for more details.
 AppName=Gforth  
 AppVerName=gforth 0.5.0  #You should have received a copy of the GNU General Public License
 AppCopyright=Copyright 1995-2000 by Free Software Foundation  #along with this program; if not, write to the Free Software
 DefaultDirName=gforth  #Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
 DefaultGroupName=Gforth  
 AllowNoIcons=1  # This is the horror shell script to create an automatic install for
 LicenseFile=COPYING  # Windoze.
   # Note that I use sed to create a setup file
 [Dirs]  
 $(make distfiles -f Makedist | tr ' ' '\n' | (while read i; do  # use iss.sh >iss.txt
   while [ ! -z "$i" ]  # copy the resulting iss.txt to the location of your Windows installation
   do  # of Gforth, and start the setup compiler there.
     if [ -d $i ]; then echo $i; fi  
     if [ "${i%/*}" != "$i" ]; then i="${i%/*}"; else i=""; fi  cat <<EOT
   done  ; This is the setup script for 4stack on Windows
 done) | sort -u | sed \  ; Setup program is Inno Setup
   -e 's:/:\\:g' \  
   -e 's:^\(..*\)$:{app}\\\1:g')  [Setup]
   Bits=32
 [Files]  AppName=Gforth
 ; Parameter quick reference:  AppVerName=$(./gforth -v 2>&1)
 ;   "Source filename", "Dest. filename", Copy mode, Flags  AppCopyright=Copyright 1995,1996,1997,1998,2000,2003 Free Software Foundation
 "README.txt", "{app}\README.txt", copy_normal, flag_isreadme  DefaultDirName=gforth
 "cygwin1.dll", "{app}\cygwin1.dll", copy_normal,  DefaultGroupName=Gforth
 "gforth.fi", "{app}\gforth.fi", copy_normal,  AllowNoIcons=1
 $(make distfiles -f Makedist | tr ' ' '\n' | (while read i; do  LicenseFile=COPYING
   if [ ! -d $i ]; then echo $i; fi  
 done) | sed \  [Dirs]
   -e 's:/:\\:g' \  $(make distfiles -f Makedist | tr ' ' '\n' | (while read i; do
   -e 's:^\(..*\)$:"\1", "{app}\\\1", copy_normal,:g')    while [ ! -z "$i" ]
     do
 [Icons]      if [ -d $i ]; then echo $i; fi
 ; Parameter quick reference:      if [ "${i%/*}" != "$i" ]; then i="${i%/*}"; else i=""; fi
 ;   "Icon title", "File name", "Parameters", "Working dir (can leave blank)",    done
 ;   "Custom icon filename (leave blank to use the default icon)", Icon index  done) | sort -u | sed \
 "Gforth", "{app}\gforth.exe", "", "{app}", , 0    -e 's:/:\\:g' \
 "Gforth-fast", "{app}\gforth-fast.exe", "", "{app}", , 0    -e 's:^\(..*\)$:{app}\\\1:g')
   
 [Run]  [Files]
 "{app}\gforth.exe", "{app}\fixpath.fs {app} gforth-fast.exe",  ; Parameter quick reference:
 "{app}\gforth.exe", "{app}\fixpath.fs {app} gforth-ditc.exe",  ;   "Source filename", "Dest. filename", Copy mode, Flags
 "{app}\gforth-fast.exe", "{app}\fixpath.fs {app} gforth.exe",  "README.txt", "{app}\README.txt", copy_normal, flag_isreadme
   "cygwin1.dll", "{app}\cygwin1.dll", copy_normal,
 [Registry]  "gforth.fi", "{app}\gforth.fi", copy_normal,
 ; Parameter quick reference:  $(make distfiles -f Makedist EXE=.exe | tr ' ' '\n' | (while read i; do
 ;   "Root key", "Subkey", "Value name", Data type, "Data", Flags    if [ ! -d $i ]; then echo $i; fi
 HKCR, ".fs", "", STRING, "forthstream",  done) | sed \
 HKCR, ".fs", "Content Type", STRING, "application/forth",    -e 's:/:\\:g' \
 HKCR, ".fb", "", STRING, "forthblock",    -e 's:^\(..*\)$:"\1", "{app}\\\1", copy_normal,:g')
 HKCR, ".fb", "Content Type", STRING, "application/forth-block",  
 HKCR, "forthstream", "", STRING, "Forth Source",  [Icons]
 HKCR, "forthstream", "EditFlags", DWORD, "00000000",  ; Parameter quick reference:
 HKCR, "forthstream\DefaultIcon", "", STRING, "{sys}\System32\shell32.dll,61"  ;   "Icon title", "File name", "Parameters", "Working dir (can leave blank)",
 HKCR, "forthstream\Shell", "", STRING, ""  ;   "Custom icon filename (leave blank to use the default icon)", Icon index
 HKCR, "forthstream\Shell\Open\command", "", STRING, "{app}\gforth.exe %1"  "Gforth", "{app}\gforth.exe", "", "{app}", , 0
 HKCR, "forthblock", "", STRING, "Forth Block",  "Gforth-fast", "{app}\gforth-fast.exe", "", "{app}", , 0
 HKCR, "forthblock", "EditFlags", DWORD, "00000000",  "Gforth-dict", "{app}\gforth-dict.exe", "", "{app}", , 0
 HKCR, "forthblock\DefaultIcon", "", STRING, "{sys}\System32\shell32.dll,61"  "Gforth-itc", "{app}\gforth-itc.exe", "", "{app}", , 0
 EOT  
   [Run]
   "{app}\gforth.exe", "{app}\fixpath.fs {app} gforth-fast.exe",
   "{app}\gforth.exe", "{app}\fixpath.fs {app} gforth-ditc.exe",
   "{app}\gforth.exe", "{app}\fixpath.fs {app} gforth-itc.exe",
   "{app}\gforth-fast.exe", "{app}\fixpath.fs {app} gforth.exe",
   
   [Registry]
   ; Parameter quick reference:
   ;   "Root key", "Subkey", "Value name", Data type, "Data", Flags
   HKCR, ".fs", "", STRING, "forthstream",
   HKCR, ".fs", "Content Type", STRING, "application/forth",
   HKCR, ".fb", "", STRING, "forthblock",
   HKCR, ".fb", "Content Type", STRING, "application/forth-block",
   HKCR, "forthstream", "", STRING, "Forth Source",
   HKCR, "forthstream", "EditFlags", DWORD, "00000000",
   HKCR, "forthstream\DefaultIcon", "", STRING, "{sys}\System32\shell32.dll,61"
   HKCR, "forthstream\Shell", "", STRING, ""
   HKCR, "forthstream\Shell\Open\command", "", STRING, "{app}\gforth.exe %1"
   HKCR, "forthblock", "", STRING, "Forth Block",
   HKCR, "forthblock", "EditFlags", DWORD, "00000000",
   HKCR, "forthblock\DefaultIcon", "", STRING, "{sys}\System32\shell32.dll,61"
   EOT

Removed from v.1.1  
changed lines
  Added in v.1.4


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