Don't install Feature Prerequisites if a parent feature... - Advanced Installer Community
JeremiahFeatureKing
Posts: 3
Joined: Tue May 21, 2013 9:16 pm

Don't install Feature Prerequisites if a parent feature...

Hey there,

I have Advanced Installer Enterprise and I have an installer that needs to install Feature-based Prerequisites ONLY if the parent's feature has been specified as "install locally" or "install from source". By default the parent feature and child features (which are Feature-based Prerequisites) are installed by default but if the user doesn't want to install the parent feature then I need to keep the installer from downloading and executing the prerequisite MSIs. The problem now is that the prerequisites are still downloading and installing even though the parent feature and all of it's child feature-based prerequisites have marked as "do not install".

I have tried setting conditional install settings on the child features as well as the "RequiredApplication_XX" components under each child feature using something like ( !PARENTFEATURE = 3 ) OR ( !PARENTFEATURE = 4).

How can I keep the feature-based prerequisites from executing if the parent feature has been marked as "Do not install" in the custom installation dialog?

Best Regards,

Jeremiah
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Don't install Feature Prerequisites if a parent feature.

Hi Jeremiah and welcome to Advanced Installer forums.

In order to achieve what you want, you can go in the Organization page, select the feature related to your prerequisite and in the "Installation Settings" section from the right pane check the "Use parent feature installation settings" option.

Let us know if this helped, otherwise give us more details about your scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
JeremiahFeatureKing
Posts: 3
Joined: Tue May 21, 2013 9:16 pm

Re: Don't install Feature Prerequisites if a parent feature.

Hey there, I do have that option set on each of the child feature-based prerequisite features but the prerequisites still download and execute even though the parent feature has ben set to "Entire feature will be unavailable" in the custom installation dialog. Do you have any other recommendations?

Best Regards,

Jeremiah
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Don't install Feature Prerequisites if a parent feature.

Hi Jeremiah,

I'm not sure why you encounter this behavior. Can you please send us the .AIP (project file) and a verbose log of the installation so we can investigate them? Also, can you please tell us the version of Advanced Installer and the Operating System you have on your machine?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
JeremiahFeatureKing
Posts: 3
Joined: Tue May 21, 2013 9:16 pm

Re: Don't install Feature Prerequisites if a parent feature.

Eusebiu,

I have upgraded to Advanced Installer 10.2, manually removed the feature-based prerequisites and re-added them back. I am still experiencing the same behavior. I have just sent an email to your support address and included a ZIP file of the items you requested and a link to download and execute my installer. Please let me know if you have any questions and if your team or I find a solution I will post it here.

Best Regards,

Jeremiah

Return to “Common Problems”