Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Display Modes
  #1  
Old 10-12-2024, 09:28
Ra7eN Ra7eN is offline
Registered User
 
Join Date: Apr 2023
Location: Midwest USA
Posts: 21
Thanks: 4
Thanked 1 Time in 1 Post
Ra7eN is on a distinguished road
Cool Inno Setup: Delay Before Progress Bar with Large Compressed Archives

I’m teaching myself how to make installers with Inno Setup and learning by looking at example ISS files. My goal is to use compression tools like Precomp, LZ, and SREP to optimize the repacks. However, I’ve run into a bit of an issue and could use some clarification.

When I create installers with large, highly compressed archives (2-7GB), there’s often a delay of up to 3 minutes before the progress bar shows up during installation. At first, I thought it was freezing, but I waited it out and realized it was just taking time to decompress the files. The installation completes fine, but the delay makes it look like the installer is stuck, which isn’t great for user experience.

My main question is: does Inno Setup typically decompress archives into {tmp} (or another temp folder) before showing the progress bar? Or could this be related to how my ISS file is set up—maybe the order of commands or the way the installer processes compressed archives?

I’ve noticed other installers I’ve tested don’t show the progress bar immediately either when using heavy compression, but they seem a bit more responsive overall. I’m wondering if this kind of delay is just normal behavior for Precomp and SREP with Inno Setup, or if there’s something I might be missing in the scripting or compression settings.

If it helps, I can upload an example ISS file, but I figured this might be a general question about how Inno Setup handles things. If this is just how it works, I might stick with batch files for now, even though I prefer the visual appeal of a GUI. Any tips or insights would be awesome!
Reply With Quote
Sponsored Links
  #2  
Old 10-12-2024, 13:06
dyren dyren is offline
Registered User
 
Join Date: Jul 2024
Location: n
Posts: 22
Thanks: 2
Thanked 8 Times in 6 Posts
dyren is on a distinguished road
If you used precomp for compression, thats why.
Reply With Quote
  #3  
Old 10-12-2024, 14:11
Ra7eN Ra7eN is offline
Registered User
 
Join Date: Apr 2023
Location: Midwest USA
Posts: 21
Thanks: 4
Thanked 1 Time in 1 Post
Ra7eN is on a distinguished road
Quote:
Originally Posted by dyren View Post
If you used precomp for compression, thats why.
All right thanks for the quick reply. So I'm assuming also combined with s rep, makes it take even longer.
I'll just keep with the old fashioned bat files. I can get it to crunch down pretty small, but I'll take that over a fancy gui. Thanks again for the help
Reply With Quote
  #4  
Old 10-12-2024, 22:29
dyren dyren is offline
Registered User
 
Join Date: Jul 2024
Location: n
Posts: 22
Thanks: 2
Thanked 8 Times in 6 Posts
dyren is on a distinguished road
Quote:
Originally Posted by Ra7eN View Post
All right thanks for the quick reply. So I'm assuming also combined with s rep, makes it take even longer.
I'll just keep with the old fashioned bat files. I can get it to crunch down pretty small, but I'll take that over a fancy gui. Thanks again for the help

Nope, it only takes long because of precomp. I'd avoid it anyway, it doesn't do much in most cases.
Reply With Quote
  #5  
Old 11-12-2024, 10:18
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,172
Thanks: 284
Thanked 1,370 Times in 618 Posts
Masquerade is on a distinguished road
It's not because of precomp, it's because of the lack of stdio processing for decompression. Whatever plugin you use to bridge FreeArc with InnoSetup will only record finalbytes written to disk. If you're using $$arcpackedfile$$.tmp / $$arcdatafile$$.tmp for any decompression commands, FreeArc has to write those files to disk, do decompression, THEN write the final files/bytes. This janky process is why you wait forever to see any progress.

You can save all this trouble by using stdin/stdout supported tools for decompression.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
BlackBox v2 y_thelastknight Conversion Tutorials 567 16-12-2024 22:22
Useful Dll for Inno Setup users peterf1999 Conversion Tutorials 88 01-12-2017 17:00
INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup REV0 Conversion Tutorials 51 26-03-2015 07:57
Inno Setup - Progress Bar, Help Needed silentnight512 PC Games - CD/DVD Conversions 4 28-12-2013 15:15



All times are GMT -7. The time now is 23:26.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright 2000-2020, FileForums @ https://fileforums.com