ExistsDisk

InstallShield 2014 ยป InstallScript Language Reference

The ExistsDisk function checks for the existence of a specified disk drive on the target system.

Syntax

ExistsDisk ( szDisk );

Parameters

ExistsDisk Parameters

Parameter

Description

szDisk

Specifies the letter of the disk drive.

Return Values

ExistsDisk Return Values

Return Value

Description

EXISTS (0)

Indicates that the specified drive exists on the target system.

NOTEXISTS (-1)

Indicates that the specified drive does not exist on the target system.

See Also