Вопрос How to disable this effect on ISDone code?

  • Автор темы Автор темы nizcoz
  • Дата начала Дата начала
nizcoz, check or add this:
Код:
[UninstallDelete]
Type: Filesandordirs; Name: {app};

This line already had it in my code. I am trying to cancel the installation (when decompression starts) with this code:

Код:
end;
    HideControls;
    WizardForm.CancelButton.Visible:=true;
    WizardForm.CancelButton.Enabled:=false;
  end;
  if (CurStep=ssInstall) and ISDoneError then begin
  Exec(ExpandConstant('{uninstallexe}'), '/VERYSILENT','', sw_Hide, ewNoWait, ResultCode);
  ExitProcess(0);
  end;
end;

But, when i press cancel and select ok, the uninstallation is not complete, the time to run
Код:
Exec(ExpandConstant('{uninstallexe}'), '/VERYSILENT','', sw_Hide, ewNoWait, ResultCode);
is not enough because the process is aborted before it is completed.
 
How to edit the ShowChangeDiskWindow?



How to hide the icon in the corner and the close, minimize, etc and change the width and height of buttons?
 
Последнее редактирование:
Назад
Сверху