myInt% = DoMsgBox("You need at least 5 MB free space to install ChineseWare basic version, delete some files and try setup again.", "Insufficient Disk Space!", MB_OK+MB_TASKMODAL+MB_ICONHAND)
GOTO ERRQUIT
END IF
ValidInt% = FCheckSnumrec()
Install
IF ValidInt% = 1 THEN
IF FCreateSnumrec() = -1 THEN
myInt% = DoMsgBox("Can not install ChineseWare", "Error: Can not Create Files", MB_OK+MB_TASKMODAL+MB_ICONHAND)
''' need to get out of Windows and restart computer
IF GetWindowsDir <> (DEST$+"\") THEN
myInt% = DoMsgBox("Because of the new PATH added to Autoexec.bat, you need to restart the computer to run ChineseWare properly.", "Restart your computer to run ChineseWare", MB_OK+MB_TASKMODAL)