iii) changing mapznrun.bat that it will use the cd-drive
Tricky to get right in general, since it is hard to be certain what drive letter the CD-ROM device will have (especially if the user is doing a customized partitioning scheme). But, again, an initial version to handle the common case (CD-ROM drive is on D:) should be pretty easy.
A while ago we had a loop in mapznrun.bat to scan the available drive letters for the installation media. Unfortunately, that broke on some systems with flash-card readers... If the flash drive is (say) E:, then as soon as you access E: Windows halts with a dialog box asking the user to insert media. I mention this just in case you think of the same "clever" idea :-).
It is possible to get the drive letter for the CD from the registry. The notips for winxp includes code to change the first cdrom drive to letter R:. Code similar to this should be able to be used in todo to determine where the CD is and check if the correct directories exist.
-Shad
------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ unattended-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/unattended-devel
