asif0012
Posts: 44
Joined: Tue Nov 22, 2022 6:30 pm

Prerequisites detection with custom executables doesn't work

Hello,
I am using Advanced Installer Version 20.8 Enterprise Edition.

I tried to upgrade my version to 20.9.1 Version. I also tried using the 21.0.1 version. In both versions, I have found that the prerequisites detection doesn't work as expected using the "Search done by Custom Executable" option. I am using a C++ executable to detect the prerequisites. But even though the custom executable returns 0 (which is returned if a prerequisite is already available), the prerequisites still get installed.

The screenshot below shows the "PrerequisitesDlg" screen of the Surface Theme. Even though the status says skip, the checkbox is also checked which is contradicting. The installer also tries to install the prerequisites which are already available.
Faulty-prereq-dialog-01---Copy.png
Faulty-prereq-dialog-01---Copy.png (7.9 KiB) Viewed 392301 times
What is the reason behind this issue?

Best Regards,
Asif
Catalin
Posts: 6608
Joined: Wed Jun 13, 2018 7:49 am

Re: Prerequisites detection with custom executables doesn't work

Hello Asif,

I've tested this, but I'm afraid I wasn't able to reproduce the behavior.

If possible, could you please create a sample project (together with the prerequisite packages so I can build it on my end) that reproduces this and forward that to me by email at support at advancedinstaller dot com?

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: Prerequisites detection with custom executables doesn't work

Hello Asif,

As a followup, it looks like one of my colleagues managed to reproduce this behavior with the resources from another customer.

I will forward you a download link with the fix and the steps you should follow.

Please let me know if that helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
asif0012
Posts: 44
Joined: Tue Nov 22, 2022 6:30 pm

Re: Prerequisites detection with custom executables doesn't work

Hello Catalin,
Thank you for the response and for looking into the issue.

Regarding the fix, will it be provided through a new version, or is it possible to fix the issue with currently available versions?

Best Regards,
Asif
Catalin
Posts: 6608
Joined: Wed Jun 13, 2018 7:49 am

Re: Prerequisites detection with custom executables doesn't work

Hello Asif,

You're always welcome!

Please note I have already sent you the fix for this.

And yes, it will be available with a new version as well. For now, it's still under testing on our end.

Did you test it? If so, can you please confirm the fix?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
asif0012
Posts: 44
Joined: Tue Nov 22, 2022 6:30 pm

Re: Prerequisites detection with custom executables doesn't work

Hello Catalin,

Thank you for providing the fix. Unfortunately, when I attempted to access it, I found that the link had expired. I was unable to test the fix as a result. Would it be possible for you to resend the link? I'd appreciate it and will test the fix.

Best Regards,
Asif
Catalin
Posts: 6608
Joined: Wed Jun 13, 2018 7:49 am

Re: Prerequisites detection with custom executables doesn't work

Hello Asif,

You are always welcome!

Please note that I have resent the download link.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
asif0012
Posts: 44
Joined: Tue Nov 22, 2022 6:30 pm

Re: Prerequisites detection with custom executables doesn't work

Hello Catalin,
Sorry for the late reply. I have checked with the provided fix, it didn't resolve the issue. Also, I checked with the latest Advanced Installer version, 21.3.1. The issue also exists there. Still, in the prerequisites tab, it shows "Installed" but the checkbox is marked. And these not needed prerequisites also get installed even though the status is already installed.

Previously, I was using Advanced Installer Version 20.8. I tried to upgrade to the latest version but because of the issue I had to revert. Could you please look into the issue.

Best Regards,
Asif
asif0012
Posts: 44
Joined: Tue Nov 22, 2022 6:30 pm

Re: Prerequisites detection with custom executables doesn't work

Hello,
Currently, I am using the Advanced Installer 20.8. Now, I want to upgrade to the latest version because some issues I previously faced got fixed in the latest version. But I can't upgrade to the latest version due to this issue. This issue is breaking my installation process.

Need a fix for this issue as soon as possible. Is there any update on this issue?

Best Regards,
Asif
Liviu
Posts: 1048
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Prerequisites detection with custom executables doesn't work

Hello Asif,

To facilitate a more in-depth investigation of this issue, could you kindly email the following resources to support at advancedinstaller dot com:

1. the .AIP (setup project) file (saved with v20.8).
2. a download link for the setup package created with our latest version.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”