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!

Skwerl
Posts: 4
Joined: Tue Jul 08, 2014 7:17 pm

Netfx 4.5 prerequisite installation for web installer

I have two virtually identical installer builds that require .Net 4.5 as a prerequisite. The plain old .exe installer installs .Net without any problems. However, the web installer version starts the .Net installer, but the .Net installer UI says it is "waiting for another installation to finish." If I kill my installer (which spawned the .Net prerequisite installation), the .Net installer immediately starts installing. It also proceeds if I allow it to sit there for exactly 10 minutes without killing the main installer. I've tried making the .Net prereq a pre-install, feature-based, and post-install, and the result is identical. Is there another way I can ensure the framework is installed as a prerequisite?

Thank you,
Josh
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Netfx 4.5 prerequisite installation for web installer

Hi Josh and welcome to Advanced Installer forums.

I'm not sure why you encounter this behavior, I tested your scenario, but I couldn't reproduce the problem.

Can you reproduce the behavior on multiple clean machines? If so, can you please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com, so we can investigate them?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Skwerl
Posts: 4
Joined: Tue Jul 08, 2014 7:17 pm

Re: Netfx 4.5 prerequisite installation for web installer

Thank you, Eusebiu. This occurs in both virtual machines and on physical boxes using Windows 7 and Windows Vista. I will send in the AIP that's producing this behavior.

Edit: Much to my surprise, I have just observed this behavior with the full exe installer for the first time. Perhaps there is some sort of timing issue that the web installer exposes, but only infrequently occurs in the standard installer.

Thank you,
Josh
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Netfx 4.5 prerequisite installation for web installer

Hi Josh,

Sorry for the delayed reply.

I've tested your installation scenario and I replicated the behavior. Unfortunately, it seems that the ".Net Framework 4.5" prerequisite cannot be installed as a feature-based or post install prerequisite or by using an asynchronous custom action added at the end of main installation process.

I'm afraid the only way to install .Net Framework 4.5 setup is by adding it as a pre-install prerequisite, because it cannot run at the same time with Windows Installer (msiexec.exe process).

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

Return to “Building Installers”