inno setup folder exists code example
Example: INNO setup check if folder exists
Prototype:
function DirExists(const Name: String): Boolean;
Description:
Returns True if the specified directory name exists. The specified name may include a trailing backslash.