How to display message box when starting up an Inno Setup installer

允我心安 提交于 2019-12-22 10:58:38

问题


How to display a message box information, when starting up an installer made in Inno Setup?

Like this setup of Reloaded Games does:


回答1:


Call the MsgBox function from the InitializeSetup event function:

function InitializeSetup(): Boolean;
begin
  MsgBox('Some message.', mbInformation, MB_OK);

  Result := True;
end;


来源:https://stackoverflow.com/questions/40378046/how-to-display-message-box-when-starting-up-an-inno-setup-installer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!