olafurhj
Posts: 2
Joined: Tue Apr 30, 2019 12:00 pm

Avoid adding .NET Framework 3.5

Hello.

I have this project that builds WPF client, I'm new to Advanced Installer and maybe this is fairly standard but I'm having trouble with my client wanting to add .NET Framework 3.5.

I haven't selected any predefined prerequisites. For the launch conditions I've only selected Windows 10 and Windows server and for software I picked .NET Framework 4.7 from the drop down.

When I start up my client I always get:
netframework35.png
netframework35.png (12.28 KiB) Viewed 1214 times
Where in my project can I avoid this?

Thanks!
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Avoid adding .NET Framework 3.5

Hello,

If the application deployed by the setup package built with Advanced Installer requires .Net 3.5 feature, then you can prevent the related if you enable .Net 3.5 feature at install time. To do so you can proceed like this:

1. go to "Prerequisites" page of your setup project
2. right click on "Windows Features" tree node in the middle pane and use the "New Windows Feature Bundle" option
3. in the right pane select your target operating systems and check the ".Net Framework 3.5" Windows feature
4. build and run your setup project

This way the .Net 3.5 Windows feature will be enabled at install time.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”