home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Significant Series Windows
/
PCSIG-SignificantSeriesWindows-Win31.iso
/
install.ins
< prev
next >
Wrap
Text File
|
1993-09-30
|
2KB
|
93 lines
StrRet := 'Windows CD-ROM Setup';
Cls;
DoFunc(0);
GetFrom:
DoFunc(5);
Mssg(6,3,'Enter the Drive letter of your CD-ROM drive.');
DoFunc(11);
DoFunc(2);
CDROMDrive := StrRet;
BranchEq(IntRet,0,Leaving);
BranchEq(IntRet,2,GetFrom);
GetDrive:
DoFunc(5);
Mssg(6,3,'Enter the Drive letter of your hard drive.');
StrRet := 'C';
DoFunc(2);
ToDrive := StrRet;
BranchEq(IntRet,0,Leaving);
BranchEq(IntRet,2,GetDrive);
{Example of the directory name on their hard disk}
{Should be the same as the directory name stored}
{in the HR.CDB file}
ConCat(SysPath,ToDrive,':','\PCSIGWIN');
{Complete Path to the file GO.BAT}
StrRet := SysPath;
DoFunc(6);
ConCat(SysPath2,StrRet,'GO.BAT');
DoFunc(5);
Mssg(6,3,'You have specified the following:');
Mssg(8,5,'- CD-ROM is in Drive :');
Mssg(29,5,CDROMDrive);
Mssg(8,6,'- Install Batch File onto Drive');
Mssg(40,6,SysPath);
DoFunc(7);
DoFunc(5);
BranchEq(IntRet,0,Leaving);
BranchEq(IntRet,2,GetFrom);
IntRet := 1; {If they don't have 101K free then don't install}
DoFunc(4);
BranchEq(IntRet,0,Leaving);
BranchEq(IntRet,2,Leaving);
DoFunc(5);
Mssg(6,3,'Installing CD-ROM start up batch file now:');
{Make The Directories Here}
Mssg(5,21,'Creating Directory...');
ChDir(CDROMDrive,':');
ChDir('\HR'); {built in directory name on the CD}
ChDir(ToDrive,':');
MkDir(SysPath);
ChDir(SysPath);
Mssg(5,21,'Creating Batch File...');
StrRet := SysPath2;
IntRet := CDROMDrive;
DoFunc(10);
Mssg(5,21,'Copying Files... ');
Copy(CDROMDrive,':*.RDS >NUL');
Copy(CDROMDrive,':*.NBM >NUL');
Copy(CDROMDrive,':TOUR*.DAT >NUL');
Copy(CDROMDrive,':HRWCD.INI >NUL');
Mssg(5,21,' ');
Complete:
StrRet := InstName;
DoFunc(0);
Mssg(0,0,'Installation Complete');
Cls;
Mssg(1,7,'Install will now start Windows and create a Program Group.');
Mssg(1,9,'If Windows is already started, create a Program Group by');
Mssg(1,10,'running \HR\WINGROUP.EXE with the Program Manager or File Manager.');
ChDir(CDROMDrive,':');
Goto Exit;
Leaving:
StrRet := InstName;
DoFunc(0);
Mssg(0,0,'Installation aborted by User');
Cls;
Goto Exit;
Exit: