Inno Setup:创建简化的 ComponentsList

Inno Setup: Create simplified ComponentsList

我只有两个组件供用户在安装时选择。两者都相互依赖,并且 none 没有任何约束。我想展示两个没有额外布局的简单复选框,而不是 TNewCheckListBox(即 ComponentsList)的复杂性。有办法吗?

这是我所追求的图像:

感谢您的帮助!

不确定 "complexity" 是什么意思。如果它只是让列表看起来像一个列表框,那么如何让它看起来不像列表呢?

procedure InitializeWizard();
begin
  WizardForm.ComponentsList.BorderStyle := bsNone;
  WizardForm.ComponentsList.ParentColor := True;
  WizardForm.ComponentsList.Top := WizardForm.SelectComponentsLabel.Top;

  WizardForm.ComponentsDiskSpaceLabel.Visible := False;
  WizardForm.SelectComponentsLabel.Visible := False;
end;