Reload dialog on changing the target folder

Got a problem you cannot solve? Try here.
Post Reply
HAHNmediaservice
Posts: 46
Joined: Sat Aug 28, 2010 9:41 am
Location: Germany
Contact:

Reload dialog on changing the target folder

Post by HAHNmediaservice »

We need to "reload" the complete dialog on changing the target folder. Example:

1. User is in the dialog "destination" to select a target folder for installation.
2. User clicks on "Change ..." and selects a new target folder from the select target folder dialog.
3. After selection and clicking the OK button the complete dialog "destination" should be "reloaded".

Whether "if Variable WIZARD Equals Browse" nor "if Variable WIZARD Equals FolderText" works.

How we can achive that? Please advise ...
HAHN mediaservice
Inh. Irena Hahn
Seif-Wald-Ring 26
54329 Konz-Roscheid
Tel: +49 6501 6 03 96 79
Fax: +49 6501 9 22 31 29
mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: Reload dialog on changing the target folder

Post by mills »

Unfortunately, InstallAware doesn't support Event-driven programming. The only way to "refresh" the dialog is to have the user click a button which would cause the refreshed dialog appear.

You need something like:

label: display
{set up display}
Display dialog.
If result is btnRefresh
GoTo label: display
end
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.
HAHNmediaservice
Posts: 46
Joined: Sat Aug 28, 2010 9:41 am
Location: Germany
Contact:

Re: Reload dialog on changing the target folder

Post by HAHNmediaservice »

What a pity! No, clicking a button to reload the dialog is out of the question.

We want to explain a little more our target on that issue:

The RequiredSpace and the RemainingSpace are always displayed different, depending on it's value in KB, MB or GB. This will be confusing for the user. In addition to that it's displayed with comma (,), we like to have it displayed with dot (.). Our approch was to recalculate/reformat the values given (which we did already in a script) and then to display them (initialy it works fine that way). BUT - on changeging the path using the browse button we are in need to recalculate/reformat again to display the new values because this doesn't work automatically. Since there is no custom action on the browse button we are stick here ...
HAHN mediaservice
Inh. Irena Hahn
Seif-Wald-Ring 26
54329 Konz-Roscheid
Tel: +49 6501 6 03 96 79
Fax: +49 6501 9 22 31 29
mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: Reload dialog on changing the target folder

Post by mills »

You're not the only one. For now, all I can do is note that another user desires this behavior.

http://www.installaware.com/forum/viewt ... f=2&t=5874
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