Install an additional distribution file using Inno Setup

I am using the Inno installation to install my tool along with some DLLs. However, during my installation, I need to run the redistributable .exe. How to include it in the setup process?

+7
source share
1 answer

If you want to install additional redistributable applications with your application, you can add them to the setting using the usual [Files] entry with the dontcopy flag.

You can then retrieve it during the PrepareToInstall event PrepareToInstall with the ExtractTemporaryFile() function and run it with Exec() .

This method will also allow you to check the exit code and the restart request, if necessary.

The ISXKB wiki has various related articles .

+7
source

All Articles