How to get 'total required space' for installation?

Got a problem you cannot solve? Try here.
Post Reply
jweksej
Posts: 93
Joined: Wed Sep 27, 2006 4:54 am

How to get 'total required space' for installation?

Post by jweksej »

Destination dialog component receives it. How to get it in script?
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

No built-in way, sorry.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
jweksej
Posts: 93
Joined: Wed Sep 27, 2006 4:54 am

Post 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?
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post 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.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
jweksej
Posts: 93
Joined: Wed Sep 27, 2006 4:54 am

Post by jweksej »

But when I set focus into Edit control and press Delete button the valye is copied to variable.....
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

Yes, because then you have interacted with the control as a user, like I just said.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Post Reply