rmugione7
Posts: 16
Joined: Wed Oct 16, 2019 5:38 pm

Installer hangs when feature-based pack fails

With Advanced Installer 16.8.
To replicate the issue use the attached AIP projects.

1) Build SecondPack.aip
2) Build MainPack.aip
3) Install the MainPack.exe
4) Edit MainPack.aip
5) Change product version to 1.1.0 (see Part1.png) confirm "Generate New"
6) Add Feature-Based SecondPack and uncheck "Continue with installation....." (see Part2.png)
7) Build MainPack.aip
8) Install MainPack.exe and error whil show see Part3.png
9) Cliking OK on the error message the Part4.png message show and the installer hangs.

Let me know if any doubt.
Thanks
Ricardo
Attachments
AiTest.zip
(147.22 KiB) Downloaded 208 times
Catalin
Posts: 6608
Joined: Wed Jun 13, 2018 7:49 am

Re: Installer hangs when feature-based pack fails

Hello Ricardo,

Thank you for the detailed explanation and for the provided resources.

I have tested this and I was able to reproduce the issue. I have forwarded this to our development team and hopefully this will be fixed in a future version of Advanced installer. Thank you for bringing this to our attention!

Not sure if this will help, but here is a little explanation of why this is happening: basically because your main package has the UILevel = Basic UI, the feature-based prerequisite is treated as a post-install prerequisite. Normally, feature-based prerequisite are installed right when you are pressing the Install button and since there is no UI, the feature-based prerequisites are treated like post-install.

The post install prerequisite is launched through one EXE of ours, called AI_PackageChainer. For some reason, it seems that the AI_PackageChainer fails to interpret the return code of the prerequisite in case the "Continue with main installation even if the prerequisite fails" option is unchecked, therefore hanging (even tho the main installer was already installed - you can check this either in the log file or in Control Panel).

A workaround for this would be to check the above option.

Hope this helps somehow.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
rmugione7
Posts: 16
Joined: Wed Oct 16, 2019 5:38 pm

Re: Installer hangs when feature-based pack fails

Thank you for the explanation.
Catalin
Posts: 6608
Joined: Wed Jun 13, 2018 7:49 am

Re: Installer hangs when feature-based pack fails

You are always welcome!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Catalin
Posts: 6608
Joined: Wed Jun 13, 2018 7:49 am

Re: Installer hangs when feature-based pack fails

Hello,

This has been fixed in version 16.9 of Advanced Installer, released on March 17th, 2020.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”