aleksandr.shtifanov
Posts: 20
Joined: Mon Jun 02, 2014 8:31 am

.NET Framework 4.6 (Web Installer) not installable on Windows 7

Wed Jan 17, 2018 12:07 pm

Problem description:
We have a setup where we require to install the .NET Framework if not already installed.

This happens in the PRE-INSTALL stage to prevent the AdvancedInstaller Setup blocking the installation of .NET Framework.
In the past, the installation also worked in the FEATURES stage, but we had to put it to PRE-INSTALL after using newer version of the .NET Framework which began to be blocked by the main setup.

It worked all fine with the .NET Framework 4.5 web installer.

Due to an update, we require an installation of .NET Framework 4.6 for the application, only to run into the same problem as in the past - the installer of .NET Framework is being blocked my the main setup.

This problem only occures on Windows 7. We have also tested it with Windows 10 and it works fine.

Environment:
Setup was created with AdvancedInstaller v13.7
Windows 7 SP1
Attachments
MSI43E3.LOG
(28.59KiB)Downloaded 291 times

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

Re: .NET Framework 4.6 (Web Installer) not installable on Windows 7

Thu Jan 18, 2018 3:03 pm

Hi,

Are you sure that no "msiexec.exe" process hangs in the Task Manager? Can you end those processes and test it again? Is the problem reproducible on multiple Windows 7 SP1 machines?

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

aleksandr.shtifanov
Posts: 20
Joined: Mon Jun 02, 2014 8:31 am

Re: .NET Framework 4.6 (Web Installer) not installable on Windows 7

Fri Jan 19, 2018 10:43 am

Here is what happens, step by step:
- I execute my custom setup
- my setup.exe and an msiexec.exe are now displayed in the task manager
- I arrive at the "required components" page of my setup and press next
- the prompt screen for the .NET web installer appears, I press YES to proceed
- msiexec.exe has disappeared from the task manager
- now I see "NDP46-KB3045560-Web.exe" (this is the web installer), Setup.exe (this is new) and still my own setup.exe running
- I move forward in the web installer, but cannot progress due to the described problem

I have reproduced this error on several Windows 7 SP1 machines.

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

Re: .NET Framework 4.6 (Web Installer) not installable on Windows 7

Mon Jan 22, 2018 2:55 pm

Hi,

I'm not sure why this happens. Can you please send me a link with your package to support at advancedinstaller dot com, so I can test it and investigate the problem? Also, please send me the project file so I can see how it is configured.

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

aleksandr.shtifanov
Posts: 20
Joined: Mon Jun 02, 2014 8:31 am

Re: .NET Framework 4.6 (Web Installer) not installable on Windows 7

Tue Jan 23, 2018 10:14 pm

I have changed the web installer to version 4.6.1 and it is working.
There must be something wrong with the web installer for 4.6 in general.

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

Re: .NET Framework 4.6 (Web Installer) not installable on Windows 7

Thu Jan 25, 2018 2:59 pm

Hi,

There are, indeed, some known problems with the installation of .NET Framework as a prerequisite as detailed in the "Why does .NET Framework fails as feature-based prerequisite" FAQ because it interacts with Windows Installer.

I'm not sure why .NET 4.6 hangs even if it is installed as a pre-install prerequisite, it seems like it is a problem specific to that version. I'm glad that version 4.6.1 worked for you.

Just let me know if there is anything else that I can help you with.

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

Return to “Common Problems”