Question

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

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

Answer:

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>