We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

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

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

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: 7853
Joined: Wed Jun 13, 2018 7:49 am

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

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”