What is the right way to include another installer into bitrock installer?

Answered

Comments

1 comment

  • Avatar
    wojciechka

    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:

Please sign in to leave a comment.