Inno Setup Form Designer 2.0.8 Download -

Then call the form from InitializeWizard or a custom button:

[Setup] AppName=My App AppVersion=1.0 DefaultDirName=pf\MyApp [Registry] Root: HKCU; Subkey: "Software\MyApp"; ValueType: string; ValueName: "UserName"; ValueData: "code:GetUserName" inno setup form designer 2.0.8 download

var UserNameValue: string;