Inno Setup: Zainstaluj inny instalator i uruchom go przed kontynuowaniem instalacji

To jest jak dotąd część [Files] mojego kodu:

[Files]
Source: "other_installer.exe"; DestDir: "{app}"
Source: "myprogram.exe"; DestDir: "{app}"
Source: "data.dat"; DestDir: "{app}"
Source: "otherdata.dat"; DestDir: "{app}"

Mój program jest zależny od innego programu do uruchomienia. W moim instalatorze umieściłem instalator tego programu („other_installer.exe”). Chciałbym uruchomić ten instalator, gdy tylko zostanie skopiowany, przed kontynuowaniem programu „myprogram.exe” i resztą.

Sprawdziłem go i znalazłem dokumentację BeforeInstall w Pomocy Instalatora Inno, ale nie ma przykładu uruchamiania innej aplikacji. Myślę, że powinno być coś takiego:

[Files]
Source: "other_installer.exe"; DestDir: "{app}"
Source: "myprogram.exe"; DestDir: "{app}"; BeforeInstall: // RUN OTHER_INSTALLER.EXE //
Source: "data.dat"; DestDir: "{app}"
Source: "otherdata.dat"; DestDir: "{app}"

questionAnswers(3)

yourAnswerToTheQuestion