Prerequisite Page - Does not show prerequisites that pass - Advanced Installer Community
lochiano
Posts: 4
Joined: Mon Mar 25, 2013 5:01 pm

Prerequisite Page - Does not show prerequisites that pass

We have recently upgraded to version 12.1.

We have three prerequisites for the installation (MsSinstaller 4.5, DirectX9 and .NET Framework 4.5). The installer does appear to validate that these are present on the machine. However our issue is that when this happens, the prerequisite screen only displays a checkbox, but not the prerequisite name and the rest of the information (e.g. present, skipped). Naturally we are concerned that this will be confusing to the user.
lochiano
Posts: 4
Joined: Mon Mar 25, 2013 5:01 pm

Re: Prerequisite Page - Does not show prerequisites that pas

Update to this question.

It turns out that the prerequisite information is being posted to the panel, but the font color is white (on a white background). We are using the Graphite default theme and since this theme has a dark gray background, the text is displayed in a white color. When we select one of the items on this dialog the prerequisite name text is displayed in black, but the auxiliary information continues to be displayed in white.

The other dialogs display their text correctly.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Prerequisite Page - Does not show prerequisites that pas

Hello,

Indeed, this seems to be an Advanced Installer limitation when using "Graphite" theme. A fix will be available in a future version of AI, thank you for bringing this to our attention. We'll notify you when the fix will be out.

Until then, as a workaround, you can create a new text style to be used by the PrerequisiteSelector control from "PrerequisiteDlg" dialog. Here are the steps to proceed:
1. go to "Themes page -> Text Styles tab" and add a new text style (e.g. PreqStyle) which will use a black font
2. go to "Dialogs" page and on "PrerequisiteDlg" dialog select the PrerequisiteSelector control
3. in the "Properties right pane -> Text Style field" choose the new created "PreqStyle" text style
4. rebuild and test again the scenario

Please keep in mind that the above workaround can be implemented only by using an "Enterprise" or higher edition of AI, as it requires the usage of our "Dialog Editor" feature.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”