karthim20
Posts: 3
Joined: Mon Mar 16, 2020 1:13 pm

How to check .Net Framework 3.5 is enabled in Windows Features

Wed Jun 23, 2021 9:31 pm

Hi Support,
Let me know how to verify whether .Net Framework 3.5 is enabled in Windows Features. If its disabled I have to alert the user to enable it and resume the installation. I don't want to enable it via AdvancedInstaller. I want the user to perform the enable/disable operation. Only I need to validate the status as "prerequisites for my installer".

Regards,
Karthikeyan G

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

Re: How to check .Net Framework 3.5 is enabled in Windows Features

Thu Jul 01, 2021 3:22 pm

Hello Karthikeyan and welcome to our forums,

In order to achieve that, please have a look over the following Microsoft article:

Detect .NET Framework 1.0 through 4.0

To implement that in Advanced Installer, you could use a "Registry Search" and then use the property that saves the result of the search as a condition to display an "Error message" to the user.

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

Return to “Building Installers”