Show progress details (like speed) when installing files with Inno Setup

南楼画角 提交于 2020-08-05 09:51:24

问题


I'm trying to add a dynamic progress bar in my installer. I want to install some programs with my installer. The progress bar literally should show, which program files are currently install right now. It should look like this example:

I do try something like this : Inno Setup: How to manipulate progress bar on Run section?

[Code]

procedure UpdateProgress(Position: Integer);
begin
  WizardForm.ProgressGauge.Position := Position * WizardForm.ProgressGauge.Max div 100;
end;

But I also want to see the the actual speed, status, elapsed time, etc. Is there an opportunity to realize it?


回答1:


Inno Setup API does not give you the information you would need to implement this (state of an installation of a specific file).

So it's not possible (unless you add the functionality to Inno Setup).



来源:https://stackoverflow.com/questions/62989912/show-progress-details-like-speed-when-installing-files-with-inno-setup

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