michaeltu015

Help with prerequisites dialog

Wed Jun 27, 2018 4:23 am

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.

Catalin
Posts: 6537
Joined: Wed Jun 13, 2018 7:49 am

Re: Help with prerequisites dialog

Thu Jun 28, 2018 10:38 am

Hello and welcome to our forums,

What you want to achieve is actually a default setting of Advanced Installer. "Pre-Install" prerequisites are displayed in the Boostrapper "PrerequisiteDlg" in case they are not installed on the target machine, otherwise the dialog will not be displayed.

Also, please make sure that "Always install prerequisite" option is not ticked. To check this, go to "Prerequisites" page from the "Requirements" group, click on your "Pre-install" prerequisite, go to "Install Conditions". If this is not ticked, please make sure that you do not have an "Install Condition" that always evaluates as false, otherwise your prerequisite will always install.

Regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”