home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
swCHIP 1991 January
/
swCHIP_95-1.bin
/
demo
/
qdir41
/
install.dta
< prev
next >
Wrap
Text File
|
1995-12-09
|
2KB
|
141 lines
; *** Instalaçní program pro QuickDir 4.12 ***
; SRCTYPE = F360, F720, F1200 nebo F1440
; OWARNING = ALWAYS nebo NEWERONLY
; REGISTER = TRUE v p⌐ípadê, æe je jiæ registrován
; CODE = KAMEN, LATIN2, NODIA
;define VERSION=REAL
if VERSION=REAL
ask REAL Instalovat programy verze REAL?
else
ask REAL Instalovat verzi REAL?
ask PROTECTED Instalovat verzi PROTECTED?
endif
ask PRIR Kopírovat na cílovÿ disk p⌐íruçku ve formê textovÿch souborû?
ask WIN Kopírovat na cílovÿ disk ikony a PIF soubory pro Windows?
ask README Kopírovat na cílovÿ disk soubory CTI_MNE s posledními informacemi?
if REAL=TRUE
define INSTALL=PROGRAMS
endif
if PROTECTED=TRUE
define INSTALL=PROGRAMS
endif
define NEEDSPACE=50
if INSTALL=PROGRAMS
add NEEDSPACE+200
endif
if REAL=TRUE
add NEEDSPACE+390
endif
if PROTECTED=TRUE
add NEEDSPACE+600
endif
if PRIR=TRUE
add NEEDSPACE+380
endif
if WIN=TRUE
add NEEDSPACE+20
endif
if README=TRUE
add NEEDSPACE+30
endif
if NEEDSPACE=50
abort Není co instalovat!
endif
checkfree NEEDSPACE
define NEEDSPACE=
if INSTALL=PROGRAMS
if CODE=LATIN2
chsrcdir LATIN2
endif
if CODE=KAMEN
chsrcdir KAMEN
endif
if CODE=NODIA
chsrcdir NODIA
endif
define OWARNING=NEWERONLY
copy QDIR.CFG
define OWARNING=
chsrcdir \
if REGISTERED=TRUE
expand REGHELP QDIR.HLP
else
expand REGHELP
endif
endif
if README=TRUE
if CODE=KAMEN
copy CTI_MNE.TXK
else
if CODE=LATIN2
copy CTI_MNE.TXL
else
copy CTI_MNE.TX?
endif
endif
endif
if SRCTYPE=F360
insertdisk 2/2
endif
if REAL=TRUE
expand REAL
endif
if PROTECTED=TRUE
expand PROTECT
endif
if PRIR=TRUE
if CODE=KAMEN
expand PRIRUCKA *.WRI *.TXK
else
if CODE=LATIN2
expand PRIRUCKA *.WRI *.TXL
else
expand PRIRUCKA
endif
endif
endif
if WIN=TRUE
if PROTECTED=TRUE
if REAL=TRUE
expand WIN
else
expand WIN *.ICO ??DIR.PIF ??DIR_?.PIF
endif
else
expand WIN *.ICO ?DIR.PIF ?DIR_?.PIF
endif
endif
if INSTALL=PROGRAMS
if REAL=TRUE
if PROTECTED=TRUE
makebat GLOBAL QDIR ADIR LDIR QQDIR+ AADIR+ LLDIR+
else
makebat GLOBAL QDIR ADIR LDIR
endif
else
if PROTECTED=TRUE
makebat GLOBAL QQDIR+ AADIR+ LLDIR+
endif
endif