home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR9
/
UNST13.ZIP
/
GOODSOFT
< prev
next >
Wrap
Text File
|
1993-08-16
|
11KB
|
431 lines
;************************************************************************
; Universal INSTALL Demo Script File
; This script uses most of the more advanced features of Universal INSTALL.
;
; We use this script for creating the demo installation routine
;
;************************************************************************
;
KeepLogFile =install.log
[Setup main screen]
ClearScreen
BackplaneType Teal =▒
TopBar Red on Gray =Universal INSTALL Demonstration
BottomBar Black on Gray =Press F1 for more information
;--------
;
;--------
[Intro Window]
BuildWindow
WindowColor =White
Border =Blue
StartRow =Center
StartColumn =Center
ColumnMargin =1
RowMargin =8
PopUp =No
ShadowType =Big
TopTitle =Welcome!
BottomTitle =Press ENTER to continue, ESC to quit
EndWindow
BuildWindow
WindowColor =Gray
StartRow =Window+1
StartColumn =Center
ShadowType =Small
ColumnMargin =8
RowMargin =0
Text White 1,7 =┌───────────────┐
Text White 1,8 =│ │
Text White 1,9 =└───────────────┘
Text Blue 4,8 =Version 1.30
EndWindow
BuildWindow
WindowColor =Blue
StartRow =Window+2
StartColumn =Window+2
ShadowType =Small
RowMargin =1
Text White Center =Universal Install
Text White Center =For easy installations
EndWindow
BuildWindow
WindowColor =Cyan
StartRow =Window+12
StartColumn =Center
ShadowType =Small
ShadowColor =Gray
RowMargin =0
ColumnMargin =6
Text Black Center =(C) Copyright 1992,93
Text Black Center =The GoodSoft Co.
EndWindow
Wait = Enter,Esc,F1
On (Esc) Jump =Quit
On (F1) Jump =About Demo
;--------
;
;--------
[About Open Install]
BottomBar Black on Gray=
ClearPlane
BuildWindow
WindowColor =White
Border =Red
StartRow =Center
StartColumn =Center
ColumnMargin =14
RowMargin =8
PopUp =No
ShadowType =Big
BottomTitle =Press ENTER to continue, ESC to quit
EndWindow
BuildWindow
WindowColor =Gray
StartRow =Window+1
StartColumn =Center
ColumnMargin =2
RowMargin =1
ShadowType =Small
Text Black =Thank you for trying , the best
Text Black =DOS installation package on the market!
Text Black =
Text Red =Some things to remember...
Text Black =
Text Black = All colors, text, windows, etc. are under YOUR control
Text Black =with Universal INSTALL - no "canned" routines here.
Text Black =Universal INSTALL can look like your own software!
Text Black =
Text Black =A custom installation program that matches the style
Text Black =of your software is available without ANY programming.
Text Red (25,1) =UNIVERSAL INSTALL
EndWindow
Wait =Enter,Esc
On (Esc) Jump =Quit
;----------
;
;----------
[About Installation]
ClearPlane
BuildWindow
WindowColor =White
Border =Magenta
StartRow =Center
StartColumn =Center
ColumnMargin =10
RowMargin =8
PopUp =No
ShadowType =Big
Text Gray =
BottomTitle =Press ENTER to continue, ESC to quit
EndWindow
BuildWindow
WindowColor =Gray
StartRow =Center
StartColumn =Center
ShadowType =Small
ColumnMargin =2
RowMargin =1
Text Black Center =This installation demo will do the following:
Text Black Center =
Text Black 4,3 =Copy two small text files to your system's
Text Black 4,4 =hard disk to the directory you specify.
Text Black 4,6 =Add a sample line to your CONFIG.SYS file
Text Black 4,7 =(don't worry, it won't affect your setup)
Text Black 4,9 =Add a sample line to your AUTOEXEC.BAT file
Text Black 4,10 =(also won't affect your software setup)
Text Black 4,12 =Reboot your computer (if you choose).
Text Blue 1,3 =1)
Text Blue 1,6 =2)
Text Blue 1,9 =3)
Text Blue 1,12 =4)
EndWindow
Wait = Enter,Esc
On (Esc) Jump =Quit
;----------
;
;----------
[Input directory]
ClearPlane
FindBootDrive
BuildWindow
WindowColor =Gray
Border =Blue
StartRow =Center
StartColumn =Center
ColumnMargin =2
RowMargin =2
ShadowType =Big
BottomTitle =Press ENTER to continue, ESC to quit
Text Black Center =In the space below, type the directory path where you would
Text Black Center =like INSTALL to copy the text files FILE1.TXT and FILE2.TXT
Text Black Center =
Text Blue Center =This is an example of using input from
Text Blue Center =the user to customize the installation process.
Text Blue =
Text Blue =
Text Black 12,8 =Copy files to:
EndWindow
Input
StartRow = Window+9
StartColumn =Window+30
Action =Enter, Esc
TextColor =White on Blue
Default =$BOOTDRIVEDEMO
Width =15
EndInput
On (Esc) Jump=Quit early
;----------
;
;----------
[Check Free Space]
DiskSpaceReq = 200
CheckDiskSpace =$INPUTRESULT
;----------
;
;----------
[Pick disk drive]
ClearPlane
BuildWindow
WindowColor =Gray
Border =Blue
StartRow =Center
StartColumn =Center
ColumnMargin =5
RowMargin =1
Text Black =Use the arrow keys to choose a sample button.
Text Black =
Text Blue =This is an example of using "buttons"
Text Blue =to get input from the user.
Text Blue =
Text Blue =
Text Blue =
Text Blue =
Text Blue =
Text Blue =
ShadowType =Big
TopTitle =Please select an installation choice:
BottomTitle =Press ENTER to continue, ESC to quit
EndWindow
Buttons
RowMargin =1
ColumnMargin =4
StartRow =Window+6
StartCol =Window+8
ButtonOnColor =White on Blue
ButtonOffColor =Black on Gray
Travel =Horizontal
Distance =5
Message =Choice A
Message =Choice B
EndButtons
On (Esc) Jump =Quit early
;-----------
;
;-----------
[Copy Files]
Text White on Blue 13,18 =Copying file: ÉÉ
StartCopy
DestPath =$INPUTRESULT
StatusColumn =28
StatusRow =18
StatusLineFG =White
StatusLineBG =Blue
CopyFile =FILE1.TXT
CopyFile =FILE2.TXT
EndCopy
SystemDelay =1
Text White on Blue 13,18 = Finished copying - Press ENTER to continue ÉÉ
Wait =Enter,Esc
On (Esc) Jump=Quit Early
;-----------
;
;-----------
[Update CONFIG.SYS]
ClearPlane
BuildWindow
WindowColor =White
Border =Blue
StartRow =Center
StartColumn =Center
ColumnMargin =25
RowMargin =4
Text White =
ShadowType =Big
EndWindow
BuildWindow
WindowColor =Gray
ShadowType =Small
StartRow =Window+1
StartColumn =Window+2
ColumnMargin =5
RowMargin =1
Text Blue =The following line has been added to
Text Blue =your CONFIG.SYS file
Text Blue =
Text Blue =
EndWIndow
Text Black on Gray (31,13) =Checking CPU type...
ModifyConfig
SaveOriginal =config.old
AddLine =REM load product w/
FindString =buffers
Parameters
8088 CPU switch
8086 CPU switch
V20 CPU switch
V30 CPU switch
80286 CPU switch
386,486 switch
EndParameters
EndConfig
Text Black on Gray (22,13) =$CONFIGRESULT
Text White on Blue (28,17) =Press ENTER to continue...
Wait =Enter,Esc
On (Esc) Jump =Quit early
;-----------
;
;-----------
[Modify AUTOEXEC.BAT]
ClearPlane
BuildWindow
WindowColor =White
Border =Red
StartRow =Center
StartColumn =Center
ColumnMargin =25
RowMargin =4
Text white =
ShadowType =Big
EndWindow
BuildWindow
WindowColor =Gray
ShadowType =Small
ColumnMargin =5
RowMargin =1
StartRow =Window+1
StartColumn =Window+2
Text Red =The following line has been added to
Text Red =your AUTOEXEC.BAT file
Text Red =
Text Red =
EndWIndow
ModifyAutoExec
SaveOriginal =autoexec.old
AddLine =echo Thanks for trying Universal INSTALL!
AddPath =c:\demo
EndAutoExec
Text Black on Gray (19,13) =$AUTOEXECRESULT
Text White on Red (28,17) =Press ENTER to continue...
Wait =Enter,Esc
On (Esc) Jump =Quit early
;---------
;
;---------
[Finished]
ClearPlane
BuildWindow
WindowColor =White
Border =Magenta
StartRow =4
StartColumn =Center
ColumnMargin =2
RowMargin =9
PopUp =No
ShadowType =Big
BottomTitle =Press ESC to reboot, ENTER to quit
EndWindow
BuildWindow
WindowColor =Gray
StartRow =Window+1
StartColumn =Center
ColumnMargin =2
RowMargin =1
ShadowType =Small
Text Magenta =Universal INSTALL is now done
Text Magenta =with the demo installation.
Text Black =
Text Black =To reboot your computer now,
Text Black =press the ESC key. To return
Text Black =to the DOS prompt now,
Text Black =press the ENTER key.
Text Black =
Text Black =Run README.EXE for more info
Text Black =
Text Black =The GoodSoft Co.
Text Black =1630 30th Street, Suite 235
Text Black =Boulder, Colorado 80301 USA
EndWindow
Wait = Enter,Esc
On (Esc) Jump =Reboot
Jump =Quit
;---------
;
;---------
[Quit early]
BuildWindow
WindowColor =Gray
Border =Magenta
StartRow =6
StartColumn =Center
ColumnMargin =3
RowMargin =2
PopUp =Yes
ShadowType =Big
Text Magenta =This is an example of a pop up window that
Text Magenta =you might use to warn the user that the
Text Magenta =installation is not complete.
Text Black =
Text Black =If you quit the installation at this point,
Text Black =not everything for the "Demo Install" is in place.
Text Black =If you wish to quit now, we recommend running
Text Black =INSTALL again at a later date.
TopTitle =Warning: Installation is not complete!
BottomTitle =Press ESC to quit, ENTER to continue installation
EndWindow
Wait = Enter,Esc
CloseWindow
On (Enter) Jump =Input directory
Jump =Quit
;-----------
;
;-----------
[About Demo]
BuildWindow
WindowColor =Gray
Border =Red
StartRow =4
StartColumn =15
ColumnMargin =3
RowMargin =1
PopUp =Yes
ShadowType =Big
Text Black =This demo was created to showcase some of the
Text Black =features of "Universal INSTALL", a try it
Text Black =before you buy it installation package.
Text Black =
Text Black =Universal INSTALL allows software developers
Text Black =to quickly and painlessly create an install
Text Black =program for their product. Remember: first
Text Black =impressions of your product mean a lot!
Text Black =
Text Black =Please be sure to run README.EXE for more info
TopTitle =About this demo
BottomTitle =Press ENTER to continue installation
EndWindow
Wait = Enter
CloseWindow
Jump =Intro window
;-------
;
;-------
[Reboot]
ClearScreen
WarmReboot
;-----
;
;-----
[Quit]
ClearScreen
Stop