SET %Message1%="Welcome to the %Application% Installation Program."
SET %Message2%="This program will install the %Application% software in the directory you specify on your hard disk."
DialogBox("Welcome")
IF %ERROR% == IDCANCEL GOTO :EXIT
// Ask the user where to install the software
:RETRY
SET %Message1%="The install program will copy the %Application% files into the following directory:"
DialogBox("AskPath")
IF %ERROR% == IDBACK GOTO :BACK
IF %ERROR% == IDCANCEL GOTO :EXIT
// Make sure we have Disk #1 in the drive
CheckExists("%CurrentDrive%DISK01", "Please insert the diskette labelled 'DISK01'")
IF %ERROR% == IDCANCEL GOTO :EXIT
// Copy files from disk & show in gauge
CopyFile(2)
"ZIPMAST.EXE", "%InstallPath%", "Copying:", TRUE
"THREED.VBX", "%InstallPath%", "Copying:", TRUE
// Now setup a new program manager group and its icons
MessageBox("Setup can create a Program Manager group|for the %Application% application.||Do you wish to create a Program|Manager group and icons ?", "%Caption%", MB_YESNO, MB_ICONQUESTION)