Page 1 of 1
How to get 'total required space' for installation?
Posted: Tue Nov 14, 2006 10:04 am
by jweksej
Destination dialog component receives it. How to get it in script?
Posted: Tue Nov 14, 2006 11:25 am
by MichaelNesmith
No built-in way, sorry.
Posted: Sun Dec 03, 2006 11:36 am
by jweksej
I tried to found simple out workaround. I've copied TotalRequredSpace control from Destination to Welcome dialog, added new Edit control to Welcome dialog. Then I've defined ObjectRule which copies TotalRequiredSpace.Caption to Edit.Text, and object behavior for Edit to copy value to script variable.
During execution, Edit displays requested value, but it is not copied to script variable. Why?
Posted: Sun Dec 03, 2006 11:39 am
by MichaelNesmith
This is probably because the entry is not made by a user, thus the rule is not enforced (to prevent infinite rule enforcement loops that might occur).
I have already added your request as a feature enhancement to the database - should be coming soon.
Posted: Sun Dec 03, 2006 11:45 am
by jweksej
But when I set focus into Edit control and press Delete button the valye is copied to variable.....
Posted: Sun Dec 03, 2006 11:51 am
by MichaelNesmith
Yes, because then you have interacted with the control as a user, like I just said.