Hi,
I have a custom dialog where the users select the desired installation type. Can I show the prerequisites dialog AFTER that selection has been done?
I'm afraid that this is not supported by Advanced Installer. The
prerequisites are installed by the
EXE bootstrapper, therefore they are launched before the main package runs.
I don't see the way to use properties in order to indicate the conditional installation of a prereq; only searches, registry keys and so on.
Please note that the installer properties are available only during the main installation. Since the prerequisites are launched by an EXE bootstrapper, the Windows Installer process has not started yet, therefore the properties cannot be accessed. Also, a prerequisite uses its detection criteria to determine if it will run or not.
I'm afraid that what you need is not supported by Windows Installer or Advanced Installer. However, you can try this:
- in the
Media page create a build for each installation type
- in the "Prerequisites" page configure the
builds in which the prerequisites are included
- after you build the project, you will have an installation package (with different prerequisites) for each installation type
- create a custom EXE which allows the user to select the installation type
- based on the option chosen by the user the EXE should launch a specific package
Regards,
Cosmin
FOLLOW US
Get the latest news in Application Packaging