Installer with prerequisite installers - Advanced Installer Community
aefimov
Posts: 1
Joined: Thu May 24, 2018 6:43 pm

Installer with prerequisite installers

During feature-based prerequisite installation it requires to exit the other setup process, which is the main app installation. There is no way to exit it.

Steps:
1. Create a project that requires .net prerequisite, in my case web-based .net 4.6.1 installer. Add it as feature-based prerequisite.
2. Build the project as MSI.
3. Run the MSI on Windows 7 or other OS without .net 4.6.1 support.
4. The .net web-based installer needs the other installer to finish the installation.
5. Click "Cancel" button on the AdvInst installer window to finish the installation.

Result:
The main installation process does not exit, nothing happens.

Expected:
Main installation terminates on "Cancel" click, so .net setup can continue.

Please let me know if you need MSI, logs or else, then I'll Email the data.
Thanks!
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Installer with prerequisite installers

Hi and welcome to Advanced Installer forums.

I apologize for the delayed reply. We were quite busy in the last days here.

Please keep in mind that this is the normal behavior. The main installer cannot be closed while one the prerequisites that it started still runs.

On the other hand, please note that because of some .NET Framework limitations, these prerequisites cannot be installed as "feature-based", they can only be installed as "pre-install" prerequisites.

Please read the "Why does .NET Framework fails as feature-based prerequisite" FAQ for more details.

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

Return to “Common Problems”