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!

ucr
Posts: 9
Joined: Mon Aug 12, 2013 11:28 am

Prerequisites

I have set some prerequisites programs that check for registry keys.

They work fine if they are put on the "Pre-Install" section. They are only displayed to install if they are not installed.

However when i move them to "Feature based" the rules set seem not to work. They are always installed or not according to the rule set on the Feature in Organization.

I wish to have them on "feature base" section of Prerequisites so the overall look of the installer keeps some integrity (because the pre-install is different from the setup), but would like the installer to check the rules set on each prerequisite and install them or not, according to the result of the rules.

Is this possible?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Prerequisites

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

In order to achieve that, when you add a prerequisite you can go in the Install Conditions tab of the prerequisite and enable the “Install prerequisite based on conditions” option. This section allows you to condition the prerequisite based on custom searches. You can create multiple searches for the same prerequisite. In order to test a condition you can use the [Test] button.

You can also take a look on the Add prerequisite article which may be useful.

If you need any help, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ucr
Posts: 9
Joined: Mon Aug 12, 2013 11:28 am

Re: Prerequisites

Thank you for the quick response.

I have done that. I´ve added those rules on the Install Conditions tab.
They work if the prerequisite programs are on the "pre-install" section.
But if i move them to the "Feature Based" section they do not work. It seems that the conditions are ignored and replaced by the "install as default" or "do not install as default" set on the Organization feature section.

Is this the normal behaviour?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Prerequisites

Hello,

Please be aware by the two options below the “Install Conditions” pane:

Install only if at least one condition is false - If this option is selected, at least one search must fail in order to install the prerequisite.
Install only if all conditions are false - If this option is selected, all searches must fail in order to install the prerequisite.
So, the prerequisite software will be installed according to the enabled option which refers to the install condition that you have defined before.

Also, it would be much easier for both of us if you would send us the .AIP (project file) to support at advancedinstaller dot com.

If you have any questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ucr
Posts: 9
Joined: Mon Aug 12, 2013 11:28 am

Re: Prerequisites

I know.

It works perfectly if i put the prerequisites on the "preinstall" section in Prerequisites
But if i moved then from the "preinstall" to the "feature based" section, those rules stop working.
It seems that the "installion behavior" is the only one that is taken into account. Even if the program is already installed, it will run always if it is defined as "Installed by default..."


The only thing i wanted to know is if this is the default behavior of the program, or am i missing something? I´m using 10.3
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Prerequisites

Hello,

Can you please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them?

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

Return to “Building Installers”