dontCare% = DoMsgBox("There is not enough memory on your system. You must have at least 8MB of physical RAM and 8MB of virtual memory.", "Setup Message", MB_OK+MB_TASKMODAL+MB_ICONHAND)
ELSEIF systemOK% = -3 THEN
dontCare% = DoMsgBox("This version of Windows is not supported by Kodak Digital Science Photo Insert.", "Setup Message", MB_OK+MB_TASKMODAL+MB_ICONHAND)
ELSEIF systemOK% = -4 THEN
dontCare% = DoMsgBox("Object Linking and Embedding version 2.0 must be installed first.", "Setup Message", MB_OK+MB_TASKMODAL+MB_ICONHAND)
END IF
ERROR STFQUIT
END
END IF
''CustInst list symbols
CHECKSTATES$ = "CheckItemsState"
STATUSTEXT$ = "StatusItemsText"
DRIVETEXT$ = "DriveStatusText"
AddListItem CHECKSTATES$, "ON"
FOR i% = 2 TO 4 STEP 1
AddListItem CHECKSTATES$, "OFF"
NEXT i%
FOR i% = 1 TO 4 STEP 1
AddListItem STATUSTEXT$, ""
NEXT i%
FOR i% = 1 TO 7 STEP 1
AddListItem DRIVETEXT$, ""
NEXT i%
ReplaceListItem DRIVETEXT$, 7, DEST$
''Disk cost list symbols
OPT1NEEDS$ = "WINWORD"
OPT2NEEDS$ = "WORDPERFECT"
OPT3NEEDS$ = "WINWORKS"
OPT4NEEDS$ = "MSPUB"
EXTRACOSTS$ = "ExtraCosts"
BIGLIST$ = "BigList"
FOR i% = 1 TO 4 STEP 1
AddListItem BIGLIST$, ""
NEXT i%
FOR i% = 1 TO 26 STEP 1
AddListItem EXTRACOSTS$, "0"
NEXT i%
''File Option Variables
OPT1OPT$ = "1"
OPT2OPT$ = "1"
RecalcPath
SetDriveStatus
'$IFDEF DEBUG
i% = SetSizeCheckMode(scmOnIgnore) '' could use scmOff; def = scmOnFatal
ELSEIF GetListItem(CHECKSTATES$, WORDPERFECT) = "ON" THEN
selectedWP% = WORDPERFECT
ELSEIF GetListItem(CHECKSTATES$, WINWORKS) = "ON" THEN
selectedWP% = WINWORKS
ELSE
selectedWP% = MSPUB
END IF
okToProceed% = OkToInstall (DEST$, selectedWP%)
IF okToProceed% <> 0 AND okToProceed%<> 3 THEN
IF okToProceed% = 2 THEN
dontCare% = DoMsgBox("The selected word processor does not appear to be installed on your machine. Please choose another.", "Setup Message", MB_OK+MB_ICONHAND)
ELSEIF okToProceed% = 1 THEN
GOSUB TOOBIG
ELSE
dontCare% = DoMsgBox("An unexpected error occured during setup. Please contact technical support for assistance.", "Setup Message", MB_OK+MB_ICONHAND)
ENDIF
GOTO CUSTINST
END IF
IF okToProceed% = 3 THEN
warningText$ = "Kodak Photo Insert has detected that your system is in a 256-color (or lower) video mode."
warningText$ = warningText$ + " Continuing in this mode will result in degraded performance and image quality."
warningText$ = warningText$ + " For best image quality and performance, it is recommended that you switch your video mode to a 64K-color or higher mode."
'' Prompt user to determine whether auto-launcher should be installed in Startup group
'' doAutoLaunch% = DoMsgBox("Would you like Kodak Photo Insert to automatically start when a Photo CD is inserted?", "Setup Message", MB_YESNO OR MB_TASKMODAL OR MB_ICONQUESTION)