How to pass a configuration file for a prerequisite

If any of your prerequisites which are included into your package requires a configuration file to be passed during the installation in order for it to get installed correctly, all you need to do is:

  • create a new Prerequisite Package as you normally do;
  • within the prerequisite package created, go to Setup Files tab and add the configuration file required as an Additional File.

Let's suppose you have MyPrerequisiteSettings.xml configuration file which is required for your prerequisite installer.

Then, your Prerequisite Package must be configured like the one below:

Pass prerequisite config file additional package

When the package is built, not only the prerequisite installer (MyPrerequisite.msi), but also the additional file added (MyPrerequisiteSettings.xml), are loaded into your package.