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!

cloudsta
Posts: 4
Joined: Fri Aug 15, 2014 10:26 am

prerequisites Direct X and checkboxes install or not?

I have been trying to figure this out for a couple of days I have search the forums up and down just cant seem to get it, What I would like to do is have a check-box that will install direct x, unchecked not to install.
Using prerequisites url for the direct x. Came across this link, seems like what im trying to do but no luck.

Install prerequisite based on checkbox
http://www.advancedinstaller.com/forums ... =2&t=21634
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: prerequisites Direct X and checkboxes install or not?

Hello and welcome to Advanced Installer forums,

In order to achieve that you can add Direct x as a feature based prerequisite in the Prerequisites page. You can also take a look on the Add prerequisite article with related information for hints and guidance.

Once it has been added as a feature based prerequisite, a new feature has been created in the Organization page.
In order to condition the installation of the related feature, you can follow the steps from the How do I show a custom feature selection dialog? article.

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
cloudsta
Posts: 4
Joined: Fri Aug 15, 2014 10:26 am

Re: prerequisites Direct X and checkboxes install or not?

OK this is what I got think i'm messing up on the conditions i think dont know though, direct x always runs. Think i'm close to getting it but something is still a miss.
http://i.imgur.com/XctZ3c6.png
http://i.imgur.com/xBspPKg.png
http://i.imgur.com/MbvWfCE.png
http://i.imgur.com/2vVBcrt.png
cloudsta
Posts: 4
Joined: Fri Aug 15, 2014 10:26 am

Re: prerequisites Direct X and checkboxes install or not?

Ok Ive finally got a check-box working (so happy) but it is backwards unchecked installs and checked doesn't. I tried changing the values, but no luck how to switch it?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: prerequisites Direct X and checkboxes install or not?

Hello,

In order to implement your scenario, you should select the Not Installed option for the Installation Behavior option from the feature properties and add in the Installed if: field the CHECK1 statement.

This way, the Direct X prerequisite will only be installed if the related checkbox is selected.

If there is anything else I can help you with, please let me know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
cloudsta
Posts: 4
Joined: Fri Aug 15, 2014 10:26 am

Re: prerequisites Direct X and checkboxes install or not?

THANK YOU so much dan problem solved

Return to “Building Installers”