.Net 4.8 installed as a Pre-requisite - Advanced Installer Community
WyoDoug
Posts: 7
Joined: Fri Nov 20, 2015 2:39 am

.Net 4.8 installed as a Pre-requisite

Howdy, all.

We're using AI 16.4.1to build out product install and all is going very well with the exception we just upgrades to .NET 4.8 and are using the full executable delivered as part of our single.EXE install as the install source. Problem is No matter what I do it keeps asking to install the pre-requisite every time I perform an install even if .NET 4.8 is already installed.

I'm not sure what I need to do to fix this. older version of the .NET 4.X pre-requisite installed the manner worked as expected.

I'd love a suggestion to understand what I screwed up to make it not work any longer. I've tried re-adding the pre-requisite several times without success.

I;ve attached the project and would appreciate some help.

A screenshots of the install failure is also provided.
Attachments
Setup.aip
(262.45 KiB) Downloaded 240 times
WyoDoug
Posts: 7
Joined: Fri Nov 20, 2015 2:39 am

Re: .Net 4.8 installed as a Pre-requisite

Prereq1.png
Prereq1.png (59.06 KiB) Viewed 4181 times
Prereq2.png
Prereq2.png (47.74 KiB) Viewed 4181 times
Prereq3.png
Prereq3.png (37.09 KiB) Viewed 4181 times
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: .Net 4.8 installed as a Pre-requisite

Hello,

Starting with the Windows 10 May update (2019), .NET Framework is built-in the operating system (already installed by default).

When doing our check, we skip (by default) those two versions of Windows (1903 and 1909), since it is already installed there. Somehow, it seems that you have forced the installation and thefore the .NET Framework 4.8 installer throws that error (that is not thrown by your setup package, but by the .NET installer itself).

There are two scenarios which I can think of right now:

- you manually checked the two versions of Windows where .NET Framework is already installed

- you forced the installation of the prerequisite by checking the "Always install prerequisite" radio button

netfwconditions.png
netfwconditions.png (122.65 KiB) Viewed 4165 times

As in the attached screenshot, please make sure you do not have the "Always install prerequisite" radio button checked and that the 1903 and 1909 versions of Windows are unchecked from the "Supported Operating Systems" list.

Hope this helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
WyoDoug
Posts: 7
Joined: Fri Nov 20, 2015 2:39 am

Re: .Net 4.8 installed as a Pre-requisite

You nailed the solution! Thank you!.
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: .Net 4.8 installed as a Pre-requisite

Hello,

Thank you for your followup on this!

I am really glad I could help and that everything works as expected now!

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

Return to “Common Problems”