PDA

View Full Version : Determining fixed drive Spaces



badboyz
11-11-2004, 01:03 PM
I am a newbie and I want to retrieve the list of FIXED Drives, determine each space and proceed with installation if there is at least ONE drive greater than 800MB.

Any help/ code in resolving this will be fine.

badboyz

TsungH
11-11-2004, 01:35 PM
You will want to use GetValidDrivesList function to retrieve a list of all the drives attached to the target system that meet a certain criterion, and use GetDiskSpaceEx function to determine the amount of free space on the specified path.

For their syntax and other built-in functions available, you should refer to InstallScript Language Reference. One place you can visit is InstallShield HelpNet (http://documentation.installshield.com/).