Evalution version of lastest AI Enterprise - we plan on purchasing if we can get a proof of concept of the PrerequisiteDlg Prerequisite Selector working properly.
Project has 3 Pre-install Prerequisite Packages that should always be installed if not present. Those are working fine.
Problem is that there are 2 Feature-based Prerequisite Packages that I would expect to see in displayed as optional packages in the EXE Bootstrapper/Pre-install UI/PrerequisitesDlg dialog. This dialog never appears, instead it goes from WelcomePrereqDlg to ProgressPrereqDlg.
I've tried deleting the following event:
EXE Bootstrapper
Pre-install UI
WelcomePrereqDlg
Next button
Event Argument Condition
Display a specific dialog PrerequisiteDlg AI_BOOTSTRAPPER
...so that when the WelcomePrereqDlg Next button is pressed it always shows the PrerequisitesDlg. The Advanced Installer UI doesn't enable the Remove button when that event is selected. I also cannot find any information on AI_BOOTSTRAPPER
My 2 Feature-based Prerequisites have the 'Continue with main installation even if the prerequisite is not installed' checkbox unselected.
They are using files from disk along with Install Command Lines that contain '--', ' " ', '!' and '_' characters.
They also have Install Conditions 'Install Prerequisite based on conditions':
Criteria Search String
Registry Value Exists HKEY_LOCAL_MACHINE\SOFTWARE\MyPrerequisiteSoftware1\Version
...where the Registry Value has been tested via the AI UI and responds as expected depending on its presence.
'Install prerequisite if all conditions are false' is selected.
It's a 64bit project targeting only 64bit OS's so 'Use 64-bit locations when evaluating conditions on a 64-bit machine' is selected.
Under Builds, the Package Type is 'EXE setup with resources next to it'.
Under Organization, 'Mark components in this feature as "64-bit component"' is checked. Installation Behavior is 'Not Installed' with 'Installed if:' set to PREREQUISITESDLGPREREQUISITESELECTOR_0_PROP. <-- I'm pretty sure that's not fully right but you can see here that I'm trying to have this feature optional based on the Bootstrapper UI PrerequisitesDlg. Problem is that this dialog never appears.
I've looked at the examples and none of them appear to describe how to make the Bootstrapper UI PrerequisitesDlg appear and how to connect the Feature-based Prerequisite packages to the user selections in that dialog. I'd appreciate a pointer to a working example.
Thanks