Damir
Posts: 3
Joined: Mon Aug 14, 2017 8:06 am

Avoid installing unrequired .NET Framework 3.5

Hello,
how can i avoid installing the .NET Framework 3.5 in my project?
The .NET Framework 3.5 is not required for the project and also not configured within the prerequisites.

The project pre-requisites include following software:
Pre-install
-.NET Framework 4.6.1
-.NET Framework 4.6.1 (web installer)
-Visual C++ Redistributable for Visual Studio 2013 Update 5 x64
Feature-based
-IIS Web Deploy 3.6 x64
Windows Features
-.NET4 Win8
-IIS
Windows Server Roles
-Web Server (IIS)

In all constelations .NET framework 3.5 is unselected

Im using AdvancedInstaller 14.0.2
Thanks for your help.
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Avoid installing unrequired .NET Framework 3.5

Hi and welcome to Advanced Installer forums.

The ".NET Framework 3.5" is required by the IIS feature and it is installed with this. You can uncheck it from the IIS feature and Server Roles, but some other features that you need may also be unchecked.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Damir
Posts: 3
Joined: Mon Aug 14, 2017 8:06 am

Re: Avoid installing unrequired .NET Framework 3.5

Hi Eusebiu,

for testing purposes i have deleted all prerequisites from my project and the issue still occures. When i run the AdvancedInstaller this message appears : https://docs.microsoft.com/de-de/dotnet ... windows-10.

What is the reason for this and how can i fix this? I already have tried to set all "Install Parameters/Minimize Installation Time" options.

Best regards,
Damir
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Avoid installing unrequired .NET Framework 3.5

Hi Damir,

Sorry for the delayed reply.

Does that error appear during the installation or at the end of the installation? Can you please send me the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com, so I can investigate them? Also, can you please send me a screenshot with the dialog where .Net Framework 3.5 is required?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Damir
Posts: 3
Joined: Mon Aug 14, 2017 8:06 am

Re: Avoid installing unrequired .NET Framework 3.5

Hello Eusebiu,

thanks for reply. I think i found the problem. The issue occures due to a Custom Action. There is an command line tool included, which has been build with .NET 2 as target framework. I have rebuild the project and now i'm testing the AdvancedInstaller.
When the issue is still not fixed i will send you the project.

Best regards,
Damir
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Avoid installing unrequired .NET Framework 3.5

You're welcome Damir.

Just let me know if you need more assistance from me.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”