InnoSetup ExtractTemporaryFile causes heavy delay?

693 Views Asked by At

So I have an InnoSetup script that extracts an audio file to be played. Works great for smallish setups around 60MB

However for larger setups, say 200+MB the extraction takes ages and the wizard doesnt show up but hangs invisible.

Playing with Bass Audio Lib with procedure InitializeWizard; or function InitializeSetup()

Any idea ?

1

There are 1 best solutions below

0
RobeN On BEST ANSWER

Files you want to ExtractTemporary should be added as the First Positions in [Files] section.

It is also good to use Flags: nocompression (for large files) and NOT to use SolidCompression=True (False is the Default) in [Setup] section.

But still extracting multiple files or large files may take some time.