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

asked 12 Sep '11, 08:09

Jake's gravatar image

Jake ♦♦
826222226235
accept rate: 98%


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>
link

answered 12 Sep '11, 08:11

Jake's gravatar image

Jake ♦♦
826222226235
accept rate: 98%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×4

Asked: 12 Sep '11, 08:09

Seen: 1,349 times

Last updated: 12 Sep '11, 08:11