jerryz
Posts: 13
Joined: Fri Mar 08, 2013 11:51 am

How to skip "prerequisites dialog"?

How to skip "prerequisites dialog" when all prerequisites are already installed? We need .NET framework 4.5 to be installed before the installation starts, but we don't want to bother user if the package is already installed. Is there any simple way how to do that?
Thnaks for help.
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: How to skip "prerequisites dialog"?

Hello,

Please keep in mind that this is the default behavior for the pre-install prerequisites. If the pre-install prerequisite is already installed on the user's machine the prerequisite dialog will not be displayed.

Please make sure you have the right condition in the “Install Conditions” tab.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jerryz
Posts: 13
Joined: Fri Mar 08, 2013 11:51 am

Re: How to skip "prerequisites dialog"?

Hello Dan,
The pre-requisites dialog gets always displayed no matter if it is installed or not. The installation of the .NET 4.5 framework does not start if it is already installed, but the dialog is always displayed. The only condition is simple registry check. We have set it up as "Feature-based" Package. Is that a problem?
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: How to skip "prerequisites dialog"?

Hello,

Please notice that this is the default behavior for the “Featured-based” prerequisites. The PrerequisiteDlg is always displayed.

As a workaround, in order to not display the prerequisite dialog if the prerequisite package is already installed on the target machine, you can go in the “Dialogs” page and on the “PrerequistesDlg” you can select the “Show only if” option.
In the “Expression” field you can set “ NOT AI_PrereqsFulfilled ” condition.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jerryz
Posts: 13
Joined: Fri Mar 08, 2013 11:51 am

Re: How to skip "prerequisites dialog"?

OK. Thanks fot help.

Return to “Building Installers”