PDA

View Full Version : Drive detect


isterik
07-21-2001, 05:53 AM
I am going to make a install from the CD, but biggest part of data will be left on CD. So I am going to instal just an icons.
Is there any possibility to detect wich drive D or E is CD-ROM drive so that the setup could configure icons target files.

The same questions goes to AutoPlay studio


Big thanks

Mark
07-23-2001, 09:20 AM
Hi,

Both Setup Factory and AutoPlay Menu Studio have the built-in variable %SrcDrv%.

This is from the Setup Factory help file:
%SrcDrv%
The drive that the setup is run from. (e.g. "D:")

So since you will be running your installation from the CD-ROM drive, you can substitute %SrcDrv% for the drive letter when you create your shortcuts.

mark.