How can I launch an application in the background from InstallBuilder?

Answered

Comments

1 comment

  • Avatar
    Jake

    You can launch an application in the background (so InstallBuilder will not wait for it to finish) by adding & as the final argument of the action. If you edit the XML file directly, remember that & needs to be escaped as &. For example:

    <finalPageActionList>
      <runProgram>
        <program>${installdir}/bin/myapp</program>
        <programArguments>&amp;</programArguments>
        <progressText>Do you want to launch ${product_fullname} now?</progressText>
      </runProgram>
    </finalPageActionList>
    

Please sign in to leave a comment.