Vedanta
Posts: 15
Joined: Tue Oct 29, 2013 9:16 pm

Push Button to Skip Prerequisite

Hello, First off I am completely new to this software.

Here is what I am trying to do.
I have 3 prerequisites that I set as feature based. Instead of the default Prerequisite Dialog I created a an individual dialog for each of my features giving more information about each feature.
On each of the dialogs I would like to give the user the option to skip the feature install. How can I do this with a push button? I have read that I need to add an UpdateFeatureInstallState action which I have done but I don't really know where to go from there.

Thanks!
Vedanta
Posts: 15
Joined: Tue Oct 29, 2013 9:16 pm

Re: Push Button to Skip Prerequisite

After much trial and error I think I found my solutions.

On My Button I created an "Set installer property value" event with and argument of 0. After that I added a custom action event UpdateFeatureInstallState.

Then under organization and my prerequisite I checked Install based on Condition and set my Property Value equal to 1

And that's it. Seems to be working. If this is not the proper way or there is a better way please let me know. Thanks.
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Push Button to Skip Prerequisite

Hi and welcome to Advanced Installer forums.

Thank you for your interest in Advanced Installer.

Indeed, the solution you used is correct. However, you can use the "Install one or more features locally" and "Uninstall one or more features" control events which are recommended in your scenario.

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

Return to “Building Installers”