문제

I am trying to create my own InnoSetup Control (combined dropdown and file input box with browse button). I need dynamic number of these controls. My idea was to inherit TControl and build the needed control like that.

type
  TConfigControl = class(TControl)
  public
    constructor Create(AOwner: TComponent);
  end;

I am not avid Pascal programmer but I think the syntax should be correct. When I try to compile the InnoSetup script it gives "Identifier expected" to the second line.

On the other hand, is this the correct way to do this kind of thing in innosetup?

도움이 되었습니까?

해결책

You can create your component in Delphi - regular Pascal allows you to do this.

Inno Setup Script cannot handle such situations (it is pretty complicated).

So develop plug-in (.dll file) and use it to place your control on Wizard's form.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top