Question

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

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

Answer:

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>