Problem in dealing with conditions to copy multiple folders - Advanced Installer Community

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!

raku1531
Posts: 2
Joined: Mon Oct 17, 2011 2:47 pm

Problem in dealing with conditions to copy multiple folders

Hi,

1. I want to install java only when if a checkbox is checked otherwise it will not. On checking "Yes" java folder(property based) must be copied on target machine. On checking on NO option next dialog must be skipped as well as don’t copy java folder on target machine.

2. Through jbosscheck dialog, if user select YES then I want to copy whole Jboss folder on target machine while if clicked on NO then :-
I want from user the path of existing JBOSS_HOME and to that path I just want to Copy my SERVER folder particularly.


Hope you understand
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Problem in dealing with conditions to copy multiple fold

Hi and welcome to Advanced Installer forums,
I want to install java only when if a checkbox is checked otherwise it will not. On checking "Yes" java folder(property based) must be copied on target machine. On checking on NO option next dialog must be skipped as well as don’t copy java folder on target machine.
Here's a similar thread that clarifies how to accomplish this. Please keep in mind property based folders must use public properties.
Through jbosscheck dialog, if user select YES then I want to copy whole Jboss folder on target machine while if clicked on NO then :-I want from user the path of existing JBOSS_HOME and to that path I just want to Copy my SERVER folder particularly.
You can use this article to have a similar property based folder pointing to existing folder location on the target machine. This path needs to be present in the MSI table before the dialogs are shown. You should place the desired content in each of the two property based folders( JBOSS and JBOSS_HOME ). Then simply condition their components depending on the UI user selection.

Perhaps user guide article will help you as well.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
raku1531
Posts: 2
Joined: Mon Oct 17, 2011 2:47 pm

Re: Problem in dealing with conditions to copy multiple fold

thanks mihai for the reply and also for the help.

Return to “Common Problems”