Windows 10 1709, .NET Framework 4.7.2 Prerequisite and launch condition - Advanced Installer Community
direct
Posts: 8
Joined: Wed Feb 20, 2019 6:23 pm

Windows 10 1709, .NET Framework 4.7.2 Prerequisite and launch condition

Hi,
I have the .NET Framework 4.7.2 Prerequisite with the default install condition, and also a launch condition with the same version of the .NET Framework 4.7.2.
But when I launch the installer on a Windows 10 Pro Version 1709 OS build 16299.967, and where .NET Framework 4.7.2 is not installed, the first thing I see is the prerequisite assistant and a modal popup over it, that says :
"XXX cannot be installed on a system where the .NET Framework version is less than 4.7.2."
(translated from french)

I don't understand why it doesn't try to install the .NET Framework 4.7.2 prerequisite, in the prerequisite install condition that version of windows is clearly checked.
It does work without any error on a Windows 10 1803.
Thanks.
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Windows 10 1709, .NET Framework 4.7.2 Prerequisite and launch condition

Hello and welcome to our forums,

Please keep in mind that in the "Launch Conditions" view you can specify conditions that must be fulfilled in order for your application to install.

In your case, the launch condition is not fulfilled because the .NET Framework 4.7.2 is not installed on the target machine, thus you see the respective message. This is done because the launch conditions are checked, by default, before searching for prerequisites. You can change this behavior by going to "Prerequisites" page -> click on "Packages" and then uncheck the "Check launch conditions before searching for prerequisites" option from under the "Global Prerequisites Options" section.

Hope this helps.

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
direct
Posts: 8
Joined: Wed Feb 20, 2019 6:23 pm

Re: Windows 10 1709, .NET Framework 4.7.2 Prerequisite and launch condition

Thanks, it works and I understand it now.
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Windows 10 1709, .NET Framework 4.7.2 Prerequisite and launch condition

You are always welcome.

Glad I could help.

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”