procedure CurStepChanged(CurStep: TSetupStep);
begin
if CurStep = ssDone then
begin
if RegGetSubkeyNames(HKLM, 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\George''s test_is1', Names) then
begin
S := '';
for I := 0 to GetArrayLength(Names)-1 do
S := S + Names[I] + #13#10;
MsgBox('List of subkeys:'#13#10#13#10 + S, mbInformation, MB_OK);
end
else
begin
MsgBox('No subkeys returned!', mbInformation, MB_OK);
end;
end;
end;
Message box just says "List of subkeys:". I think it's the single quote, but I'm not sure. I'm messing around with ways to read it correctly.