Witam. Tworze instalkę w inno setup i na potrzeby instalki potrzebuję utworzyć klasę, wszystko robie poprawnie definiuję klase tak jak się powinno ją definiowac ale kod nie chce się kompilować.
Oto fragment z inno setup
[Code]
type
TInstallItem = class
constructor Make;
property File: string; read write;
property Params: string; read write;
property RegistryKey: string; read write;
property Shell: Boolean; read write;
property Text: string; read write;
property InstallWithoutAsking: Boolean; read write;
property CheckBoxID: Integer; read write;
property DependOn: Integer; read write;
property ProgramMode: Integer; read write;
end;
var
params:string;
memoDependenciesNeeded: string;
CheckListBox, CheckListBox2: TNewCheckListBox;
OKButton, CancelButton: TNewButton;
CheckBox: TNewCheckBox;
staticText: TNewStaticText;
rbB : TNewRadioButton;
rbT : TNewRadioButton;
App: InstallItem;
Apps: array[1..100] of InstallItem;
Wywala mi się przy linijce TInstallItem i mówi że "identifier expected".
Z góry dzięki za pomoc