//if (AskYesNo ("The installer assumes you want to install on C:\\, and that Windows is in C:\\Windows. If this is not the case, select NO.", YES ) = NO ) then MessageBox( "Installation terminated by the user", WARNING);
//exit; // (LINE 60)
//endif;
AskPath( "Where do you want to install Dinosaur Museum?",
szDefPath, szResultPath);
if LAST_RESULT = FALSE then call
ConfirmCancel;
endif;
if szResultPath = SRCDIR then
MessageBox ( "You entered the source directory path...",
SEVERE );
goto TargetLocation;
endif;
TARGETDIR = szResultPath;
CreateDir( szResultPath );
if LAST_RESULT = 0 then goto DirCreated; endif;
MessageBox( "Unable to create directory.",
SEVERE );
goto TargetLocation;
DirCreated:
// LINE ( 79 )
GetDiskSpace( szResultPath );
if LAST_RESULT < SPACE_NEEDED then
MessageBox ( "Not enough space on the drive.", SEVERE );
goto TargetLocation;
endif;
TARGETDIR = szResultPath;
SetStatusWindow( 10, "Ready to copy files." );
// Ask user to enter a disk in drive.
// Check to see if compress.exe file exists on this disk
// If it does, then it must be the right disk.
// END OF ORIGINAL STUFF HERE;
// END OF ORIGINAL STUFF HERE;
// END OF ORIGINAL STUFF HERE;
// Assume TARGETDIR points to a directory entered by your user.