Pascal Scripting: RegWriteBinaryValue

Inno Setup

Pascal Scripting: RegWriteBinaryValue

Prototype:

function RegWriteBinaryValue(const RootKey: Integer; const SubKeyName, ValueName: String; const Data: AnsiString): Boolean;

Description:

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

Example:
begin
  RegWriteBinaryValue(HKEY_CURRENT_USER, 'Software\My Company\My Program',
    'BinaryTest', 'Whatever' + #1#2#3#4);
end;