Inno Setup Preprocessor: ExtractFileDir

Prototype

str ExtractFileDir(str PathName)

Description

Returns the directory portion of the given filename without a backslash (unless it is a root directory). If PathName doesn't contain a directory portion, the result is an empty string.

Declared in ISPPBuiltins.iss.