Page 1 of 1

Components tree

Posted: Wed Feb 08, 2017 2:00 am
by SITL
Dear Francisco,

Thanks for your support,
I have completed all the major features.
I used to Install all the features without customization because i wanted to complete other features first.
Now i'm working on components selection.

My requirement is -
Suppose i have 4 items in the tree.
On selection, appropriate description and memory required should be displayed on the right side.
I'm using the default dialog "componentstree", So we already have a control "Description".
When user selects an item in the tree, how to set the text of the control Description?
And also controls like TotalRequiredSpace and RemainingSpace ?

Appreciate your help
SITL

Re: Components tree

Posted: Wed Feb 08, 2017 3:39 am
by bokkie
SITL, let me see if I understand what you have in mind.

You display the dialog where you select/deselect your components. If you have components A, B, C and you deselect all components the total required space might be 0? If you select components B and C you might want to see something like 19488 displayed in the total required space? Something like that?

For the remaining space do you want that to be a constant value, such as 154Gb regardless of what components you want to install? Or do you want the remaining space to change dynamically depending on the components you selected?

Re: Components tree

Posted: Thu Feb 09, 2017 12:58 am
by SITL
Thanks Bokkie,

1. Your last line -
We want the remaining space to change dynamically depending on the components you selected?
2.Actually we have Six components (A,B,C,D,E,F), by default all are selected.
Then lets us say, user has deselected B,C& E.
Later user decides to go with the default selection. So need to have one "Reset" button.
user just clicks on reset button to get back to default selection.

Appreciate your help.
Regards
SITL

Re: Components tree

Posted: Wed Feb 15, 2017 4:35 am
by SITL
Hi Bokkie,

Thanks,
Can you help me how to do this ?
1.Suppose we have Six components (A,B,C,D,E,F), by default all are selected.
Then lets us say, user selects only A,D & F.
Later user decides to go with the default selection. So we need to have one "Reset" button.
user just clicks on reset button to get back to default selection ( all the components are selected).

Regards
SITL

Re: Components tree

Posted: Mon May 08, 2017 6:10 am
by SITL
Dear Francesco,

Please see whether you can help me how to do this ?
Suppose we have Six components (A,B,C,D,E,F), by default all are selected.
Then lets us say, user selects only A,D & F.
Later user decides to go with the default selection. So we have one "Reset" button,
when the user clicks on reset button, all the components will be selected.
Please guide me on this.
(our previous installer has this feature, so it's there in my list) :)

Regards
SITL

Re: Components tree

Posted: Tue May 09, 2017 9:59 am
by FrancescoT
Dear SITL,

it may be not necessary to have a button for resetting default features selection. The user could return back to the "setuptype" dialog to restore back their selection.

If you want to handle this behavior with a dialog button, you will the need to write some custom script code in order to set the state of each component ("Set Component State" command). At such purpose, I suggest you to have a look at the "Basic Dialog Action sample". This demonstrates how to execute script code conditionally as result of a dialog button selection.
http://www.installaware.com/forum/viewtopic.php?f=2&t=6772&start=0

Hope this helps you.

Regards