Do you made any progress?
My software is depended on .Net 4.5 and it is not a good customer experience, to show an empty window, when the prerequisites are already installed.
I read in the patch notes that this feature should have been implemented. Unfortunatly this does not work by me. I use version 9.7.
Is this correct?
Should there be now a empty perquiste window or not?
Mainly I use it for .Net 4.5, if already installed please show now empty window.
Yes, in version 9.7 the empty PrerequisiteDlg dialog should not be displayed. Have you made sure the package was rebuilt after you upgraded to 9.7? i.e. delete the entire output folder and issue a new build.
If the problem persists can you please try the same prerequisite in a new project to see if this just an upgrade problem in your case?
For the old project, can you please delete the prerequisite from it and the predefined PrerequisitesDlg dialog, build the package, then add them back and rebuild it again?
Also, a note regarding your first post. You said the user sees the empty dialog when the prerequisite is already installed.
This should never happen, if the prerequisites is installed it should see it in the list and the package should mention it will be skipped, as in the attached screen shot.
The only moment when the dialog was empty was when the launch conditions set for that prerequisite from Install Conditions tab did not validate it as being available for installation, i.e. for example if Win XP is unchecked for your prerequisite in the supported OSes list.
The settings look to be correct. Have you done this in a new project or is this the older project of Advanced Installer that you mentioned above? Can you please send me the that project?
EDIT
I had a looked over your screenshot and also the project you sent me by e-mail. Please note that you have a pre-install prerequisites. This type of prerequisite is installed before the main MSI is launched.
The predefined "PrerequisitesDlg" dialog that we provide lists, and is affected, only by feature-based and post-install prerequisites. Since you have only a pre-install prerequisite you should delete it from the
project entirely, from Dialogs page. For the pre-install prerequisite we already provide a predefined dialog that appears only if the prerequisite is not already installed, before the main installation starts.