Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9168269
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T15:35:21+00:00 2026-06-17T15:35:21+00:00

I have an Inno Setup install that execute some time consuming ‘AfterInstall’ action. And

  • 0

I have an Inno Setup install that execute some time consuming ‘AfterInstall’ action. And while this action is executed, install GUI is completely frozen (seems it’s main event loop is not processed). This is not a pleasant end user experience, so maybe it’s somehow possible for this operation not to freeze GUI? Like perform it in separate thread or periodically call something like handleGuiEventLoop()?

For the "action", I’m calling my function from my .dll that makes a number of HTTP requests and writes down response as file into app install folder. This is not CPU intensive, but can take a few seconds. Or, if internet connection is weak / no internet connection available it can take a minute or two. And installer GUI is frozen all this time.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T15:35:23+00:00Added an answer on June 17, 2026 at 3:35 pm

    The output progress pages are designed for providing feedback on longer running operations.

    But in order for this to be effective you have to be able to keep Inno updated on your current progress by periodically calling methods on this page.

    There is a library that will let you pass an Inno script function as a callback to a DLL, which may be of use. You may also want to look at using the ITDownload script from the same site, which lets you do HTTP access from within Inno itself, avoiding the middle-man.

    However Inno is inherently single-threaded and GUI-thread-affine, so calling blocking operations directly will always block the UI without special provision. Running code from within a separate thread is possible (but only within a DLL, and you have to be very careful); other options include making asynchronous calls only, or calls which internally maintain GUI updates, such as Exec.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple inno-setup script that allows my setup to install either the
I have a Inno Setup project that I want to check if the application
I have an application installer created with Inno Setup that deploys multiple binaries and
I know how to have Inno Setup create/manipulate registry keys and/or values on install
I want to pre install the fonts for inno setup. I have made a
I am building an Inno Setup script and have libraries that need to be
I am using inno-setup to install a program that needs to unblock port 4326
I have an Inno Setup installer that needs to restart the explorer (in order
I've been coding in Inno Setup this afternoon and I read some Pascal documentation
I have setup an inno setup script that installs my application. The resulting setup.exe

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.