I need to run a program as part of the installation of my application. Can I do this with BitRock InstallBuilder?
search cancel

I need to run a program as part of the installation of my application. Can I do this with BitRock InstallBuilder?

book

Article ID: 321504

calendar_today

Updated On: 05-09-2017

Products

VMware

Issue/Introduction

Symptoms:

I need to run a program as part of the installation of my application. Can I do this with BitRock InstallBuilder?


Resolution

Yes, you can run a program as part of the installation of your application with InstallBuilder by using a <runProgram> action. You will have to include a section like the one below inside an action list section of your XML installer project file.

      <runProgram>
          <program>${installdir}/utils/scripts/init_db.bat</program>
          <programArguments></programArguments>
      </runProgram>