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

  • Home
  • SEARCH
  • 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 191861
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T16:22:38+00:00 2026-05-11T16:22:38+00:00

I am using the latest version of inno that does the following during setup:

  • 0

I am using the latest version of inno that does the following during setup:

  1. Perform dependency check to see what is installed
  2. Installs dependencies that are not already installed (.net, sql server, directx etc)
  3. Install the application and the files from the [Files] section (wpReady)
  4. Checks SQL Server for previously installed database and creates / updates the tables etc

Step [4] creates the database and tables etc and only works if SQL Server has already been installed which is why it is done in Step [2].

The output directory contains the created setup.exe and I manually place the additional dependencies folder containing the files required for steps [1,2 and 4] mentioned above.

This works great but I would like to create a single exe only that includes all the dependencies and extracts the dependencies BEFORE wpReady and before Step [1] above.

The dependencies are in the [Files] section but these files are not extracted until the setup executes wpReady message after the setup has gone through all the forms and attempts to install the files.

I use the following that adds what I need to the setup.exe

[Files]
Source: Output\Dependencies\*; DestDir: {tmp}; Flags: deleteafterinstall

What is the best way to extract the files to the temp directory before wpReady or should I perform the actions of wpReady first then go about installing the Dependencies (not ideal though).

  • 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-05-11T16:22:39+00:00Added an answer on May 11, 2026 at 4:22 pm

    You can use the ExtractTemporaryFile() function in the PrepareToInstall event function to extract any file from the [Files] section to {tmp} earlier, and it will be deleted when the setup finishes. Together with scripting and the various hooks Inno Setup gives you nearly everything can be achieved.

    Have a look at the “Pascal Scripting” section of the Inno Setup help, specifically the “Support Functions Reference”. There you will find documentation for ExtractTemporaryFile() and more.

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

Sidebar

Related Questions

I am currently building an Excel 2007 Add-in using VSTO (latest version + sp1)
How could I ensure that all the clients will always be using the latest
I am using latest version of jQuery Autocompletion plugin and have populated an array
My configure.in file has LT_VERSION=1.1 . I am using the latest version of autoconf
Could someone explain why both tests using the latest versions of Moq and Rhino.Mocks
I'm using ccl/openmcl on Mac OS X. (latest versions of both). When the lisp
I'm using the latest nightly build, VS2008 prof trial and .NET 3.5 and I'm
A rather odd experience. Using the latest PDK (v7.3) from ActiveState, I used perlctrl
Inspired by the MVC storefront the latest project I'm working on is using extension
Possible Duplicate: Watermarked Textbox for Compact Framework Using Visual Studio 2008 SP1, the latest

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.