-
Inno setup help
Hi,
Does anyone here know much about inno setup?. I'm currently trying to look at different ways of implementing my project.
I am currently struggling as I am trying to run an automated software install script through inno setup but it doesn't actually wait for the installation to finish before proceeding.
So inno setup installer will show the installation as complete but the script is still running?
thanks
-
Re: Inno setup help
I've now managed to get it working. But I've found that the progress bar will remain at 100% and upon the scripts ending the finish button will appear.
Does anyone know why the progressbar is just stuck at 100%. Trying to work out how I can dedicate a certain percentage of the progress bar to each part in the run section. Code for part of inno setup is below. Thanks
Code:
[Files]
Source: Firefox.exe; DestDir: {tmp}; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
Source: test.exe; DestDir: {tmp}; Flags: deleteafterinstall
Source: test2.exe; DestDir: {tmp}; Flags: deleteafterinstall
[Run]
Filename: {tmp}\test.exe
Filename: {tmp}\test2.exe
-
Re: Inno setup help
-
Re: Inno setup help
What progress bar? I see nothing about a progress bar.
-
Re: Inno setup help
If you mean Inno Setup's progress bar, you should design your own that you can control using the [Code] section and the Pascal code.
Ex.
Code:
TNewProgressBar = class(TWinControl)
property Min: Longint; read write;
property Max: Longint; read write;
property Position: Longint; read write;
end;
Look at Pascal Scripting: Support Classes Reference in Inno Setup for more information