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