Pascal Scripting: RegisterExtraCloseApplicationsResource

Prototype:

function RegisterExtraCloseApplicationsResource(const AFilename: String): Boolean;

Description:

Registers an extra file which Setup should check for being in-use. Call RegisterExtraCloseApplicationsResource inside a RegisterExtraCloseApplicationsResources event function, once per file. Ignores CloseApplicationsFilter. Returns True if successful.

Remarks:

This function used to have a DisableFsRedir parameter, which was removed in 7.0. Use ApplyPathRedirRulesForCurrentProcess instead to register a 64-bit file from a 32-bit installer, or vice versa.