Pascal Scripting: CurrentFilename

Prototype:

function CurrentFilename: String;

Description:

Returns the destination file name of the [Files] entry that is currently being processed. The returned name may include constants.

Do not attempt to call this function from outside a Check, BeforeInstall or AfterInstall event function belonging to a [Files] entry.