andrii_tk
Posts: 9
Joined: Tue Mar 19, 2024 2:52 pm

Prerequisite detected as "Skip" in UI, but forces installation during execution

Hello,

I am facing a critical issue where the Bootstrapper UI and the internal MSI execution are completely out of sync regarding prerequisites.

The Issue: I have an installer with 4 prerequisites (.NET 4.8, ASP.NET Core 8, Erlang, RabbitMQ).
- UI Phase: The Bootstrapper correctly finds that 3 of them are already installed. The UI shows "Action: Skip" for them.
- Execution Phase: As soon as I click "Next", the installer ignores the "Skip" action and attempts to install ALL of them again.

Log Evidence: The logs show that AI_MISSING_PREREQS starts correctly (only containing the truly missing item), but then all items are forcibly added back to the property during AI_InstallPrePrerequisite.

Initial State (Correct): PROPERTY CHANGE: Adding AI_MISSING_PREREQS property. Its value is '.NET Framework 4.8'.

The Failure (Resetting to All): Action start ... AI_InstallPrePrerequisite. PROPERTY CHANGE: Modifying AI_MISSING_PREREQS property. ... Its new value: '.NET Framework 4.8|ASP.NET Core Hosting Bundle 8.0.15|Erlang OTP 25.0 x64|RabbitMQ 3.11'.

Happened twice only on one machine, cannot reproduce it again on others. But I want to ensure it never happens in future.

(Full installation log and AIP file was sent to support by email to support@advancedinstaller.com)

Thanks in advance!
Eusebiu
Posts: 4964
Joined: Wed Nov 14, 2012 2:04 pm

Re: Prerequisite detected as "Skip" in UI, but forces installation during execution

Hi,

I've tested the project that you sent to our support email address, but I couldn't reproduce the issue. Does the issue constantly happen on the one machine that you mentioned? If so, can you try to build the package using the latest version of Advanced Installer and see if that helps?

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

Return to “Common Problems”