使用Inno Setup安装文件时显示进度详细信息(如速度) [英] Show progress details (like speed) when installing files with Inno Setup
问题描述
我正在尝试在安装程序中添加动态进度栏.我想用我的安装程序安装一些程序.进度条应按字面显示,即表示当前正在安装哪些程序文件.它看起来像这样的例子:
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:
我确实尝试过类似的操作: Inno设置:如何在运行"部分操作进度条?
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?
推荐答案
Inno Setup API不会为您提供实现此功能所需的信息(特定文件的安装状态).
Inno Setup API does not give you the information you would need to implement this (state of an installation of a specific file).
因此不可能(除非您将功能添加到Inno Setup中).
So it's not possible (unless you add the functionality to Inno Setup).
这篇关于使用Inno Setup安装文件时显示进度详细信息(如速度)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!