title: Inno Setup: Install other installer and run it before continuing my install
body: <p>This is the [Files] portion of my code so far:</p>
  
  <pre><code>[Files]
  Source: "other_installer.exe"; DestDir: "{app}"
  Source: "myprogram.exe"; DestDir: "{app}"
  Source: "data.dat"; DestDir: "{app}"
  Source: "otherdata.dat"; DestDir: "{app}"
  </code></pre>
  
  <p>My program is dependent on another program to run. I've included the installer for this program ("other_installer.exe") in my installer. What I would like to do is launch this installer as soon as it has been copied, before continuing with "myprogram.exe" and the rest.</p>
  
  <p>I've googled and found the documentation for BeforeInstall in the Inno Setup Help, but they don't have an example of running another application. I believe it should be something like this:</p>
  
  <pre><code>[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}"
  </code></pre>