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!

briancorcoran
Posts: 19
Joined: Thu Mar 16, 2017 4:21 pm

Feature based prerequisites?

Hi,

It's unclear to me how a feature based prerequisite works. I don't see a way to associate a prerequisite with a feature. What I really want to do is not install a prerequisite if a certain property that indicates a feature is to be installed is NOT on. So, if the customer never checks a box, and some FEATURE_PROPERTY is never set, then I don't want the prerequisite to be installed.

I've not been able to get the setup and support files for the prerequisite to work properly with a custom action that starts an EXE. The prerequisite packaging did work, but I just don't always want that particular prerequisite to install.

Thanks for you help,

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

Re: Feature based prerequisites?

Hi Brian,

A feature-based prerequisite is installed only if its related feature from the "Organization" page is also selected for installation. So, in order to install a feature-based prerequisite based on a property, you can use that property as a condition in the "Installation Behavior" fields of the related feature in the "Organization" page.

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

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
briancorcoran
Posts: 19
Joined: Thu Mar 16, 2017 4:21 pm

Re: Feature based prerequisites?

This did help. I was able to get the prerequisite only installing based on my property.

Thank you,

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

Re: Feature based prerequisites?

You're welcome Brian. I'm glad you got this working.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”