This is the [Files] portion of my code so far:
[Files]
Source: \"other_installer.exe\"; DestDir: \"{app}\"
Source: \"myprogram.exe\"; DestDir: \"{app}\"
Sour
Another good time to run prerequisite installers is in the PrepareToInstall event function. (See the example scripts provided with Inno for the basic structure, and TLama's code for the actual execution.)
The main advantage of PrepareToInstall is that it allows you to handle errors and reboot requests from the child installer -- using AfterInstall doesn't.
The main disadvantage of it is that you have to manually ExtractTemporaryFile anything required to run the child install, as this occurs prior to files being extracted.