Поскольку вы не используете стандартную «Выбор места назначения» страницы, вы можете просто переместить DiskSpaceLabel
на свою пользовательскую страницу, изменив ее Parent
:
var
DirPage: TInputDirWizardPage;
procedure InitializeWizard();
begin
DirPage := CreateInputDirPage(
wpSelectDir, SetupMessage(msgWizardSelectDir), '', '', False, '');
{ add directory input page items }
DirPage.Add('Path to Apache:');
DirPage.Add('Path to PHP:');
DirPage.Add('Path to Server Files:');
WizardForm.DiskSpaceLabel.Parent := DirPage.Surface;
end;
![enter image description here](https://i.stack.imgur.com/JBB8a.png)