Pascal Scripting: CurrentSourceFilename

Prototype:

function CurrentSourceFilename: String;

Description:

Returns the source 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 with the "external" flag.