I am using the latest version of inno, which performs the following settings:
- Run a dependency check to find out what is installed.
- Installs dependencies that are not yet installed (.net, sql server, directx, etc.)
- Install the application and files from the [Files] (wpReady) section
- Checks SQL Server against a previously installed database and creates / updates tables, etc.
Step [4] creates a database and tables, etc. and only works if SQL Server is already installed, so this is done in step [2].
The output directory contains the created setup.exe file, and I manually put the additional dependencies folder containing the files necessary for steps [1,2 and 4] mentioned above.
This works fine, but I would like to create only one exe, which includes all the dependencies and extracts the dependencies before wpReadyand before step [1] above.
Dependencies are in the section [Files], but these files are not extracted until the installation completes the message wpReadyafter the configuration went through all the forms and tried to install the files.
I am using the following which adds what I need for setup.exe
[Files]
Source: Output\Dependencies\*; DestDir: {tmp}; Flags: deleteafterinstall
What is the best way to extract files to the temp directory before wpReadyor should I follow the steps wpReadyand then proceed to install the dependencies (although this is not ideal).
source
share