Цитата MrAWP:
Нельзя ли как то связать компонент с проверкой? »
|
Код:

procedure CurStepChanged(CurStep: TSetupStep);
begin
if CurStep = ssInstall then
if IsComponentSelected('имя_компонента') then
if not FileExists(ExpandConstant('{src}\archieve.exe')) then
begin
SuppressibleMsgBox('Файл archieve.exe не найден в папке с инсталлятором!', mbCriticalError, MB_OK, MB_OK);
Abort;
end;
end;