Pascal Scripting: RegWriteDWordValue

Inno Setup

Pascal Scripting: RegWriteDWordValue

Prototype:

function RegWriteDWordValue(const RootKey: Integer; const SubKeyName, ValueName: String; const Data: Cardinal): Boolean;

Description:

Writes the specified REG_DWORD-type registry value. Returns True if successful, False otherwise.

Example:
begin
  RegWriteDWordValue(HKEY_CURRENT_USER, 'Software\My Company\My Program',
    'ShowToolbar', 1);
end;