0

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?

4

1 回答 1

1

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.

于 2013-04-25T16:44:05.483 回答