Destination dialog - remaining space

Got a problem you cannot solve? Try here.
Post Reply
anumo
Posts: 12
Joined: Mon Jul 12, 2010 6:30 am

Destination dialog - remaining space

Post by anumo »

How can I disable Next in the Destination dialog if the remaining space is negative?

Also, I have static text on the form which should display if the remaining space is negative, how can this be done?

Also, I need to dislay all values (e.g. TotalRequiredSpace and RemainingSpace) in MegaByte, how can this be done?
Evaluating InstallAware ...
mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: Destination dialog - remaining space

Post by mills »

This should be possible. I'll research it and get back to you.
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
alibaba
Posts: 314
Joined: Fri Jun 26, 2009 8:46 am
Location: Thuringia, Germany

Re: Destination dialog - remaining space

Post by alibaba »

The last point is very interesting for me, too
mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: Destination dialog - remaining space

Post by mills »

I'm still researching something, but the basic idea I have to work around this is to create two separate dialogs, one with the button enabled, one with it disabled.

You should be able to perform the necessary calculations to determine what to display using Get Component Space and Mathematics commands. The Mathematics would allow you to recalculate the space into Megabytes as well.
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
Post Reply