Hello!

I need to install firebird with my app. What is the right way to do it with installbuilder? I tried to start the third-party installer by run program action. It works fine, but i'd like to block installbuilder window, until firebird installation will be complete. So my questions are: 1. Tell me about the ways I can install third-party app with my installbuilder installer? 2. Is there a way to disable installbuilder window untill another app will be finished?

Thank you.

asked 13 Apr '12, 07:01

artur's gravatar image

artur
26334
accept rate: 0%


The <showProgressDialog> action can be used to both indicate a long running action and prevent user from clicking on the main installer window. For example:

<showProgressDialog>
  <title>Installing third party software</title>
  <actionList>
    <runProgram>
      <program>...</program>
      <!-- ... -->
    </runProgram>
  </actionList>
</showProgressDialog>

You can run the program after the application is installed, in which case you can simply run it from application's installation directory.

It is also possible to install dependencies before actual installation - in this case you can use <unpackFile> or <unpackDirectory> actions to unpack certain files or directories to a temporary directory and install from there.

For example:

<showProgressDialog>
  <title>Installing third party software</title>
  <actionList>
    <unpackFile>
      <component>thirdparty</component>
      <destination>${system_temp_directory}/thirdparty-installer.exe</destination>
      <folder>thirdparty</folder>
      <origin>thirdparty-installer.exe</origin>
    </unpackFile>
    <runProgram>
      <program>${system_temp_directory}/thirdparty-installer.exe</program>
      <programArguments></programArguments>
      <!-- ... -->
    </runProgram>
    <deleteFile>
      <path>${system_temp_directory}/thirdparty-installer.exe</path>
    </deleteFile>
  </actionList>
</showProgressDialog>

Additional information can be found in the following sections of InstallBuilder User Guide:

link

answered 13 Apr '12, 07:50

wojciechka's gravatar image

wojciechka ♦♦
7.8k61122
accept rate: 26%

Thanks a lot!

(13 Apr '12, 08:08) artur
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:

×156

Asked: 13 Apr '12, 07:01

Seen: 2,228 times

Last updated: 13 Apr '12, 08:08