We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

mgzonks
Posts: 1
Joined: Sun Dec 22, 2013 1:08 pm

running attached exe based on version

Hello everybody,

i am trying to make my installer search a registry key that contains a version number and if this version number is below 5 for example it must run an attached exe file.

i am new to advanced installer.

how can i do that please ?

thank you for help :-)
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: running attached exe based on version

Hello and welcome to Advanced Installer forums,

In order to achieve that you can can add the related .EXE as a prerequisite in the Prerequisites page using the New Package Prerequisite toolbar button. You will be prompted to pick the prerequisite setup files.
You can also take a look on the Add prerequisite article which may be useful to you.

In the Install Conditions tab of your prerequisite you can define a Registry value containing a version criteria as a Install Conditions for your prerequisite.
A version taken from a registry value is used to determine if the prerequisite is installed or not.

Please let us know if you have other questions.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”