PDA

View Full Version : Installing in a PenDrive



NewsArchive
01-15-2010, 02:58 AM
Hi,
How to know, in SB, that the user is installing the software in a PenDrive?
Thanks
Alberto

NewsArchive
01-15-2010, 02:58 AM
Alberto,

> How to know, in SB, that the user is installing the software in a
> PenDrive?

A PenDrive is just another removable hard disk. So I assume Windows sees a
PenDrive as a DRIVE_REMOVABLE drive type. Try to use the "Get System Info
(Drive Type)" script function and check the return value. If it returns
$DRIVE_REMOVABLE$ then it's a removable drive.

Does this help?

Friedrich

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

SetupBuilder is Windows 7 installation -- "point. click. ship"

-- Official Comodo Code Signing and SSL Certificate Partner