Inno Setup: Ask for reboot after uninstall

 https://stackoverflow.com/questions/36497580/inno-setup-ask-for-reboot-after-uninstall
 

Use UninstallNeedRestart event function:

function UninstallNeedRestart(): Boolean;
begin
  Result := True;
end;

It makes uninstaller ask for reboot at the end.

 

Note that you cannot combine this with the AlwaysRestart directive.

posted on 2019-01-23 15:06  liujx2019  阅读(261)  评论(0编辑  收藏  举报

导航