Hello and welcome to Advanced Installer forums,
Your scenario can be easily implemented using Advanced Installer.
In order to achieve this, you can add the
Crystal Report for VS2008 prerequisite in the
Prerequisites page as a
Feature-Based prerequisite. Use the
[ Package Prerequisite ] toolbar button or “
New Package Prerequisite” context menu item. You will be prompted to pick the prerequisite setup files.
Please keep in mind that this type of prerequisite is created with default settings, so you need to configure it manually (e.g. define proper install conditions for the prerequisite in the
prerequisite install conditions tab.
A prerequisite will be installed based its install conditions defined in the
Prerequisite Install Conditions Tab.
The Install Conditions section allows you to condition the prerequisite based on custom searches. You can create multiple searches for the same prerequisite. You can evaluate an install condition using the [ Evaluate... ] button.
Also, be aware by the two options below the “Install Conditions” section:
- Install only if at least one condition is false - If this option is selected, at least one search must fail in order to install the prerequisite.
- Install only if all conditions are false - If this option is selected, all searches must fail in order to install the prerequisite.
So, the prerequisite will be installed according to the enabled option which refers to the install condition that you have defined before.
Through the Install Command Lines section from the
Prerequisite Setup Tab you can add optional command lines for launching the prerequisite under different UI environments.
Each command is used by your prerequisite based on the UI level of the main package, i.e. if the main package runs with full UI the command from the "Full UI" field will be used to call the prerequisite, if the main package runs with basic UI them the command from the "Basic UI" field will be used to call the prerequisite, the same for the rest.
This way you can have different command lines for each UI level:
- Full UI - command line parameters used for an installation with full user interface
Basic UI - command line parameters used for an installation which shows only a progress bar
Silent (no UI) - command line parameters for an installation with no user interface
Note the command that you need to pass is the same as you would use to install the prerequisite silent from the command line, i.e. for .MSI packages the command is /qn. Since your license is of Professional type, you should only add command line switch in the
FULL UI field.
Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.
Best regards,
Dan
FOLLOW US
Get the latest news in Application Packaging