eddyevans
Posts: 1
Joined: Tue Aug 11, 2026 8:59 am
Contact: Website

Best way to handle a prerequisite that may already be installed?

Hi everyone,

I'm working on an installer where one of the prerequisites may already be installed on the target machine, but the version can vary between users.

What is the recommended way in Advanced Installer to detect the installed version and only install the prerequisite when the existing version is missing or too old? I’d also like to avoid unnecessary repairs or reinstallations on machines that already have a compatible version.

Would appreciate any advice or examples of how others handle this.
Catalin
Posts: 7794
Joined: Wed Jun 13, 2018 7:49 am

Re: Best way to handle a prerequisite that may already be installed?

Hello and welcome to our forums,

You can have the prerequisite detection criteria as something that involves a version.

For example, a registry search that looks for a version.

With such search, you can also set a minimum version.

An example of that would be the following search type:
Screenshot_174.png
Screenshot_174.png (22.81 KiB) Viewed 1093 times

Similarly, the "Registry value contains version" also has the minimum and maximum fields:
Screenshot_175.png
Screenshot_175.png (19.91 KiB) Viewed 1093 times

Hope this helps!

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

Return to “Common Problems”