Thanks support,
That fixed the compile error, but it is not running the .exe to create a registry entry.
function OnPubLoaded: Boolean;
begin
// When the publication is starting.
// Set Result to True if you want to exit immediately without any warning.
// Result := False;
end;
// MonitorCount...