The top horizontal line highlighted in the screenshot is the WizardForm.Bevel1 component, and the bottom is the WizardForm.Bevel component. To hide both, you can write a script as follows:
[Setup] AppName=My Program AppVersion=1.5 DefaultDirName={pf}\My Program [Code] procedure InitializeWizard; begin WizardForm.Bevel.Visible := False; WizardForm.Bevel1.Visible := False; end;
TLama source share