PDA

View Full Version : How to find the drive type [NTFS/FAT32]?



sp_prabha
03-29-2006, 04:27 AM
Hi,
I have an InstallscriptMSI project. I need to check the drive type [whether it is NTFS/FAT32] and proceed with the installation only if it is NTFS. If the drive type is FAT32 then I need to abort the installation. How do I do this initial check?

Thanks in anticipation,
prabha.

RobertDickau
03-29-2006, 09:36 AM
One option is to prototype and call the GetVolumeInformation API in your script, about which see for example this thread: 64548. (Searching these forums should turn up additional examples.)

sp_prabha
03-31-2006, 01:24 AM
Hi Robert,
Thanks a lot. It works perfectly well in my prj.
Regards,
prabha. :)