home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1996 February
/
PCWK0296.iso
/
sharewar
/
win31x
/
narzedzi
/
kinstw
/
setsampl.set
< prev
next >
Wrap
Text File
|
1995-09-08
|
4KB
|
147 lines
REM ********************************************************************
REM ** This file contains just about every valid keyword there is. **
REM ** Edit it to create a settings file for your own program easily. **
REM ********************************************************************
REM Define the title of the program
TITLE My Program Name
REM Define message to display at bottom of screen
MSG Copyright (c) 1995 by My Software Company
REM Define a help program
HELP WINHELP.EXE, SETUP.HLP
REM Define a catalogue program
CATALOG CATALOG.EXE
REM Specify main window size and resize options
WINDOW 0, 3, 20, 20, 580, 350
REM Define colours
COLS FF0000h, 0, FFFFFFh, 0, 2, 008080h, 00FF00h
REM Define the background, one of three ways:
PATTERN BITMAP_1
PATTERN , 4
PATTERN , , 1
REM Define a bitmap to display over the background
PICTURE ARKLOGO.BMP, 0, 0, 80, 50, 0
REM Define an icon to display over the background
ICON 1, 0, 20, 50, 0
REM Define minimum processor type
CPU 2
REM Define coprocessor required
COPR 1
REM Define minimum DOS version
DOSVER 3.2
REM Define minimum Windows version
WINVER 3.1
REM Define default directory
DIR C:\THEDIR\
REM Define reboot option
REBOOT 0
REM Define restart option
RESTART 2
REM Define program name so it can be run from SETUP
RUN THEPROG.EXE, /S, 2
REM Define documentation file so the user's attention will be drawn to it
DOC THEPROG.DOC
REM Define a program or command to run at the beginning of the installation
FIRST MEM
REM Define a program or command to run at the end of the installation
LAST CONVERT.EXE, /S
REM Define the automatic archive unpack identifier
UNPAK __
REM Define the parameters to use with LHA.EXE
LHA E /M1
REM Define the parameters to use with PKUNZIP.EXE
ZIP -O
REM Define the parameters to use with ARJ.EXE
ARJ E
REM Define the parameters to use with self-extracting archives
EXE /s
REM Define another unarchiving program
ARCHIVE .ZIP, UNZIP.EXE, -O
REM Define what to install, where, how, how big, what disk, and question to ask
INSTALL MYPROG.EXE, ~MAIN, 4, 100, Install Disk 1
INSTALL *.DOC, ~MAIN, 4, 50, Install Disk 1
INSTALL *.DL_, ~SYS\*.DLL, 2, 200, Install Disk 1, Update Windows DLLs?
REM Define files to be deleted at the beginning of installation
DEL OLDPROG.EXE
DEL OLDHELP.HLP
REM Define directories to be created at the end of installation
MKDIR DATA
MKDIR TEMP
REM Define variable information to be entered by the user
INPUT 0, 8, , @@######, Serial Number
INPUT 1, 50, , ?* ?*, First and Last Name, Enter your First Name and Last Name
REM Define the file extension for backing up AUTOEXEC.BAT and CONFIG.SYS
BAK .BKK
REM Specify that the main directory should be added to the DOS Path
PATH
REM Specify lines to be added to the middle of AUTOEXEC.BAT
AUTO SET PROGDIR=~MAIN
REM Specify a shell command to run at the very end of AUTOEXEC.BAT
SHELL WIN MYSHELL /Q
REM Specify the minimum number for the FILES value in CONFIG.SYS
FILES 30
REM Specify the minimum number for the BUFFERS value in CONFIG.SYS
BUFFERS 20
REM Specify lines to be added to the end of CONFIG.SYS
CONF DEVICE=~MAIN\MYTSR.EXE /F:2 /P:LPT1
REM Write user entered data into the main EXE file
RFILE ~MAIN\MYPROG.EXE, C
REG 1076, 9, ~0
REG 0, 51, ~1
REM Write user entered data into an INI file
IFILE ~WIN\MYPROG.INI
ISECT UserInfo
INI Serial=~0
INI Name=~1
REM Add group and items to Program Manager
GROUP My Program Name
ITEM ~MAIN\MYPROG.EXE, My Program Name
ITEM ~MAIN\MYPROG.HLP, My Program Help
ITEM NOTEPAD.EXE READ.ME, Release Notes
REM Define the installation log file name
LOG MYPROG.LOG
REM Define additional files to be deleted during uninstallation
REMOVE MYPROG.CFG
REMOVE ~WIN\MYPROG.INI