3. Add your setup packages
The first step is to add the packages in the project, this you do from “Prerequisites“ page, where you need to add each package as a “Feature-based“ prerequisite. This will result in having a new feature created for each package in Organization page. By setting conditions on the features (explained later in this tutorial) you will be able to control which applications get installed or not.
After you add the packages, you can select each one of them and continue configuring it from the right side pane. There you have three tabs, “Properties“, “Setup Files“ and “Install Conditions“. Each of these tabs contains important settings that you must define.
In “Properties“ tab you must define the name of your package an other related information. In “Setup Files“ there is a very important area that needs to be customized, that is the “Install Command Lines“. These command line get passed to your packages when the bundle installer will execute them. The most important thing is to set the application to install silently, this is easy. For MSI packages the command line is /qn and for EXE packages built with Advanced Installer it is /exenoui /qn.
In the below image you can see a set of the command lines used. It starts with the "/qn" option to specify this is a silent installation, then sets the property APPDIR with the value of the parent installation folder, and at the end it sets another property from the installer, that is configured to store a port number in this example.
In “Install Conditions" tab you must select the option "Always install prerequisite" for all packages, be it MSI or EXE.
Users browsing this forum: No registered users and 3 guests