InnoSetup: how to remove horizontal lines from wizard pages

Is there a way to remove or hide horizontal line elements from Innosetup wizard pages by code to give it a slightly more modern touch?

See an example here:

enter image description here

Thanks!

+6
source share
1 answer

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; 
+8
source

Source: https://habr.com/ru/post/957986/


All Articles