Custom launch condition per feature - Advanced Installer Community
hadas
Posts: 43
Joined: Mon Jan 06, 2014 10:53 am

Custom launch condition per feature

Hi,

How can I create custom launch condition per a specific feature?

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

Re: Custom launch condition per feature

Hi Hadas,

If you want to set a condition for a feature you can go in the Organization page, select that feature and use the "Add Install-time Conditions" blue link to add the condition you want for that feature.

If you also want to display a message when a feature is selected, you can create your own feature selection dialog and use the Display message box custom action.

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
hadas
Posts: 43
Joined: Mon Jan 06, 2014 10:53 am

Re: Custom launch condition per feature

Thanks for the quick replay.

I have a custom setup type dialog. The dialog contains 2 radio buttons.
If the user select one of the options, when he clicks the next button to pop up a message dialog saying "XXX is not installed, . Please install it first and try again." and cancel the installation.
If XX is installed the next will move to the next configuration dialog

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

Re: Custom launch condition per feature

Hi Hadas,

In order to achieve this you can create a search to see if that feature is already installed. Then create a Display error message custom action "without sequence" and add it as a published event on the [Next] button of your dialog. Also, use the search property as a condition for that published event, so that it will be executed only if the condition is false.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
hadas
Posts: 43
Joined: Mon Jan 06, 2014 10:53 am

Re: Custom launch condition per feature

Hi,

I manage using a Display error message.

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

Re: Custom launch condition per feature

You're welcome Hadas. Just let us know if you have any other question.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
hadas
Posts: 43
Joined: Mon Jan 06, 2014 10:53 am

Re: Custom launch condition per feature

Hi,

I do have another question, I've published the question on http://www.advancedinstaller.com/forums ... 940#p64057 post.
This is a major issue in the installer developing, I'll appreciate a quick response

Thanks,
Hadas

Return to “Common Problems”