Pascal Scripting: RegDeleteKeyIfEmpty

Inno Setup

Pascal Scripting: RegDeleteKeyIfEmpty

Prototype:

function RegDeleteKeyIfEmpty(const RootKey: Integer; const SubkeyName: String): Boolean;

Description:

Deletes the specified subkey if it has no subkeys or values. Returns True if successful, False otherwise.