My problem is that this is for non-technical users. I want to make a standard patch that will search for the correct drive letter that holds the original CDROM. It will verify that the files are correct by comparing for file "X" in the drive location. I can't assume what CDROM letter it will be, although I suppose that I can include a prompt to say what drive letter that the CDROM is at. I just prefer to make the whole operation seamless and user-non-interactive as possible (idiot-proof, if you will). I have looked around, and can't seem to find the exact idea on the boards. My idea of the code (in non-code language) is as follows:
Set Drive ?:\ to D:\
Begin:
Look in Drive ?:\
If File Verifyfile.xxx exists in directory Data\, then
copy files xxx-yyy to directory $INSTDIR
If Drive ?:\ != Z:\ then
Drive ?:\ = Drive ?+1:\
goto Begin:
Else messagebox "CDROM not found, please insert CDROM and click OK." OK, Cancel #message box entries
If OK, set Drive ?:\ = D:\
goto Begin:
Else Quit: